Package org.umlg.sqlg.sql.parse
Class ReplacedStep<S,E>
java.lang.Object
org.umlg.sqlg.sql.parse.ReplacedStep<S,E>
Date: 2015/06/27
Time: 6:05 PM
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAndOrHasContainer
(AndOrHasContainer andOrHasContainer) void
addHasContainer
(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer) void
addIdHasContainer
(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer) Each id is for a specific label, add the label to thelabelHasContainers
void
void
addLabelHasContainer
(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer) boolean
static <S,
E> ReplacedStep<S, E> Used for SqlgVertexStepStrategy.static <S,
E> ReplacedStep<S, E> from
(Topology topology, org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S, E> step, int pathCount) List<org.javatuples.Pair<org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<?,
?>, Comparator<?>>> int
getDepth()
List<org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer>
getStep()
boolean
boolean
boolean
hasRange()
boolean
isDrop()
boolean
boolean
boolean
isEmit()
boolean
boolean
boolean
isIdOnly()
boolean
boolean
boolean
boolean
boolean
void
void
void
void
setAggregateFunction
(org.apache.commons.lang3.tuple.Pair<String, List<String>> aggregateFunction) void
setDepth
(int depth) void
setEmit
(boolean emit) void
setGroupBy
(List<String> groupBy) void
setIdOnly
(boolean idOnly) void
setLeftJoin
(boolean leftJoin) void
setLoopsStepIsStepContainer
(LoopsStepIsStepContainer loopsStepIsStepContainer) void
setOuterLeftJoin
(boolean outerLeftJoin) void
setRecursiveRepeatStepConfig
(RecursiveRepeatStepConfig recursiveRepeatStepConfig) void
setSqlgRangeHolder
(SqlgRangeHolder sqlgRangeHolder) void
setUntilFirst
(boolean untilFirst) toString()
-
Method Details
-
from
Used for SqlgVertexStepStrategy. It is a fake ReplacedStep to simulate the incoming vertex from which the traversal continues.- Parameters:
topology
- A reference to the topology- Returns:
- The ReplacedStep
-
from
public static <S,E> ReplacedStep<S,E> from(Topology topology, org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S, E> step, int pathCount) -
getAndOrHasContainers
-
getSqlgComparatorHolder
-
getDbComparators
public List<org.javatuples.Pair<org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin<?,?>, getDbComparators()Comparator<?>>> -
addLabel
-
getLabels
-
hasLabels
public boolean hasLabels() -
setRecursiveRepeatStepConfig
-
getRecursiveRepeatStepConfig
-
setDepth
public void setDepth(int depth) -
toString
-
isGraphStep
public boolean isGraphStep() -
isVertexStep
public boolean isVertexStep() -
isEdgeVertexStep
public boolean isEdgeVertexStep() -
isEdgeOtherVertexStep
public boolean isEdgeOtherVertexStep() -
getStep
-
isEmit
public boolean isEmit() -
setEmit
public void setEmit(boolean emit) -
setLeftJoin
public void setLeftJoin(boolean leftJoin) -
isLeftJoin
public boolean isLeftJoin() -
isOuterLeftJoin
public boolean isOuterLeftJoin() -
setOuterLeftJoin
public void setOuterLeftJoin(boolean outerLeftJoin) -
isDrop
public boolean isDrop() -
isJoinToLeftJoin
public boolean isJoinToLeftJoin() -
isUntilFirst
public boolean isUntilFirst() -
setUntilFirst
public void setUntilFirst(boolean untilFirst) -
getDepth
public int getDepth() -
addIdHasContainer
public void addIdHasContainer(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer) Each id is for a specific label, add the label to thelabelHasContainers
- Parameters:
hasContainer
- A hasContainer withT.id
as key for this step. Copied from the original step.
-
addLabelHasContainer
public void addLabelHasContainer(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer) - Parameters:
hasContainer
- A hasContainers withT.label
as key for this step. Copied from the original step.
-
getLabelHasContainers
public List<org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer> getLabelHasContainers() -
getLoopsStepIsStepContainer
-
setLoopsStepIsStepContainer
-
addHasContainer
public void addHasContainer(org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer hasContainer) - Parameters:
hasContainer
- A hasContainer for this step. Copied from the original step.
-
addAndOrHasContainer
-
getSqlgRangeHolder
-
setSqlgRangeHolder
-
hasRange
public boolean hasRange() -
applyInStep
public boolean applyInStep() -
markAsJoinToLeftJoin
public void markAsJoinToLeftJoin() -
markAsDrop
public void markAsDrop() -
getRestrictedProperties
-
markForSqlgSchema
public void markForSqlgSchema() -
isForSqlgSchema
public boolean isForSqlgSchema() -
getAggregateFunction
-
hasAggregateFunction
public boolean hasAggregateFunction() -
setAggregateFunction
-
getGroupBy
-
setGroupBy
-
isIdOnly
public boolean isIdOnly() -
setIdOnly
public void setIdOnly(boolean idOnly)
-