public class SPOStarJoin extends SPOPredicate implements IStarJoin<ISPO>, Serializable
IStarJoin
.Modifier and Type | Class and Description |
---|---|
static interface |
SPOStarJoin.Annotations |
static class |
SPOStarJoin.SPOStarConstraint
Implementation of a star constraint for SPOs.
|
IStarJoin.IStarConstraint<E>
DEFAULT_INITIAL_CAPACITY
Constructor and Description |
---|
SPOStarJoin(BOp[] values,
Map<String,Object> annotations)
Required shallow copy constructor.
|
SPOStarJoin(SPOPredicate pred)
Construct an SPO star join from a normal SPO predicate.
|
SPOStarJoin(SPOStarJoin op)
Constructor required for
com.bigdata.bop.BOpUtility#deepCopy(FilterNode) . |
Modifier and Type | Method and Description |
---|---|
void |
addStarConstraint(IStarJoin.IStarConstraint<ISPO> constraint)
Add an SPO star constraint to this star join.
|
SPOPredicate |
asBound(IBindingSet bindingSet)
Return an as-bound version of this star join and its star contraints
using the supplied binding set.
|
Iterator<IVariable> |
getConstraintVariables()
Return an iterator over the constraint variables for this star join.
|
int |
getNumStarConstraints()
Return the number of star constraints for this star join.
|
Iterator<IStarJoin.IStarConstraint<ISPO>> |
getStarConstraints()
Return an iterator over the SPO star constraints for this star join.
|
String |
toString(IBindingSet bindingSet)
Representation of the predicate with variable bindings.
|
c, clone, includeHistory, o, p, s, sid
_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
__replaceArg, _clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearProperty, deepCopy, deepCopy, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArray
annotationsEqual, annotationsToString, annotationsToString, annotationValueToString, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortString, toString
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
asBound, asBound, equals, get, get, getAccessPathExpander, getAccessPathFilter, getIndexLocalFilter, getKeyOrder, getOnlyRelationName, getPartitionId, getRelationCount, getRelationName, getTimestamp, getVariableCount, getVariableCount, hashCode, isFullyBound, isOptional, isRemoteAccessPath, setArg, setBOpId, setPartitionId, setRelationName, toString
annotations, argIterator, args, arity, clone, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortString, toString
getProperty
public SPOStarJoin(BOp[] values, Map<String,Object> annotations)
public SPOStarJoin(SPOStarJoin op)
com.bigdata.bop.BOpUtility#deepCopy(FilterNode)
.public SPOStarJoin(SPOPredicate pred)
pred
- the normal SPO predicate from which to pull the Spublic void addStarConstraint(IStarJoin.IStarConstraint<ISPO> constraint)
addStarConstraint
in interface IStarJoin<ISPO>
constraint
- the star constraintpublic Iterator<IStarJoin.IStarConstraint<ISPO>> getStarConstraints()
getStarConstraints
in interface IStarJoin<ISPO>
public int getNumStarConstraints()
getNumStarConstraints
in interface IStarJoin<ISPO>
public Iterator<IVariable> getConstraintVariables()
getConstraintVariables
in interface IStarJoin<ISPO>
public SPOPredicate asBound(IBindingSet bindingSet)
asBound
in interface IPredicate<ISPO>
asBound
in class SPOPredicate
bindingSet
- The binding set.IPredicate
-or- null
if the
IPredicate
can not be unified with the
IBindingSet
.(RDR query does too much work)
public String toString(IBindingSet bindingSet)
IPredicate
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.