public class ElementMapStep<K,E> extends ScalarMapStep<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, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChildatMaster, 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–2021 Apache Software Foundation. All rights reserved.