本文整理匯總了Java中org.apache.tinkerpop.gremlin.process.traversal.step.map.PathStep類的典型用法代碼示例。如果您正苦於以下問題:Java PathStep類的具體用法?Java PathStep怎麽用?Java PathStep使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
PathStep類屬於org.apache.tinkerpop.gremlin.process.traversal.step.map包,在下文中一共展示了PathStep類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: path
import org.apache.tinkerpop.gremlin.process.traversal.step.map.PathStep; //導入依賴的package包/類
/**
* Map the {@link Traverser} to its {@link Path} history via {@link Traverser#path}.
*
* @return the traversal with an appended {@link PathStep}.
*/
public default GraphTraversal<S, Path> path() {
return this.asAdmin().addStep(new PathStep<>(this.asAdmin()));
}
示例2: path
import org.apache.tinkerpop.gremlin.process.traversal.step.map.PathStep; //導入依賴的package包/類
/**
* Map the {@link Traverser} to its {@link Path} history via {@link Traverser#path}.
*
* @return the traversal with an appended {@link PathStep}.
* @see <a href="http://tinkerpop.apache.org/docs/${project.version}/reference/#path-step" target="_blank">Reference Documentation - Path Step</a>
* @since 3.0.0-incubating
*/
public default GraphTraversal<S, Path> path() {
this.asAdmin().getBytecode().addStep(Symbols.path);
return this.asAdmin().addStep(new PathStep<>(this.asAdmin()));
}