public static class MatchStep.CountMatchAlgorithm extends Object implements MatchStep.MatchAlgorithm
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MatchStep.CountMatchAlgorithm.Bundle  | 
| Modifier and Type | Field and Description | 
|---|---|
protected List<MatchStep.CountMatchAlgorithm.Bundle> | 
bundles  | 
protected int | 
counter  | 
protected boolean | 
onComputer  | 
UNMATCHABLE_PATTERN| Constructor and Description | 
|---|
CountMatchAlgorithm()  | 
| Modifier and Type | Method and Description | 
|---|---|
Traversal.Admin<Object,Object> | 
apply(Traverser.Admin<Object> traverser)  | 
protected MatchStep.CountMatchAlgorithm.Bundle | 
getBundle(Traversal.Admin<Object,Object> traversal)  | 
void | 
initialize(TraversalEngine.Type traversalEngineType,
          List<Traversal.Admin<Object,Object>> traversals)  | 
void | 
recordEnd(Traverser.Admin<Object> traverser,
         Traversal.Admin<Object,Object> traversal)  | 
void | 
recordStart(Traverser.Admin<Object> traverser,
           Traversal.Admin<Object,Object> traversal)  | 
protected List<MatchStep.CountMatchAlgorithm.Bundle> bundles
protected int counter
protected boolean onComputer
public void initialize(TraversalEngine.Type traversalEngineType, List<Traversal.Admin<Object,Object>> traversals)
initialize in interface MatchStep.MatchAlgorithmpublic Traversal.Admin<Object,Object> apply(Traverser.Admin<Object> traverser)
apply in interface Function<Traverser.Admin<Object>,Traversal.Admin<Object,Object>>public void recordStart(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal)
recordStart in interface MatchStep.MatchAlgorithmpublic void recordEnd(Traverser.Admin<Object> traverser, Traversal.Admin<Object,Object> traversal)
recordEnd in interface MatchStep.MatchAlgorithmprotected MatchStep.CountMatchAlgorithm.Bundle getBundle(Traversal.Admin<Object,Object> traversal)
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.