|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.query.algebra.QueryModelNodeBase
org.openrdf.query.algebra.UnaryTupleOperator
org.openrdf.query.algebra.Slice
public class Slice
The SLICE operator, as defined in SPARQL Query Language for RDF. The SLICE operator selects specific results from the underlying tuple expression based on an offset and limit value (both optional).
| Field Summary |
|---|
| Fields inherited from class org.openrdf.query.algebra.UnaryTupleOperator |
|---|
arg |
| Constructor Summary | |
|---|---|
Slice()
|
|
Slice(TupleExpr arg)
|
|
Slice(TupleExpr arg,
long offset2,
long limit2)
|
|
| Method Summary | ||
|---|---|---|
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)
|
|
|
visit(QueryModelVisitor<X> visitor)
Visits this node. |
|
| Methods inherited from class org.openrdf.query.algebra.UnaryTupleOperator |
|---|
getArg, getAssuredBindingNames, getBindingNames, replaceChildNode, setArg, visitChildren |
| Methods inherited from class org.openrdf.query.algebra.QueryModelNodeBase |
|---|
getParentNode, nullEquals, replaceNodeInList, replaceWith, setParentNode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openrdf.query.algebra.QueryModelNode |
|---|
getParentNode, replaceWith, setParentNode, toString |
| Constructor Detail |
|---|
public Slice()
public Slice(TupleExpr arg)
public Slice(TupleExpr arg,
long offset2,
long limit2)
| Method Detail |
|---|
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 Exceptionpublic String getSignature()
QueryModelNodeBaseQueryModelNode.getSignature() that
prints the name of the node's class.
getSignature in interface QueryModelNodegetSignature in class QueryModelNodeBasepublic boolean equals(Object other)
QueryModelNode
equals in interface QueryModelNodeequals in class UnaryTupleOperatorpublic int hashCode()
hashCode in class UnaryTupleOperatorpublic Slice clone()
QueryModelNode
clone in interface QueryModelNodeclone in interface TupleExprclone in class UnaryTupleOperator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||