Package org.umlg.sqlg.strategy
Class Emit<E extends SqlgElement>
java.lang.Object
org.umlg.sqlg.strategy.Emit<E>
- All Implemented Interfaces:
Comparable<Emit<E>>
Created by pieter on 2015/10/26.
-
Constructor Summary
ConstructorDescriptionEmit()
Emit
(long parentIndex, E element, int replacedStepDepth, SqlgComparatorHolder sqlgComparatorHolder) Emit
(long parentIndex, E element, Set<String> labels, int replacedStepDepth, SqlgComparatorHolder sqlgComparatorHolder) Emit
(E element, int replacedStepDepth, SqlgComparatorHolder sqlgComparatorHolder) Emit
(E element, Set<String> labels, int replacedStepDepth, SqlgComparatorHolder sqlgComparatorHolder) -
Method Summary
Modifier and TypeMethodDescriptionint
void
evaluateElementValueTraversal
(int pathSize, org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E> traverser) long
org.apache.tinkerpop.gremlin.process.traversal.Path
getPath()
int
org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E>
boolean
isFake()
boolean
boolean
isRepeat()
boolean
void
setIncomingOnlyLocalOptionalStep
(boolean incomingOnlyLocalOptionalStep) void
setPath
(org.apache.tinkerpop.gremlin.process.traversal.Path path) void
setRepeat
(boolean repeat) void
setRepeated
(boolean repeated) void
setSqlgComparatorHolders
(List<SqlgComparatorHolder> sqlgComparatorHolders) void
setTraverser
(org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E> traverser) toString()
-
Constructor Details
-
Emit
public Emit() -
Emit
-
Emit
public Emit(long parentIndex, E element, int replacedStepDepth, SqlgComparatorHolder sqlgComparatorHolder) -
Emit
public Emit(E element, Set<String> labels, int replacedStepDepth, SqlgComparatorHolder sqlgComparatorHolder) -
Emit
public Emit(long parentIndex, E element, Set<String> labels, int replacedStepDepth, SqlgComparatorHolder sqlgComparatorHolder)
-
-
Method Details
-
getPath
public org.apache.tinkerpop.gremlin.process.traversal.Path getPath() -
setPath
public void setPath(org.apache.tinkerpop.gremlin.process.traversal.Path path) -
getElement
-
getLabels
-
getSqlgComparatorHolder
-
setSqlgComparatorHolders
-
isRepeat
public boolean isRepeat() -
setRepeat
public void setRepeat(boolean repeat) -
isRepeated
public boolean isRepeated() -
setRepeated
public void setRepeated(boolean repeated) -
isFake
public boolean isFake() -
isIncomingOnlyLocalOptionalStep
public boolean isIncomingOnlyLocalOptionalStep() -
setIncomingOnlyLocalOptionalStep
public void setIncomingOnlyLocalOptionalStep(boolean incomingOnlyLocalOptionalStep) -
getTraverser
-
setTraverser
public void setTraverser(org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E> traverser) -
toString
-
evaluateElementValueTraversal
public void evaluateElementValueTraversal(int pathSize, org.apache.tinkerpop.gremlin.process.traversal.Traverser.Admin<E> traverser) - Parameters:
pathSize
- Indicates the head object path size. For SqlgVertexStepCompile they are objects that are already on the path before the step is executed.
-
compareTo
- Specified by:
compareTo
in interfaceComparable<E extends SqlgElement>
-
getReplacedStepDepth
public int getReplacedStepDepth() -
getParentIndex
public long getParentIndex()
-