Class AsDateStep<S>
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<S,OffsetDateTime>
org.apache.tinkerpop.gremlin.process.traversal.step.map.AsDateStep<S>
- All Implemented Interfaces:
Serializable,Cloneable,Iterator<Traverser.Admin<OffsetDateTime>>,Step<S,OffsetDateTime>
Reference implementation for date parsing step.
- Author:
- Valentyn Kahamlyk
- See Also:
-
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvide the necessaryTraverserRequirementthat must be met by the traverser in order for the step to function properly.protected OffsetDateTimemap(Traverser.Admin<S> traverser) voidsetTraversal(Traversal.Admin<?, ?> parentTraversal) Set theTraversalthat this step is contained within.toString()Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.map.ScalarMapStep
processNextStartMethods inherited from class org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep
addLabel, addStart, addStarts, clearLabels, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hashCode, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStepMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
AsDateStep
-
-
Method Details
-
map
- Specified by:
mapin classScalarMapStep<S,OffsetDateTime>
-
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.- Returns:
- the set of requirements
-
setTraversal
Description copied from interface:StepSet theTraversalthat this step is contained within.- Specified by:
setTraversalin interfaceStep<S,OffsetDateTime> - Overrides:
setTraversalin classAbstractStep<S,OffsetDateTime> - Parameters:
parentTraversal- the new traversal for this step
-
toString
- Overrides:
toStringin classAbstractStep<S,OffsetDateTime>
-