当前位置: 首页>>代码示例>>Java>>正文


Java SackStep类代码示例

本文整理汇总了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;
}
 
开发者ID:apache,项目名称:tinkerpop,代码行数:8,代码来源:MasterExecutor.java

示例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;
}
 
开发者ID:PKUSilvester,项目名称:LiteGraph,代码行数:7,代码来源:MasterExecutor.java

示例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);
}
 
开发者ID:pietermartin,项目名称:sqlg,代码行数:7,代码来源:SqlgGraphStep.java

示例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()));
}
 
开发者ID:PKUSilvester,项目名称:LiteGraph,代码行数:10,代码来源:GraphTraversal.java

示例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()));
}
 
开发者ID:apache,项目名称:tinkerpop,代码行数:13,代码来源:GraphTraversal.java


注:本文中的org.apache.tinkerpop.gremlin.process.traversal.step.map.SackStep类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。