Class ProjectionElemList
java.lang.Object
org.eclipse.rdf4j.query.algebra.AbstractQueryModelNode
org.eclipse.rdf4j.query.algebra.ProjectionElemList
- All Implemented Interfaces:
Serializable, Cloneable, GraphPatternGroupable, QueryModelNode, VariableScopeChange
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ProjectionElem[]private List<ProjectionElem> private static final long -
Constructor Summary
ConstructorsConstructorDescriptionProjectionElemList(Iterable<ProjectionElem> elements) ProjectionElemList(ProjectionElem... elements) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddElements(Iterable<ProjectionElem> elements) voidaddElements(List<ProjectionElem> elements) voidaddElements(ProjectionElem... elements) clone()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.getProjectedNamesFor(Collection<String> sourceNames) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1.getTargetNamesFor(Collection<String> sourceNames) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1.inthashCode()voidreplaceChildNode(QueryModelNode current, QueryModelNode replacement) Default implementation ofQueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)that throws anIllegalArgumentExceptionindicating that current is not a child node of this node.voidsetElements(List<ProjectionElem> elements) <X extends Exception>
voidvisit(QueryModelVisitor<X> visitor) Visits this node.<X extends Exception>
voidvisitChildren(QueryModelVisitor<X> visitor) Dummy implementation ofQueryModelNode.visitChildren(QueryModelVisitor)that does nothing.Methods inherited from class AbstractQueryModelNode
getCardinality, getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getSignature, getTotalTimeNanosActual, isCardinalitySet, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, resetCardinality, setCardinality, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, shouldCacheCardinality, toHumanReadbleNumber, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
elements
-
elementsList
-
-
Constructor Details
-
ProjectionElemList
public ProjectionElemList() -
ProjectionElemList
-
ProjectionElemList
-
-
Method Details
-
getElements
-
setElements
-
addElements
-
addElements
-
addElements
-
addElement
-
getTargetNames
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1. UsegetProjectedNames()instead. -
getProjectedNames
-
getTargetNamesFor
@Deprecated(since="4.1.1", forRemoval=true) public Set<String> getTargetNamesFor(Collection<String> sourceNames) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1. UsegetProjectedNamesFor(Collection)instead. -
getProjectedNamesFor
-
visit
Description copied from interface:QueryModelNodeVisits this node. The node reports itself to the visitor with the proper runtime type.- Throws:
X
-
visitChildren
Description copied from class:AbstractQueryModelNodeDummy implementation ofQueryModelNode.visitChildren(QueryModelVisitor)that does nothing. Subclasses should override this method when they have child nodes.- Specified by:
visitChildrenin interfaceQueryModelNode- Overrides:
visitChildrenin classAbstractQueryModelNode- Throws:
X
-
replaceChildNode
Description copied from class:AbstractQueryModelNodeDefault implementation ofQueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)that throws anIllegalArgumentExceptionindicating that current is not a child node of this node.- Specified by:
replaceChildNodein interfaceQueryModelNode- Overrides:
replaceChildNodein classAbstractQueryModelNode- Parameters:
current- The current child node.replacement- The new child node.
-
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 classObject
-
hashCode
-
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- Overrides:
clonein classAbstractQueryModelNode- Returns:
- A deep clone of this query model node.
-