Package io.debezium.text
Class TokenStream.CaseInsensitiveToken
java.lang.Object
io.debezium.text.TokenStream.CaseSensitiveToken
io.debezium.text.TokenStream.CaseInsensitiveToken
- All Implemented Interfaces:
TokenStream.Token
- Enclosing class:
- TokenStream
-
Constructor Summary
ConstructorsConstructorDescriptionCaseInsensitiveToken(int startIndex, int endIndex, int type, Position position) -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine if the token matches the supplied string.withType(int typeMask) Bitmask ORed with existing type value.Methods inherited from class io.debezium.text.TokenStream.CaseSensitiveToken
endIndex, length, matches, matches, matchString, position, startIndex, toString, type, valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.debezium.text.TokenStream.Token
matches
-
Constructor Details
-
CaseInsensitiveToken
-
-
Method Details
-
matches
Description copied from interface:TokenStream.TokenDetermine if the token matches the supplied string.- Specified by:
matchesin interfaceTokenStream.Token- Overrides:
matchesin classTokenStream.CaseSensitiveToken- Parameters:
expected- the expected value- Returns:
- true if the token's value matches the supplied value, or false otherwise
-
withType
Description copied from interface:TokenStream.TokenBitmask ORed with existing type value.- Specified by:
withTypein interfaceTokenStream.Token- Overrides:
withTypein classTokenStream.CaseSensitiveToken- Parameters:
typeMask- the mask of types- Returns:
- copy of Token with new type
-