Package org.umlg.sqlg.strategy
Class BaseStrategy
java.lang.Object
org.umlg.sqlg.strategy.BaseStrategy
- Direct Known Subclasses:
GraphStrategy
,VertexStrategy
- Author:
- Pieter Martin Date: 2017/03/04
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final List<BiPredicate>
static final List<BiPredicate>
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SqlgStep
constructSqlgStep
(org.apache.tinkerpop.gremlin.process.traversal.Step startStep) protected abstract boolean
doFirst
(ListIterator<org.apache.tinkerpop.gremlin.process.traversal.Step<?, ?>> stepIterator, org.apache.tinkerpop.gremlin.process.traversal.Step<?, ?> step, org.apache.commons.lang3.mutable.MutableInt pathCount) protected boolean
handleAggregateGlobalStep
(ReplacedStep<?, ?> replacedStep, org.apache.tinkerpop.gremlin.process.traversal.Step aggregateStep, String aggr) protected abstract boolean
isReplaceableStep
(Class<? extends org.apache.tinkerpop.gremlin.process.traversal.Step> stepClass) protected abstract void
replaceStepInTraversal
(org.apache.tinkerpop.gremlin.process.traversal.Step stepToReplace, SqlgStep sqlgStep)
-
Field Details
-
PATH_LABEL_SUFFIX
- See Also:
-
EMIT_LABEL_SUFFIX
- See Also:
-
SQLG_PATH_FAKE_LABEL
- See Also:
-
SQLG_PATH_TEMP_FAKE_LABEL
- See Also:
-
SQLG_PATH_ORDER_RANGE_LABEL
- See Also:
-
SUPPORTED_LABEL_BI_PREDICATE
-
SUPPORTED_ID_BI_PREDICATE
-
-
Method Details
-
doFirst
protected abstract boolean doFirst(ListIterator<org.apache.tinkerpop.gremlin.process.traversal.Step<?, ?>> stepIterator, org.apache.tinkerpop.gremlin.process.traversal.Step<?, ?> step, org.apache.commons.lang3.mutable.MutableInt pathCount) -
constructSqlgStep
protected abstract SqlgStep constructSqlgStep(org.apache.tinkerpop.gremlin.process.traversal.Step startStep) -
isReplaceableStep
protected abstract boolean isReplaceableStep(Class<? extends org.apache.tinkerpop.gremlin.process.traversal.Step> stepClass) -
replaceStepInTraversal
protected abstract void replaceStepInTraversal(org.apache.tinkerpop.gremlin.process.traversal.Step stepToReplace, SqlgStep sqlgStep) -
handleAggregateGlobalStep
protected boolean handleAggregateGlobalStep(ReplacedStep<?, ?> replacedStep, org.apache.tinkerpop.gremlin.process.traversal.Step aggregateStep, String aggr)
-