执行语句:
g.V().hasLabel('电影').limit(26).count()
count()调用栈:
Thread [gremlin-server-exec-4] (Suspended (breakpoint at line 1713 in GraphTransaction$LimitIterator))
GraphTransaction$LimitIterator<T>.fetch() line: 1713
GraphTransaction$LimitIterator<T>(WrappedIterator<R>).hasNext() line: 40
HugeGraphStep<S,E>(GraphStep<S,E>).processNextStart() line: 147
HugeGraphStep<S,E>(AbstractStep<S,E>).hasNext() line: 143
ExpandableStepIterator<S>.next() line: 50
RangeGlobalStep<S>(FilterStep<S>).processNextStart() line: 37
RangeGlobalStep<S>(AbstractStep<S,E>).hasNext() line: 143
ExpandableStepIterator<S>.hasNext() line: 42
CountGlobalStep<S>(ReducingBarrierStep<S,E>).processAllStarts() line: 78
CountGlobalStep<S>(ReducingBarrierStep<S,E>).processNextStart() line: 112
CountGlobalStep<S>(AbstractStep<S,E>).hasNext() line: 143
DefaultGraphTraversal<S,E>(DefaultTraversal<S,E>).hasNext() line: 197
IteratorUtils.fill(Iterator<T>, S) line: 62
IteratorUtils.list(Iterator<S>) line: 85
IteratorUtils.asList(Object