public class SPOPredicate extends Predicate<ISPO>
triple(s,p,o).| Modifier and Type | Class and Description |
|---|---|
static interface |
SPOPredicate.Annotations |
DEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
SPOPredicate(BOp[] values,
Map<String,Object> annotations)
Required shallow copy constructor.
|
SPOPredicate(BOp[] values,
NV... annotations)
Variable argument version of the shallow copy constructor.
|
SPOPredicate(SPOPredicate op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode). |
SPOPredicate(String[] relationName,
IVariableOrConstant<IV> s,
IVariableOrConstant<IV> p,
IVariableOrConstant<IV> o)
Partly specified ctor.
|
SPOPredicate(String relationName,
IVariableOrConstant<IV> s,
IVariableOrConstant<IV> p,
IVariableOrConstant<IV> o)
Partly specified ctor.
|
SPOPredicate(String relationName,
IVariableOrConstant<IV> s,
IVariableOrConstant<IV> p,
IVariableOrConstant<IV> o,
boolean optional)
Partly specified ctor.
|
SPOPredicate(String relationName,
IVariableOrConstant<IV> s,
IVariableOrConstant<IV> p,
IVariableOrConstant<IV> o,
boolean optional,
IAccessPathExpander<ISPO> expander)
Partly specified ctor.
|
SPOPredicate(String relationName,
IVariableOrConstant<IV> s,
IVariableOrConstant<IV> p,
IVariableOrConstant<IV> o,
IAccessPathExpander<ISPO> expander)
Partly specified ctor.
|
SPOPredicate(String relationName,
IVariableOrConstant<IV> s,
IVariableOrConstant<IV> p,
IVariableOrConstant<IV> o,
IVariableOrConstant<IV> c)
Partly specified ctor.
|
| Modifier and Type | Method and Description |
|---|---|
SPOPredicate |
asBound(IBindingSet bindingSet)
Strengthened return type.
|
IVariableOrConstant<IV> |
c()
The variable or constant for the context position (required iff in quads
mode).
|
SPOPredicate |
clone()
Overridden to provide a fast path clone().
|
boolean |
includeHistory()
If true, do not filter out
StatementEnum.History SPOs. |
IVariableOrConstant<IV> |
o()
The variable or constant for the object position (required).
|
IVariableOrConstant<IV> |
p()
The variable or constant for the predicate position (required).
|
IVariableOrConstant<IV> |
s()
The variable or constant for the subject position (required).
|
IVariable<IV> |
sid()
The variable for the statement identifier (optional).
|
_asBound, addAccessPathFilter, addIndexLocalFilter, asBound, asBound, checkArgs, clearAnnotations, get, get, getAccessPathExpander, getAccessPathFilter, getIndexLocalFilter, getKeyOrder, getOnlyRelationName, getPartitionId, getRelationCount, getRelationName, getTimestamp, getVariableCount, getVariableCount, isFullyBound, isOptional, isRemoteAccessPath, range, setArg, setBOpId, setPartitionId, setRelationName, setTimestamp, toString, toString__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearProperty, deepCopy, deepCopy, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toStringfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, hashCodeannotations, argIterator, args, arity, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toStringgetPropertypublic SPOPredicate(BOp[] values, NV... annotations)
public SPOPredicate(BOp[] values, Map<String,Object> annotations)
public SPOPredicate(SPOPredicate op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode).public SPOPredicate(String relationName, IVariableOrConstant<IV> s, IVariableOrConstant<IV> p, IVariableOrConstant<IV> o)
null. The
predicate is NOT optional. No constraint is specified. No expander is
specified.relationName - s - p - o - public SPOPredicate(String relationName, IVariableOrConstant<IV> s, IVariableOrConstant<IV> p, IVariableOrConstant<IV> o, IVariableOrConstant<IV> c)
relationName - s - p - o - c - public SPOPredicate(String[] relationName, IVariableOrConstant<IV> s, IVariableOrConstant<IV> p, IVariableOrConstant<IV> o)
null. The
predicate is NOT optional. No constraint is specified. No expander is
specified.relationName - s - p - o - public SPOPredicate(String relationName, IVariableOrConstant<IV> s, IVariableOrConstant<IV> p, IVariableOrConstant<IV> o, boolean optional)
null. No
constraint is specified. No expander is specified.relationName - s - p - o - optional - public SPOPredicate(String relationName, IVariableOrConstant<IV> s, IVariableOrConstant<IV> p, IVariableOrConstant<IV> o, IAccessPathExpander<ISPO> expander)
null. No
constraint is specified. No expander is specified.relationName - s - p - o - expander - MAY be null.public SPOPredicate(String relationName, IVariableOrConstant<IV> s, IVariableOrConstant<IV> p, IVariableOrConstant<IV> o, boolean optional, IAccessPathExpander<ISPO> expander)
null. No
constraint is specified.relationName - s - p - o - optional - expander - MAY be null.public SPOPredicate clone()
PredicatePredicate
instance. However, subclasses MUST override this method. This change was
introduced on 11/17/2011 when a profiler showed a 13% of all time related
to a join intensive process in CoreBaseBOp.clone() using
reflection to make a copy of an Predicate.asBound(IBindingSet) predicate.public final IVariableOrConstant<IV> s()
public final IVariableOrConstant<IV> p()
public final IVariableOrConstant<IV> o()
public final IVariableOrConstant<IV> c()
public final IVariable<IV> sid()
SidIV for matched statements.SPOPredicate.Annotations.SIDpublic final boolean includeHistory()
StatementEnum.History SPOs.public SPOPredicate asBound(IBindingSet bindingSet)
Fast path for as-bound.
This reuses the annotations map since we know that the annotations will
not be changed by Predicate.asBound(IBindingSet). That provides a
significant reduction in heap churn.
asBound in interface IPredicate<ISPO>asBound in class Predicate<ISPO>bindingSet - The binding set.IPredicate -or- null if the
IPredicate can not be unified with the
IBindingSet.(RDR query does too much work)Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.