public class SliceNode extends SolutionModifierBase
| Modifier and Type | Class and Description |
|---|---|
static interface |
SliceNode.Annotations |
DEFAULT_INITIAL_CAPACITY| Constructor and Description |
|---|
SliceNode()
Slice with defaults that do not impose a constraint (offset is ZERO,
limit is
Long.MAX_VALUE). |
SliceNode(BOp[] args,
Map<String,Object> anns)
Shallow copy constructor.
|
SliceNode(long offset,
long limit) |
SliceNode(SliceNode op)
Deep copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLimit() |
long |
getOffset() |
boolean |
hasSlice()
|
void |
setLimit(long limit) |
void |
setOffset(long offset) |
String |
toString(int indent)
The contract of this method at this level is under-specified.
|
getQueryHints, toStringaddExplainHint, getExplainHints, getQueryHint, getQueryHint, getQueryHintAsBoolean, getQueryHintAsBoolean, getQueryHintAsInteger, replaceAllWith, setQueryHint, setQueryHintsaddArg, addArg, addArgIfAbsent, annotations, annotationsEqual, argIterator, args, arity, clearProperty, copyAll, get, getProperty, indexOf, removeArg, replaceWith, setArg, setArgs, setId, setProperty, setUnboundProperty, toArray, toArrayannotationsEqual, annotationsToString, annotationsToString, annotationValueToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, mutation, shortenName, toShortStringfinalize, getClass, notify, notifyAll, wait, wait, waitannotations, argIterator, args, arity, clone, get, getEvaluationContext, getId, getProperty, getRequiredProperty, isController, setProperty, toArray, toArray, toShortStringgetPropertypublic SliceNode(SliceNode op)
public SliceNode()
Long.MAX_VALUE).public SliceNode(long offset,
long limit)
offset - The offset (origin ZERO).limit - The limit (use Long.MAX_VALUE if there is no limit).public void setOffset(long offset)
public long getOffset()
public void setLimit(long limit)
public long getLimit()
public boolean hasSlice()
public String toString(int indent)
CoreBaseBOpCoreBaseBOp.toString()
Or:
- return a pretty-print representation of the object with indent
Note that the former contract may or may not include recursive descent through a tree-like
object, whereas the latter almost certainly does.toString in interface BOptoString in interface IQueryNodetoString in class CoreBaseBOpCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.