Class AnnotationTripleRef
java.lang.Object
org.eclipse.rdf4j.query.algebra.AbstractQueryModelNode
org.eclipse.rdf4j.query.algebra.TripleRef
org.eclipse.rdf4j.query.algebra.ReifiedTripleRef
org.eclipse.rdf4j.query.algebra.AnnotationTripleRef
- All Implemented Interfaces:
Serializable, Cloneable, QueryModelNode, TupleExpr, VariableScopeChange
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a (deep) clone of this query model node.booleanReturns true if this query model node and its children are recursively equal to o and its children.<X extends Exception>
voidvisit(QueryModelVisitor<X> visitor) Visits this node.Methods inherited from class ReifiedTripleRef
getAssuredBindingNames, getReifVar, getSignature, getVars, hashCode, replaceChildNode, setReifVar, visitChildrenModifier and TypeMethodDescriptionGets the names of the bindings that are guaranteed to be present in the results produced by this tuple expression.Default implementation ofQueryModelNode.getSignature()that prints the name of the node's class.<L extends Collection<Var>>
LgetVars(L varCollection) Adds the variables of this statement pattern to the supplied collection.inthashCode()voidreplaceChildNode(QueryModelNode current, QueryModelNode replacement) Replaces one of the child nodes with a new node.voidsetReifVar(Var reifVar) <X extends Exception>
voidvisitChildren(QueryModelVisitor<X> visitor) Visits the children of this node.Methods inherited from class TripleRef
getBindingNames, getExprVar, getObjectVar, getOrder, getPredicateVar, getSubjectVar, getSupportedOrders, getVarList, setExprVar, setObjectVar, setOrder, setPredicateVar, setSubjectVar, shouldCacheCardinalityModifier and TypeMethodDescriptionGets the names of the bindings that are, or can be, returned by this tuple expression when it is evaluated.Returns the context variable, if available.getOrder()getSupportedOrders(AvailableStatementOrder tripleSource) voidsetExprVar(Var context) voidsetObjectVar(Var object) voidvoidsetPredicateVar(Var predicate) voidsetSubjectVar(Var subject) protected booleanMethods 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, 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, toStringModifier and TypeMethodDescriptionvoidClears all transient optimizer metadata attached to this query model node.doubledoubledoublegetDoubleMetricActual(String metricName) doublegetDoubleMetricPlanned(String metricName) longlonglonglonglonglonglonggetLongMetricActual(String metricName) longgetLongMetricPlanned(String metricName) longlongGets the node's parent.Returns transient optimizer metadata attached to this query model node for the supplied key.longdoubleReturns the number of tuples that this QueryNode predicts will be outputted.longlonglonggetStringMetricActual(String metricName) getStringMetricPlanned(String metricName) longbooleanbooleanbooleanindicates if the node represents a variable scope change.protected booleannullEquals(Object o1, Object o2) Removes transient optimizer metadata from this query model node.protected <T extends QueryModelNode>
booleanreplaceNodeInList(List<T> list, QueryModelNode current, QueryModelNode replacement) voidreplaceWith(QueryModelNode replacement) Default implementation ofQueryModelNode.replaceWith(QueryModelNode)that throws anIllegalArgumentExceptionindicating that current is not a child node of this node.voidvoidsetCardinality(double cardinality) voidsetCostEstimate(double costEstimate) voidsetDoubleMetricActual(String metricName, double metricValue) voidsetDoubleMetricPlanned(String metricName, double metricValue) voidsetHasNextCallCountActual(long hasNextCallCountActual) voidsetHasNextTimeNanosActual(long hasNextTimeNanosActual) voidsetHasNextTrueCountActual(long hasNextTrueCountActual) voidsetJoinLeftBindingsConsumedActual(long joinLeftBindingsConsumedActual) voidsetJoinRightBindingsConsumedActual(long joinRightBindingsConsumedActual) voidsetJoinRightIteratorsCreatedActual(long joinRightIteratorsCreatedActual) voidsetLongMetricActual(String metricName, long metricValue) voidsetLongMetricPlanned(String metricName, long metricValue) voidsetNextCallCountActual(long nextCallCountActual) voidsetNextTimeNanosActual(long nextTimeNanosActual) voidsetParentNode(QueryModelNode parent) Sets the node's parent.voidsetQueryModelMetadata(Object key, Object value) Attaches transient optimizer metadata to this query model node.voidsetResultSizeActual(long resultSizeActual) voidsetResultSizeEstimate(double resultSizeEstimate) voidsetRuntimeTelemetryEnabled(boolean runtimeTelemetryEnabled) voidsetSourceRowsFilteredActual(long sourceRowsFilteredActual) voidsetSourceRowsMatchedActual(long sourceRowsMatchedActual) voidsetSourceRowsScannedActual(long sourceRowsScannedActual) voidsetStringMetricActual(String metricName, String metricValue) voidsetStringMetricPlanned(String metricName, String metricValue) voidsetTotalTimeNanosActual(long totalTimeNanosActual) voidsetVariableScopeChange(boolean isVariableScopeChange) Set the value ofVariableScopeChange.isVariableScopeChange()to true or false.toString()Returns an indented print of the node tree, starting from this node.
-
Constructor Details
-
AnnotationTripleRef
public AnnotationTripleRef() -
AnnotationTripleRef
-
-
Method Details
-
visit
Description copied from interface:QueryModelNodeVisits this node. The node reports itself to the visitor with the proper runtime type.- Specified by:
visitin interfaceQueryModelNode- Overrides:
visitin classReifiedTripleRef- Throws:
X
-
equals
Description copied from interface:QueryModelNodeReturns true if this query model node and its children are recursively equal to o and its children.- Specified by:
equalsin interfaceQueryModelNode- Overrides:
equalsin classReifiedTripleRef
-
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 classReifiedTripleRef- Returns:
- A deep clone of this query model node.
-