Class MatchStep.CountMatchAlgorithm
- java.lang.Object
 - 
- org.apache.tinkerpop.gremlin.process.traversal.step.map.MatchStep.CountMatchAlgorithm
 
 
- 
- All Implemented Interfaces:
 Serializable,Function<Traverser.Admin<Object>,Traversal.Admin<Object,Object>>,MatchStep.MatchAlgorithm
public static class MatchStep.CountMatchAlgorithm extends Object implements MatchStep.MatchAlgorithm
- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description classMatchStep.CountMatchAlgorithm.Bundle 
- 
Field Summary
Fields Modifier and Type Field Description protected List<MatchStep.CountMatchAlgorithm.Bundle>bundlesprotected intcounterprotected booleanonComputer- 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.step.map.MatchStep.MatchAlgorithm
UNMATCHABLE_PATTERN 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CountMatchAlgorithm() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Traversal.Admin<Object,Object>apply(Traverser.Admin<Object> traverser)protected MatchStep.CountMatchAlgorithm.BundlegetBundle(Traversal.Admin<Object,Object> traversal)voidinitialize(boolean onComputer, List<Traversal.Admin<Object,Object>> traversals)voidrecordEnd(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal)voidrecordStart(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal) 
 - 
 
- 
- 
Field Detail
- 
bundles
protected List<MatchStep.CountMatchAlgorithm.Bundle> bundles
 
- 
counter
protected int counter
 
- 
onComputer
protected boolean onComputer
 
 - 
 
- 
Method Detail
- 
initialize
public void initialize(boolean onComputer, List<Traversal.Admin<Object,Object>> traversals)- Specified by:
 initializein interfaceMatchStep.MatchAlgorithm
 
- 
apply
public Traversal.Admin<Object,Object> apply(Traverser.Admin<Object> traverser)
- Specified by:
 applyin interfaceFunction<Traverser.Admin<Object>,Traversal.Admin<Object,Object>>
 
- 
recordStart
public void recordStart(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal)
- Specified by:
 recordStartin interfaceMatchStep.MatchAlgorithm
 
- 
recordEnd
public void recordEnd(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal)
- Specified by:
 recordEndin interfaceMatchStep.MatchAlgorithm
 
- 
getBundle
protected MatchStep.CountMatchAlgorithm.Bundle getBundle(Traversal.Admin<Object,Object> traversal)
 
 - 
 
 -