public class PropertiesStep<E> extends FlatMapStep<Element,E>
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
propertyKeys |
protected PropertyType |
returnType |
id, label, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdSetByChild| Constructor and Description |
|---|
PropertiesStep(Traversal.Admin traversal,
PropertyType propertyType,
String... propertyKeys) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<E> |
flatMap(Traverser.Admin<Element> traverser) |
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() |
String |
toString() |
processNextStart, resetaddStart, addStarts, clone, getId, getLabel, getNextStep, getPreviousStep, getTraversal, hasNext, next, setId, setLabel, setNextStep, setPreviousStep, setTraversalequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemaining, removeprotected final String[] propertyKeys
protected final PropertyType returnType
public PropertiesStep(Traversal.Admin traversal, PropertyType propertyType, String... propertyKeys)
protected Iterator<E> flatMap(Traverser.Admin<Element> traverser)
flatMap in class FlatMapStep<Element,E>public PropertyType getReturnType()
public String[] getPropertyKeys()
public String toString()
toString in class AbstractStep<Element,E>public 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–2015 Apache Software Foundation. All rights reserved.