public class VertexQueryPipe<E extends com.tinkerpop.blueprints.Element> extends QueryPipe<com.tinkerpop.blueprints.Vertex,E>
QueryPipe.HasContainer, QueryPipe.IntervalContainerTransformPipe.Ordercount, currentIterator, elementClass, hasContainers, highRange, intervalContainers, lowRangecurrentEnd, pathEnabled, startsNO_PATH_MESSAGE| Constructor and Description |
|---|
VertexQueryPipe(Class<E> resultingElementClass,
com.tinkerpop.blueprints.Direction direction,
List<QueryPipe.HasContainer> hasContainers,
List<QueryPipe.IntervalContainer> intervalContainers,
int branchFactor,
int lowRange,
int highRange,
String... labels)
Construct a new VertexQuery pipe that wraps an underlying Blueprints VertexQuery object.
|
| Modifier and Type | Method and Description |
|---|---|
E |
processNextStart() |
void |
setBranchFactor(int branchFactor) |
void |
setDirection(com.tinkerpop.blueprints.Direction direction) |
void |
setLabels(String... labels) |
String |
toString() |
addHasContainer, addIntervalContainer, getResultElementClass, reset, setHighRange, setLowRange, setResultingElementClassenablePath, getCurrentPath, getPathToHere, hasNext, iterator, next, remove, setStarts, setStarts, setStartsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenablePath, getCurrentPath, setStarts, setStartspublic VertexQueryPipe(Class<E> resultingElementClass, com.tinkerpop.blueprints.Direction direction, List<QueryPipe.HasContainer> hasContainers, List<QueryPipe.IntervalContainer> intervalContainers, int branchFactor, int lowRange, int highRange, String... labels)
resultingElementClass - this must be either Vertex.class or Edge.class (anything else will throw an IllegalArgumentException)direction - this must be a legal direction representing the direction of the edge.hasContainers - this must be a collection of 'has'-filters (i.e. property filters). Provide an empty list if no such filters are to be applied.intervalContainers - this must be a collection of 'interval'-filters (i.e. property filters within a range). Provide an empty list if no such filters are to be applied.branchFactor - the branch factor for a particular vertex (determines the limit() of the VertexQuery)lowRange - this must be a long value representing the low range of elements to emithighRange - this must be a long value representing the high range of elements to emitlabels - this is a list of Strings representing the edge label filters to apply. Do not provide any Strings if no such filtering is desired.public void setDirection(com.tinkerpop.blueprints.Direction direction)
public void setLabels(String... labels)
public void setBranchFactor(int branchFactor)
public String toString()
public E processNextStart()
processNextStart in class AbstractPipe<com.tinkerpop.blueprints.Vertex,E extends com.tinkerpop.blueprints.Element>Copyright © 2010-2014. All Rights Reserved.