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 SummaryNested Classes Modifier and Type Class Description classMatchStep.CountMatchAlgorithm.Bundle
 - 
Field SummaryFields 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.MatchAlgorithmUNMATCHABLE_PATTERN
 
- 
 - 
Constructor SummaryConstructors Constructor Description CountMatchAlgorithm()
 - 
Method SummaryAll 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- 
bundlesprotected List<MatchStep.CountMatchAlgorithm.Bundle> bundles 
 - 
counterprotected int counter 
 - 
onComputerprotected boolean onComputer 
 
- 
 - 
Method Detail- 
initializepublic void initialize(boolean onComputer, List<Traversal.Admin<Object,Object>> traversals)- Specified by:
- initializein interface- MatchStep.MatchAlgorithm
 
 - 
applypublic Traversal.Admin<Object,Object> apply(Traverser.Admin<Object> traverser) - Specified by:
- applyin interface- Function<Traverser.Admin<Object>,Traversal.Admin<Object,Object>>
 
 - 
recordStartpublic void recordStart(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal) - Specified by:
- recordStartin interface- MatchStep.MatchAlgorithm
 
 - 
recordEndpublic void recordEnd(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal) - Specified by:
- recordEndin interface- MatchStep.MatchAlgorithm
 
 - 
getBundleprotected MatchStep.CountMatchAlgorithm.Bundle getBundle(Traversal.Admin<Object,Object> traversal) 
 
- 
 
-