public class PropertyMapStep<E> extends MapStep<Element,Map<String,E>>
Modifier and Type | Field and Description |
---|---|
protected boolean |
includeTokens |
protected String[] |
propertyKeys |
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 |
---|---|
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<String,E> |
map(Traverser.Admin<Element> traverser) |
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
forEachRemaining, remove
protected final String[] propertyKeys
protected final PropertyType returnType
protected final boolean includeTokens
public PropertyMapStep(Traversal.Admin traversal, boolean includeTokens, PropertyType propertyType, String... propertyKeys)
protected Map<String,E> map(Traverser.Admin<Element> traverser)
public PropertyType getReturnType()
public String[] getPropertyKeys()
public boolean isIncludeTokens()
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–2016 Apache Software Foundation. All rights reserved.