Class DateAddStep<S>

    • Constructor Detail

      • DateAddStep

        public DateAddStep​(Traversal.Admin traversal,
                           DT dateToken,
                           int value)
    • Method Detail

      • getRequirements

        public Set<TraverserRequirement> getRequirements()
        Description copied from interface: Step
        Provide the necessary TraverserRequirement that 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
      • clone

        public DateAddStep<S> clone()
        Description copied from interface: Step
        Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication. When cloning a step, it is important that the steps, the cloned step is equivalent to the state of the step when Step.reset() is called. Moreover, the previous and next steps should be set to EmptyStep.
        Specified by:
        clone in interface Step<S,​Date>
        Overrides:
        clone in class AbstractStep<S,​Date>
        Returns:
        The cloned step
      • getDateToken

        public DT getDateToken()
      • getValue

        public int getValue()