public class TinkerMergeVertexStep<S> extends MergeVertexStep<S>
mergeV() searches by attempting to use an index where possible.callbackRegistryid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
TinkerMergeVertexStep(MergeVertexStep step) |
| Modifier and Type | Method and Description |
|---|---|
protected Stream<Vertex> |
createSearchStream(Map<Object,Object> search)
Use the
Map of search criteria to most efficiently return a Stream<Vertex> of matching elements. |
addChildOption, clone, configure, flatMap, getCallbackRegistry, getLocalChildren, getMutatingCallbackRegistry, getOnCreateTraversal, getOnMatchTraversal, getParameters, getRequirements, getSearchCreateTraversal, hashCode, isFirst, isStart, processNextStart, reset, setTraversal, toString, validateMapInputcloseIteratoraddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, setId, setNextStep, setPreviousStepfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChildforEachRemaining, removepublic TinkerMergeVertexStep(MergeVertexStep step)
protected Stream<Vertex> createSearchStream(Map<Object,Object> search)
MergeVertexStepMap of search criteria to most efficiently return a Stream<Vertex> of matching elements.
Providers might override this method when extending this step to provide their own optimized mechanisms for
matching the list of vertices. This implementation is only optimized for the T.id so any other usage
will simply be in-memory filtering which could be slow.createSearchStream in class MergeVertexStep<S>Copyright © 2013–2022 Apache Software Foundation. All rights reserved.