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() |
processNextStart
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
addGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild
atMaster, atMaster
forEachRemaining, remove
protected final String[] propertyKeys
public ElementMapStep(Traversal.Admin traversal, String... propertyKeys)
protected Map<K,E> map(Traverser.Admin<Element> traverser)
public void onGraphComputer()
GraphComputing
GraphComputer
.onGraphComputer
in interface GraphComputing
public boolean isOnGraphComputer()
public String[] getPropertyKeys()
public Set<TraverserRequirement> getRequirements()
Step
TraverserRequirement
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–2020 Apache Software Foundation. All rights reserved.