Class ElementMapStep<K,E>
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.map.MapStep<S,E>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.map.ScalarMapStep<Element,Map<K,E>>
- 
- org.apache.tinkerpop.gremlin.process.traversal.step.map.ElementMapStep<K,E>
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- AutoCloseable,- Cloneable,- Iterator<Traverser.Admin<Map<K,E>>>,- Step<Element,Map<K,E>>,- GraphComputing,- TraversalParent
 
 public class ElementMapStep<K,E> extends ScalarMapStep<Element,Map<K,E>> implements TraversalParent, GraphComputing Converts aElementto aMap.- Author:
- Marko A. Rodriguez (http://markorodriguez.com), Daniel Kuppitz (http://gremlin.guru), Stephen Mallette (http://stephen.genoprime.com)
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected String[]propertyKeys- 
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepid, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
 
- 
 - 
Constructor SummaryConstructors Constructor Description ElementMapStep(Traversal.Admin traversal, String... propertyKeys)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getPropertyKeys()Set<TraverserRequirement>getRequirements()Provide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.protected Map<Object,Object>getVertexStructure(Vertex v)inthashCode()booleanisOnGraphComputer()protected Map<K,E>map(Traverser.Admin<Element> traverser)voidonGraphComputer()The step will be executing on aGraphComputer.StringtoString()- 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.ScalarMapStepprocessNextStart
 - 
Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStepaddLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
 - 
Methods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.GraphComputingatMaster
 - 
Methods inherited from interface java.util.IteratorforEachRemaining, remove
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.TraversalParentaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getLocalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChild
 
- 
 
- 
- 
- 
Field Detail- 
propertyKeysprotected final String[] propertyKeys 
 
- 
 - 
Constructor Detail- 
ElementMapSteppublic ElementMapStep(Traversal.Admin traversal, String... propertyKeys) 
 
- 
 - 
Method Detail- 
mapprotected Map<K,E> map(Traverser.Admin<Element> traverser) 
 - 
onGraphComputerpublic void onGraphComputer() Description copied from interface:GraphComputingThe step will be executing on aGraphComputer.- Specified by:
- onGraphComputerin interface- GraphComputing
 
 - 
isOnGraphComputerpublic boolean isOnGraphComputer() 
 - 
getPropertyKeyspublic String[] getPropertyKeys() 
 - 
getRequirementspublic Set<TraverserRequirement> getRequirements() Description copied from interface:StepProvide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly. The provided default implements returns an empty set.- Specified by:
- getRequirementsin interface- Step<K,E>
- Returns:
- the set of requirements
 
 
- 
 
-