Class CustomMatcherBase
java.lang.Object
net.sansa_stack.hadoop.core.pattern.CustomMatcherBase
- All Implemented Interfaces:
MatchResult,CustomMatcher
- Direct Known Subclasses:
CustomPatternCsv.CustomMatcherCsv2,CustomPatternCsvOld.CustomMatcherCsv,CustomPatternFiltered.CustomMatcherFilter,CustomPatternTrigGraph.CustomMatcherTrigGraph
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CharSequenceprotected intprotected intprotected int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sansa_stack.hadoop.core.pattern.CustomMatcher
findMethods inherited from interface java.util.regex.MatchResult
end, group, start
-
Field Details
-
charSequence
-
regionStart
protected int regionStart -
regionEnd
protected int regionEnd -
pos
protected int pos
-
-
Constructor Details
-
CustomMatcherBase
-
-
Method Details
-
region
public void region(int start, int end) - Specified by:
regionin interfaceCustomMatcher
-
start
public int start(int group) - Specified by:
startin interfaceMatchResult
-
end
public int end(int group) - Specified by:
endin interfaceMatchResult
-
group
- Specified by:
groupin interfaceMatchResult
-
groupCount
public int groupCount()- Specified by:
groupCountin interfaceMatchResult
-
start
- Specified by:
startin interfaceCustomMatcher
-
end
- Specified by:
endin interfaceCustomMatcher
-