public class PropertyMapStep<K,E> extends ScalarMapStep<Element,Map<K,E>> implements TraversalParent, ByModulating, Configuring
| Modifier and Type | Field and Description | 
|---|---|
| protected String[] | propertyKeys | 
| protected Traversal.Admin<Element,? extends Property> | propertyTraversal | 
| protected PropertyType | returnType | 
| protected int | tokens | 
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description | 
|---|
| PropertyMapStep(Traversal.Admin traversal,
               int options,
               PropertyType propertyType,
               String... propertyKeys) | 
| PropertyMapStep(Traversal.Admin traversal,
               PropertyType propertyType,
               String... propertyKeys) | 
| Modifier and Type | Method and Description | 
|---|---|
| PropertyMapStep<K,E> | clone()Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. | 
| void | configure(Object... keyValues)Accept a configuration to the  Step. | 
| int | getIncludedTokens() | 
| List<Traversal.Admin<K,E>> | getLocalChildren() | 
| Parameters | getParameters()Gets the parameters on the step. | 
| String[] | getPropertyKeys() | 
| Set<TraverserRequirement> | getRequirements()Provide the necessary  TraverserRequirementthat must be met by the traverser in order for the step to
 function properly. | 
| PropertyType | getReturnType() | 
| int | hashCode() | 
| protected Map<K,E> | map(Traverser.Admin<Element> traverser) | 
| void | modulateBy(Traversal.Admin<?,?> selectTraversal) | 
| void | setPropertyTraversal(Traversal.Admin<Element,? extends Property> propertyTraversal) | 
| void | setTraversal(Traversal.Admin<?,?> parentTraversal)Set the  Traversalthat this step is contained within. | 
| String | toString() | 
processNextStartaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStepfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChild, replaceLocalChildmodulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateBy, modulateByforEachRemaining, removeprotected final String[] propertyKeys
protected final PropertyType returnType
protected int tokens
protected Traversal.Admin<Element,? extends Property> propertyTraversal
public PropertyMapStep(Traversal.Admin traversal, PropertyType propertyType, String... propertyKeys)
public PropertyMapStep(Traversal.Admin traversal, int options, PropertyType propertyType, String... propertyKeys)
protected Map<K,E> map(Traverser.Admin<Element> traverser)
public void configure(Object... keyValues)
ConfiguringStep. Note that this interface extends Parameterizing and so
 there is an expectation that the Step implementation will have a Parameters instance that will
 house any values passed to this method. Storing these configurations in Parameters is not a requirement
 however, IF the configuration is an expected option for the step and can be stored on a member field that can
 be accessed on the step by more direct means (i.e. like a getter method).configure in interface Configuringpublic Parameters getParameters()
ParameterizinggetParameters in interface Parameterizingpublic List<Traversal.Admin<K,E>> getLocalChildren()
getLocalChildren in interface TraversalParentpublic void modulateBy(Traversal.Admin<?,?> selectTraversal)
modulateBy in interface ByModulatingpublic void setPropertyTraversal(Traversal.Admin<Element,? extends Property> propertyTraversal)
public PropertyType getReturnType()
public String[] getPropertyKeys()
public PropertyMapStep<K,E> clone()
StepStep.reset() is called. Moreover, the previous and next steps should be set to EmptyStep.public void setTraversal(Traversal.Admin<?,?> parentTraversal)
StepTraversal that this step is contained within.setTraversal in interface Step<Element,Map<K,E>>setTraversal in class AbstractStep<Element,Map<K,E>>parentTraversal - the new traversal for this steppublic 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.public int getIncludedTokens()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.