Class TripleRefJoinGroup
java.lang.Object
org.eclipse.rdf4j.query.algebra.AbstractQueryModelNode
org.eclipse.rdf4j.federated.algebra.TripleRefJoinGroup
- All Implemented Interfaces:
Serializable, Cloneable, FedXTupleExpr, QueryRef, VariableExpr, QueryModelNode, TupleExpr, VariableScopeChange
A join group around a
TripleRefStatementPattern: besides the TripleRefStatementPattern it contains
the list of StatementPattern sharing the same subject (typically a blank node).
TripleRefJoinGroup can be associated to multiple StatementSources, where on each it gets executed in
a single expression.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTripleRefJoinGroup(TripleRefStatementPattern tripleRef, List<StatementPattern> stmts, List<StatementSource> statementSources, QueryInfo queryInfo) -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a (deep) clone of this query model node.Gets the names of the bindings that are guaranteed to be present in the results produced by this tuple expression.Gets the names of the bindings that are, or can be, returned by this tuple expression when it is evaluated.Retrieve the attached query information of the tuple expressionvoidreplaceChildNode(QueryModelNode current, QueryModelNode replacement) Replaces one of the child nodes with a new node.<X extends Exception>
voidvisit(QueryModelVisitor<X> visitor) Visits this node.<X extends Exception>
voidvisitChildren(QueryModelVisitor<X> visitor) Visits the children of this node.Methods inherited from class AbstractQueryModelNode
clearQueryModelMetadata, getCardinality, getCostEstimate, getDoubleMetricActual, getDoubleMetricPlanned, getDoubleMetricsActual, getDoubleMetricsPlanned, getHasNextCallCountActual, getHasNextTimeNanosActual, getHasNextTrueCountActual, getJoinLeftBindingsConsumedActual, getJoinRightBindingsConsumedActual, getJoinRightIteratorsCreatedActual, getLongMetricActual, getLongMetricPlanned, getLongMetricsActual, getLongMetricsPlanned, getNextCallCountActual, getNextTimeNanosActual, getParentNode, getQueryModelMetadata, getResultSizeActual, getResultSizeEstimate, getSignature, getSourceRowsFilteredActual, getSourceRowsMatchedActual, getSourceRowsScannedActual, getStringMetricActual, getStringMetricPlanned, getStringMetricsActual, getStringMetricsPlanned, getTotalTimeNanosActual, isCardinalitySet, isRuntimeTelemetryEnabled, isVariableScopeChange, nullEquals, removeQueryModelMetadata, replaceNodeInList, replaceWith, resetCardinality, setCardinality, setCostEstimate, setDoubleMetricActual, setDoubleMetricPlanned, setHasNextCallCountActual, setHasNextTimeNanosActual, setHasNextTrueCountActual, setJoinLeftBindingsConsumedActual, setJoinRightBindingsConsumedActual, setJoinRightIteratorsCreatedActual, setLongMetricActual, setLongMetricPlanned, setNextCallCountActual, setNextTimeNanosActual, setParentNode, setQueryModelMetadata, setResultSizeActual, setResultSizeEstimate, setRuntimeTelemetryEnabled, setSourceRowsFilteredActual, setSourceRowsMatchedActual, setSourceRowsScannedActual, setStringMetricActual, setStringMetricPlanned, setTotalTimeNanosActual, setVariableScopeChange, shouldCacheCardinality, toStringMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FedXTupleExpr
getFreeVarCountMethods inherited from interface QueryModelNode
clearQueryModelMetadata, equals, getCostEstimate, getDoubleMetricActual, getDoubleMetricPlanned, getDoubleMetricsActual, getDoubleMetricsPlanned, getHasNextCallCountActual, getHasNextTimeNanosActual, getHasNextTrueCountActual, getJoinLeftBindingsConsumedActual, getJoinRightBindingsConsumedActual, getJoinRightIteratorsCreatedActual, getLongMetricActual, getLongMetricPlanned, getLongMetricsActual, getLongMetricsPlanned, getNextCallCountActual, getNextTimeNanosActual, getParentNode, getQueryModelMetadata, getResultSizeActual, getResultSizeEstimate, getSignature, getSourceRowsFilteredActual, getSourceRowsMatchedActual, getSourceRowsScannedActual, getStringMetricActual, getStringMetricPlanned, getStringMetricsActual, getStringMetricsPlanned, getTotalTimeNanosActual, isRuntimeTelemetryEnabled, removeQueryModelMetadata, replaceWith, setCostEstimate, setDoubleMetricActual, setDoubleMetricPlanned, setHasNextCallCountActual, setHasNextTimeNanosActual, setHasNextTrueCountActual, setJoinLeftBindingsConsumedActual, setJoinRightBindingsConsumedActual, setJoinRightIteratorsCreatedActual, setLongMetricActual, setLongMetricPlanned, setNextCallCountActual, setNextTimeNanosActual, setParentNode, setQueryModelMetadata, setResultSizeActual, setResultSizeEstimate, setRuntimeTelemetryEnabled, setSourceRowsFilteredActual, setSourceRowsMatchedActual, setSourceRowsScannedActual, setStringMetricActual, setStringMetricPlanned, setTotalTimeNanosActual, toStringMethods inherited from interface TupleExpr
getOrder, getSupportedOrders, setOrder
-
Constructor Details
-
TripleRefJoinGroup
public TripleRefJoinGroup(TripleRefStatementPattern tripleRef, List<StatementPattern> stmts, List<StatementSource> statementSources, QueryInfo queryInfo)
-
-
Method Details
-
getBindingNames
Description copied from interface:TupleExprGets the names of the bindings that are, or can be, returned by this tuple expression when it is evaluated.- Specified by:
getBindingNamesin interfaceTupleExpr- Returns:
- A set of binding names.
-
getAssuredBindingNames
Description copied from interface:TupleExprGets the names of the bindings that are guaranteed to be present in the results produced by this tuple expression.- Specified by:
getAssuredBindingNamesin interfaceTupleExpr- Returns:
- A set of binding names.
-
getStatementSources
-
getTripleRefStatementPattern
-
getStatementPatterns
-
visit
Description copied from interface:QueryModelNodeVisits this node. The node reports itself to the visitor with the proper runtime type.- Specified by:
visitin interfaceQueryModelNode- Throws:
X
-
visitChildren
Description copied from interface:QueryModelNodeVisits the children of this node. The node callsQueryModelNode.visit(QueryModelVisitor)on all of its child nodes.- Specified by:
visitChildrenin interfaceQueryModelNode- Throws:
X
-
replaceChildNode
Description copied from interface:QueryModelNodeReplaces one of the child nodes with a new node.- Specified by:
replaceChildNodein interfaceQueryModelNode- Parameters:
current- The current child node.replacement- The new child node.
-
getFreeVars
- Specified by:
getFreeVarsin interfaceVariableExpr- Returns:
- a list of free (i.e. unbound) variables in this expression
-
getQueryInfo
Description copied from interface:QueryRefRetrieve the attached query information of the tuple expression- Specified by:
getQueryInfoin interfaceQueryRef- Returns:
- the
QueryInfo
-
clone
Description copied from interface:QueryModelNodeReturns a (deep) clone of this query model node. This method recursively clones the entire node tree, starting from this nodes.- Specified by:
clonein interfaceQueryModelNode- Specified by:
clonein interfaceTupleExpr- Overrides:
clonein classAbstractQueryModelNode- Returns:
- A deep clone of this query model node.
-