Class MergeVertexStep<S>

    • Method Detail

      • validateMapInput

        public static void validateMapInput​(Map map,
                                            boolean ignoreTokens)
      • clone

        public MergeVertexStep<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,​Vertex>
        Overrides:
        clone in class MergeStep<S,​Vertex,​Map>
        Returns:
        The cloned step
      • onCreateMap

        protected Map onCreateMap​(Traverser.Admin<S> traverser,
                                  Map mergeMap)
        Fuse the mergeMap with any additional key/values from the onCreateTraversal. No overrides allowed.