本文整理汇总了Java中org.apache.tinkerpop.gremlin.process.traversal.step.map.SackStep类的典型用法代码示例。如果您正苦于以下问题:Java SackStep类的具体用法?Java SackStep怎么用?Java SackStep使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
SackStep类属于org.apache.tinkerpop.gremlin.process.traversal.step.map包,在下文中一共展示了SackStep类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isLocalElement
import org.apache.tinkerpop.gremlin.process.traversal.step.map.SackStep; //导入依赖的package包/类
private static boolean isLocalElement(final Step<?, ?> step) {
return step instanceof PropertiesStep || step instanceof PropertyMapStep ||
step instanceof IdStep || step instanceof LabelStep || step instanceof SackStep ||
step instanceof PropertyKeyStep || step instanceof PropertyValueStep ||
step instanceof TailGlobalStep || step instanceof RangeGlobalStep || step instanceof HasStep ||
step instanceof ConnectiveStep;
}
示例2: isLocalElement
import org.apache.tinkerpop.gremlin.process.traversal.step.map.SackStep; //导入依赖的package包/类
private static boolean isLocalElement(final Step<?, ?> step) {
return step instanceof PropertiesStep || step instanceof PropertyMapStep ||
step instanceof IdStep || step instanceof LabelStep || step instanceof SackStep ||
step instanceof PropertyKeyStep || step instanceof PropertyValueStep ||
step instanceof TailGlobalStep || step instanceof RangeGlobalStep || step instanceof HasStep;
}
示例3: SqlgGraphStep
import org.apache.tinkerpop.gremlin.process.traversal.step.map.SackStep; //导入依赖的package包/类
public SqlgGraphStep(final SqlgGraph sqlgGraph, final Traversal.Admin traversal, final Class<E> returnClass, final boolean isStart, final Object... ids) {
super(traversal, returnClass, isStart, ids);
this.sqlgGraph = sqlgGraph;
this.requiresSack = TraversalHelper.hasStepOfAssignableClass(SackStep.class, traversal);
this.requiresOneBulk = SqlgTraversalUtil.hasOneBulkRequirement(traversal);
}
示例4: sack
import org.apache.tinkerpop.gremlin.process.traversal.step.map.SackStep; //导入依赖的package包/类
/**
* Map the {@link Traverser} to its {@link Traverser#sack} value.
*
* @param <E2> the sack value type
* @return the traversal with an appended {@link SackStep}.
*/
public default <E2> GraphTraversal<S, E2> sack() {
return this.asAdmin().addStep(new SackStep<>(this.asAdmin()));
}
示例5: sack
import org.apache.tinkerpop.gremlin.process.traversal.step.map.SackStep; //导入依赖的package包/类
/**
* Map the {@link Traverser} to its {@link Traverser#sack} value.
*
* @param <E2> the sack value type
* @return the traversal with an appended {@link SackStep}.
* @see <a href="http://tinkerpop.apache.org/docs/${project.version}/reference/#sack-step" target="_blank">Reference Documentation - Sack Step</a>
* @since 3.0.0-incubating
*/
public default <E2> GraphTraversal<S, E2> sack() {
this.asAdmin().getBytecode().addStep(Symbols.sack);
return this.asAdmin().addStep(new SackStep<>(this.asAdmin()));
}