Class AsStringLocalStep<S,​E>

  • All Implemented Interfaces:
    Serializable, Cloneable, Iterator<Traverser.Admin<E>>, Step<S,​E>

    public final class AsStringLocalStep<S,​E>
    extends ScalarMapStep<S,​E>
    Reference implementation for asString() step, a mid-traversal step which returns the incoming traverser value as a string. Null values are returned unchanged.
    David Bechberger (, Yang Xia (
    See Also:
    Serialized Form
    • Constructor Detail

      • AsStringLocalStep

        public AsStringLocalStep​(Traversal.Admin traversal)
    • 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.
        the set of requirements