public class PropertyMapStep<K,E> extends MapStep<Element,Map<K,E>> implements TraversalParent
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
includeTokens  | 
protected String[] | 
propertyKeys  | 
protected Traversal.Admin<Element,? extends Property> | 
propertyTraversal  | 
protected PropertyType | 
returnType  | 
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description | 
|---|
PropertyMapStep(Traversal.Admin traversal,
               boolean includeTokens,
               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. 
 | 
List<Traversal.Admin<Element,? extends Property>> | 
getLocalChildren()  | 
String[] | 
getPropertyKeys()  | 
Set<TraverserRequirement> | 
getRequirements()
Provide the necessary  
TraverserRequirement that must be met by the traverser in order for the step to function properly. | 
PropertyType | 
getReturnType()  | 
int | 
hashCode()  | 
boolean | 
isIncludeTokens()  | 
protected Map<K,E> | 
map(Traverser.Admin<Element> traverser)  | 
void | 
setPropertyTraversal(Traversal.Admin<Element,? extends Property> propertyTraversal)  | 
void | 
setTraversal(Traversal.Admin<?,?> parentTraversal)
Set the  
Traversal that this step is contained within. | 
String | 
toString()  | 
processNextStartaddLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStepfinalize, getClass, notify, notifyAll, wait, wait, waitaddGlobalChild, addLocalChild, asStep, close, getGlobalChildren, getSelfAndChildRequirements, integrateChild, removeGlobalChild, removeLocalChildforEachRemaining, removeprotected final String[] propertyKeys
protected final PropertyType returnType
protected final boolean includeTokens
protected Traversal.Admin<Element,? extends Property> propertyTraversal
public PropertyMapStep(Traversal.Admin traversal, boolean includeTokens, PropertyType propertyType, String... propertyKeys)
protected Map<K,E> map(Traverser.Admin<Element> traverser)
public List<Traversal.Admin<Element,? extends Property>> getLocalChildren()
getLocalChildren in interface TraversalParentpublic void setPropertyTraversal(Traversal.Admin<Element,? extends Property> propertyTraversal)
public PropertyType getReturnType()
public String[] getPropertyKeys()
public boolean isIncludeTokens()
public PropertyMapStep<K,E> clone()
StepEmptyStep.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.Copyright © 2013–2018 Apache Software Foundation. All rights reserved.