public class Slice extends UnaryTupleOperator
arg
Constructor and Description |
---|
Slice() |
Slice(TupleExpr arg) |
Slice(TupleExpr arg,
long offset2,
long limit2) |
Modifier and Type | Method and Description |
---|---|
Slice |
clone()
Returns a (deep) clone of this query model node.
|
boolean |
equals(Object other)
Returns true if this query model node and its children are recursively equal to o and its
children.
|
long |
getLimit() |
long |
getOffset() |
String |
getSignature()
Default implementation of
QueryModelNode.getSignature() that prints the name of the node's class. |
int |
hashCode() |
boolean |
hasLimit()
Checks whether the row selection has a (valid) limit.
|
boolean |
hasOffset()
Checks whether the row selection has a (valid) offset.
|
void |
setLimit(long limit) |
void |
setOffset(long offset) |
<X extends Exception> |
visit(QueryModelVisitor<X> visitor)
Visits this node.
|
getArg, getAssuredBindingNames, getBindingNames, replaceChildNode, setArg, visitChildren
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, isGraphPatternGroup, isVariableScopeChange, nullEquals, replaceNodeInList, replaceWith, setCostEstimate, setGraphPatternGroup, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, setVariableScopeChange, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getCostEstimate, getParentNode, getResultSizeActual, getResultSizeEstimate, getTotalTimeNanosActual, replaceWith, setCostEstimate, setParentNode, setResultSizeActual, setResultSizeEstimate, setTotalTimeNanosActual, toString
isGraphPatternGroup, setGraphPatternGroup
public Slice()
public Slice(TupleExpr arg)
public Slice(TupleExpr arg, long offset2, long limit2)
public long getOffset()
public void setOffset(long offset)
public boolean hasOffset()
public long getLimit()
public void setLimit(long limit)
public boolean hasLimit()
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNode
X extends Exception
public String getSignature()
AbstractQueryModelNode
QueryModelNode.getSignature()
that prints the name of the node's class.getSignature
in interface QueryModelNode
getSignature
in class AbstractQueryModelNode
public boolean equals(Object other)
QueryModelNode
equals
in interface QueryModelNode
equals
in class UnaryTupleOperator
public int hashCode()
hashCode
in class UnaryTupleOperator
public Slice clone()
QueryModelNode
clone
in interface QueryModelNode
clone
in interface TupleExpr
clone
in class UnaryTupleOperator
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.