Class DefaultGraphTraversal<S,E>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal<S,E>
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal<S,E>
- All Implemented Interfaces:
Serializable,AutoCloseable,Cloneable,Iterator<E>,GraphTraversal<S,,E> GraphTraversal.Admin<S,,E> Traversal<S,,E> Traversal.Admin<S,E>
public class DefaultGraphTraversal<S,E>
extends DefaultTraversal<S,E>
implements GraphTraversal.Admin<S,E>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal
GraphTraversal.Admin<S,E>, GraphTraversal.Symbols Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traversal
Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.Symbols -
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal
closed, g, generator, graph, gremlinLang, gValueManager, locked, parent, requirements, sideEffects, steps, strategies, unmodifiableSteps -
Constructor Summary
ConstructorsConstructorDescriptionDefaultGraphTraversal(GraphTraversalSource graphTraversalSource) DefaultGraphTraversal(Graph graph) -
Method Summary
Modifier and TypeMethodDescriptionasAdmin()Get access to administrative methods of the traversal via its accompanyingTraversal.Admin.clone()Cloning is used to duplicate the traversal typically in OLAP environments.iterate()Iterate all theTraverserinstances in the traversal.Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.util.DefaultTraversal
addStart, addStarts, addStep, applyStrategies, equals, getEndStep, getGraph, getGremlinLang, getGValueManager, getParent, getSideEffects, getStartStep, getSteps, getStrategies, getTraversalSource, getTraverserGenerator, getTraverserRequirements, hashCode, hasNext, isClosed, isLocked, lock, next, nextTraverser, notifyClose, removeStep, reset, setGraph, setGValueManager, setLocked, setParent, setSideEffects, setStrategies, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal
addE, addE, addE, addLabel, addLabel, addV, addV, addV, addV, aggregate, all, and, any, as, asBool, asDate, asNumber, asNumber, asString, asString, barrier, barrier, barrier, both, both, both, bothE, bothE, bothE, bothV, branch, branch, by, by, by, by, by, by, by, by, by, by, call, call, call, call, call, call, cap, choose, choose, choose, choose, choose, choose, choose, choose, choose, coalesce, coin, coin, combine, concat, concat, conjoin, connectedComponent, constant, constant, count, count, cyclicPath, dateAdd, dateDiff, dateDiff, dateDiff, dedup, dedup, difference, discard, disjunct, drop, dropLabel, dropLabel, dropLabels, E, E, element, elementMap, emit, emit, emit, fail, fail, filter, filter, flatMap, flatMap, fold, fold, format, from, from, from, from, group, group, groupCount, groupCount, has, has, has, has, has, has, has, has, has, has, has, has, hasId, hasId, hasKey, hasKey, hasKey, hasLabel, hasLabel, hasLabel, hasLabel, hasNot, hasValue, hasValue, hasValue, id, identity, in, in, in, index, inE, inE, inE, inject, intersect, inV, is, is, key, label, labels, length, length, limit, limit, limit, limit, local, loops, loops, lTrim, lTrim, map, map, match, match, match, math, max, max, mean, mean, merge, mergeE, mergeE, mergeE, mergeE, mergeV, mergeV, mergeV, mergeV, min, min, none, not, option, option, option, option, option, optional, or, order, order, otherV, out, out, out, outE, outE, outE, outV, pageRank, pageRank, path, peerPressure, product, profile, profile, program, project, properties, property, property, property, property, propertyMap, range, range, range, range, read, repeat, repeat, replace, replace, reverse, rTrim, rTrim, sack, sack, sample, sample, select, select, select, select, select, select, select, shortestPath, sideEffect, sideEffect, simplePath, skip, skip, skip, skip, split, split, subgraph, substring, substring, substring, substring, sum, sum, tail, tail, tail, tail, tail, tail, timeLimit, times, to, to, to, to, to, to, to, toE, toE, toE, toLower, toLower, toUpper, toUpper, toV, tree, tree, trim, trim, unfold, union, until, until, V, V, value, valueMap, valueMap, values, where, where, where, with, with, writeMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal.Admin
addStepMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traversal
close, explain, fill, forEachRemaining, forEachRemaining, next, notifyClose, promise, toBulkSet, toList, toSet, toStream, tryNextMethods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.Traversal.Admin
addStart, addStarts, addStep, applyStrategies, equals, getEndStep, getGraph, getGremlinLang, getGValueManager, getParent, getSideEffects, getStartStep, getSteps, getStrategies, getTraversalSource, getTraverserGenerator, getTraverserRequirements, getTraverserSetSupplier, isLocked, isRoot, lock, nextTraverser, removeStep, removeStep, reset, setGraph, setGValueManager, setParent, setSideEffects, setStrategies
-
Constructor Details
-
DefaultGraphTraversal
public DefaultGraphTraversal() -
DefaultGraphTraversal
-
DefaultGraphTraversal
-
-
Method Details
-
asAdmin
Description copied from interface:TraversalGet access to administrative methods of the traversal via its accompanyingTraversal.Admin. -
iterate
Description copied from interface:TraversalIterate all theTraverserinstances in the traversal. What is returned is the empty traversal. It is assumed that what is desired from the computation is are the sideEffects yielded by the traversal. -
clone
Description copied from interface:Traversal.AdminCloning is used to duplicate the traversal typically in OLAP environments.- Specified by:
clonein interfaceGraphTraversal.Admin<S,E> - Specified by:
clonein interfaceTraversal.Admin<S,E> - Overrides:
clonein classDefaultTraversal<S,E> - Returns:
- The cloned traversal
-