Package io.debezium.relational
Class TableIdParser.TableIdTokenizer
- java.lang.Object
-
- io.debezium.relational.TableIdParser.TableIdTokenizer
-
- All Implemented Interfaces:
TokenStream.Tokenizer
- Enclosing class:
- TableIdParser
private static class TableIdParser.TableIdTokenizer extends Object implements TokenStream.Tokenizer
-
-
Field Summary
Fields Modifier and Type Field Description private Stringidentifier
-
Constructor Summary
Constructors Constructor Description TableIdTokenizer(String identifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtokenize(TokenStream.CharacterStream input, TokenStream.Tokens tokens)Process the supplied characters and construct the appropriateTokenStream.Tokenobjects.
-
-
-
Field Detail
-
identifier
private final String identifier
-
-
Constructor Detail
-
TableIdTokenizer
public TableIdTokenizer(String identifier)
-
-
Method Detail
-
tokenize
public void tokenize(TokenStream.CharacterStream input, TokenStream.Tokens tokens) throws ParsingException
Description copied from interface:TokenStream.TokenizerProcess the supplied characters and construct the appropriateTokenStream.Tokenobjects.- Specified by:
tokenizein interfaceTokenStream.Tokenizer- Parameters:
input- the character input stream; never nulltokens- the factory forTokenStream.Tokenobjects, which records the order in which the tokens are created- Throws:
ParsingException- if there is an error while processing the character stream (e.g., a quote is not closed, etc.)
-
-