public class ElementMapStep<K,E> extends MapStep<Element,Map<K,E>> implements TraversalParent, GraphComputing
Element to a Map.| Modifier and Type | Field and Description |
|---|---|
protected String[] |
propertyKeys |
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
ElementMapStep(Traversal.Admin traversal,
String... propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getPropertyKeys() |
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to function properly. |
protected Map<Object,Object> |
getVertexStructure(Vertex v) |
int |
hashCode() |
boolean |
isOnGraphComputer() |
protected Map<K,E> |
map(Traverser.Admin<Element> traverser) |
void |
onGraphComputer()
The step will be executing on a
GraphComputer. |
String |
toString() |
processNextStartaddLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChildatMaster, atMasterforEachRemaining, removeprotected final String[] propertyKeys
public ElementMapStep(Traversal.Admin traversal, String... propertyKeys)
protected Map<K,E> map(Traverser.Admin<Element> traverser)
public void onGraphComputer()
GraphComputingGraphComputer.onGraphComputer in interface GraphComputingpublic boolean isOnGraphComputer()
public String[] getPropertyKeys()
public Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to function properly.
The provided default implements returns an empty set.Copyright © 2013–2019 Apache Software Foundation. All rights reserved.