public class OTraverse extends Object implements OCommand, Iterable<OIdentifiable>, Iterator<OIdentifiable>
Modifier and Type | Class and Description |
---|---|
static class |
OTraverse.STRATEGY |
Constructor and Description |
---|
OTraverse() |
Modifier and Type | Method and Description |
---|---|
List<OIdentifiable> |
execute()
Executes command.
|
OTraverse |
field(Object iField) |
OTraverse |
fields(Collection<Object> iFields) |
OTraverse |
fields(String... iFields) |
OTraverseContext |
getContext() |
List<Object> |
getFields() |
OIdentifiable |
getLastTraversed() |
long |
getLimit() |
int |
getMaxDepth() |
OCommandPredicate |
getPredicate() |
long |
getResultCount() |
OTraverse.STRATEGY |
getStrategy() |
Iterator<? extends OIdentifiable> |
getTarget() |
boolean |
hasNext() |
Iterator<OIdentifiable> |
iterator() |
OTraverse |
limit(long iLimit) |
OIdentifiable |
next() |
OTraverseAbstractProcess<?> |
nextProcess() |
OTraverse |
predicate(OCommandPredicate iPredicate) |
void |
remove() |
void |
setMaxDepth(int maxDepth) |
void |
setStrategy(OTraverse.STRATEGY strategy) |
OTraverse |
target(Iterable<? extends OIdentifiable> iTarget) |
OTraverse |
target(Iterator<? extends OIdentifiable> iTarget) |
OTraverse |
target(OIdentifiable... iRecords) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
forEachRemaining
public List<OIdentifiable> execute()
OCommand
public OTraverseAbstractProcess<?> nextProcess()
public boolean hasNext()
hasNext
in interface Iterator<OIdentifiable>
public OIdentifiable next()
next
in interface Iterator<OIdentifiable>
public void remove()
remove
in interface Iterator<OIdentifiable>
public Iterator<OIdentifiable> iterator()
iterator
in interface Iterable<OIdentifiable>
public OTraverseContext getContext()
getContext
in interface OCommand
public OTraverse target(Iterable<? extends OIdentifiable> iTarget)
public OTraverse target(OIdentifiable... iRecords)
public OTraverse target(Iterator<? extends OIdentifiable> iTarget)
public Iterator<? extends OIdentifiable> getTarget()
public OTraverse predicate(OCommandPredicate iPredicate)
public OCommandPredicate getPredicate()
public OTraverse fields(Collection<Object> iFields)
public long getLimit()
public OTraverse limit(long iLimit)
public long getResultCount()
public OIdentifiable getLastTraversed()
public OTraverse.STRATEGY getStrategy()
public void setStrategy(OTraverse.STRATEGY strategy)
public int getMaxDepth()
public void setMaxDepth(int maxDepth)
Copyright © 2009–2020 OrientDB. All rights reserved.