| Package | Description |
|---|---|
| io.debezium.relational | |
| io.debezium.relational.ddl | |
| io.debezium.text | |
| io.debezium.util |
| Modifier and Type | Method and Description |
|---|---|
void |
TableIdParser.TableIdTokenizer.tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens) |
| Modifier and Type | Field and Description |
|---|---|
protected Collection<ParsingException> |
DataTypeParser.ErrorCollector.errors |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<ParsingException> |
AbstractDdlParser.accumulateParsingFailure(MultipleParsingExceptions e,
Collection<ParsingException> list)
Utility method to accumulate a parsing exception.
|
static Collection<ParsingException> |
AbstractDdlParser.accumulateParsingFailure(ParsingException e,
Collection<ParsingException> list)
Utility method to accumulate a parsing exception.
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<ParsingException> |
AbstractDdlParser.accumulateParsingFailure(ParsingException e,
Collection<ParsingException> list)
Utility method to accumulate a parsing exception.
|
protected void |
DataTypeParser.ErrorCollector.record(ParsingException e) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<ParsingException> |
AbstractDdlParser.accumulateParsingFailure(MultipleParsingExceptions e,
Collection<ParsingException> list)
Utility method to accumulate a parsing exception.
|
static Collection<ParsingException> |
AbstractDdlParser.accumulateParsingFailure(ParsingException e,
Collection<ParsingException> list)
Utility method to accumulate a parsing exception.
|
DataType |
DataTypeGrammarParser.DataTypePattern.match(TokenStream stream,
Consumer<ParsingException> errors)
Look for a matching data type on the specified token stream.
|
boolean |
DataTypeGrammarParser.Pattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.AndPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.OrPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.LiteralPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.VariablePattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.ListPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.OptionalPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.LengthPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.ScalePattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.LiteralLengthPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.LiteralScalePattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
boolean |
DataTypeGrammarParser.ArrayDimensionsPattern.match(TokenStream stream,
DataTypeBuilder builder,
Consumer<ParsingException> error) |
DataType |
DataTypeParser.parse(TokenStream stream,
Consumer<Collection<ParsingException>> errorHandler)
Examine the stream starting at its current position for a matching data type.
|
protected void |
LegacyDdlParser.parsingFailed(Position position,
Collection<ParsingException> errors,
String msg)
Generate a
ParsingException or MultipleParsingExceptions with the supplied error or errors and the
supplied message, which is appended by this method with additional information about the position's line and column. |
protected void |
DataTypeParser.ErrorCollector.send(Consumer<Collection<ParsingException>> errorHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LegacyDdlParser.consumeStatement()
Consume all tokens from the current position that is a
starting-statement
token until either the
end-of-statement terminator token or before the next
starting-statement token. |
DataTypeGrammarParser.DataTypePattern |
DataTypeGrammarParser.parse(int jdbcType,
String dataTypeDefn)
Parse the supplied grammar for a data type.
|
void |
LegacyDdlParser.parse(TokenStream ddlContent,
Tables databaseTables)
Examine the stream starting at its current position for DDL statements, and apply those statements to the specified
database table definitions.
|
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parseArrayDimensions(TokenStream stream) |
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parseLength(TokenStream stream) |
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parseLengthLiteral(TokenStream stream) |
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parseMultiple(TokenStream stream) |
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parseOptional(TokenStream stream,
Function<TokenStream,DataTypeGrammarParser.Pattern> inside) |
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parsePattern(TokenStream stream) |
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parseScale(TokenStream stream) |
protected DataTypeGrammarParser.Pattern |
DataTypeGrammarParser.parseScaleLiteral(TokenStream stream) |
void |
DdlTokenizer.tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens) |
| Modifier and Type | Field and Description |
|---|---|
private Collection<ParsingException> |
MultipleParsingExceptions.errors |
| Modifier and Type | Method and Description |
|---|---|
Collection<ParsingException> |
MultipleParsingExceptions.getErrors()
Get the set of parsing exceptions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MultipleParsingExceptions.forEachError(Consumer<ParsingException> action) |
| Modifier and Type | Method and Description |
|---|---|
String |
TokenStream.consume()
Return the value of this token and move to the next token.
|
TokenStream |
TokenStream.consume(char expected)
Attempt to consume this current token as long as it matches the expected character, or throw an exception if the token does
not match.
|
TokenStream |
TokenStream.consume(int expectedType)
Attempt to consume this current token as long as it matches the expected character, or throw an exception if the token does
not match.
|
TokenStream |
TokenStream.consume(Iterable<String> nextTokens)
Attempt to consume this current token as the next tokens as long as they match the expected values, or throw an exception
if the token does not match.
|
TokenStream |
TokenStream.consume(String expected)
Attempt to consume this current token as long as it matches the expected value, or throw an exception if the token does not
match.
|
TokenStream |
TokenStream.consume(String[] nextTokens)
Attempt to consume this current token as the next tokens as long as they match the expected values, or throw an exception
if the token does not match.
|
TokenStream |
TokenStream.consume(String expected,
String... expectedForNextTokens)
Attempt to consume this current token as the next tokens as long as they match the expected values, or throw an exception
if the token does not match.
|
boolean |
TokenStream.consumeBoolean()
Convert the value of this token to an integer, return it, and move to the next token.
|
int |
TokenStream.consumeInteger()
Convert the value of this token to an integer, return it, and move to the next token.
|
long |
TokenStream.consumeLong()
Convert the value of this token to a long, return it, and move to the next token.
|
TokenStream |
TokenStream.consumeThrough(char expected)
Attempt to consume all tokens until the specified token is consumed, and then stop.
|
TokenStream |
TokenStream.consumeThrough(char expected,
char skipMatchingTokens)
Attempt to consume all tokens until the specified token is consumed, and then stop.
|
TokenStream |
TokenStream.consumeThrough(String expected)
Attempt to consume all tokens until the specified token is consumed, and then stop.
|
TokenStream |
TokenStream.consumeThrough(String expected,
String skipMatchingTokens)
Attempt to consume all tokens until the specified token is consumed, and then stop.
|
TokenStream |
TokenStream.consumeUntil(char expected)
Attempt to consume all tokens until the specified token is found, and then stop before consuming that token.
|
TokenStream |
TokenStream.consumeUntil(char expected,
char skipMatchingTokens)
Attempt to consume all tokens until the specified token is found, and then stop before consuming that token.
|
TokenStream |
TokenStream.consumeUntil(String expected)
Attempt to consume all tokens until the specified token is found, and then stop before consuming that token.
|
TokenStream |
TokenStream.consumeUntil(String expected,
String... skipMatchingTokens)
Attempt to consume all tokens until the specified token is found, and then stop before consuming that token.
|
TokenStream |
TokenStream.consumeUntilEndOrOneOf(String... stopTokens)
Consume the token stream until one of the stop tokens or the end of the stream is found.
|
TokenStream |
TokenStream.start()
Begin the token stream, including (if required) the tokenization of the input content.
|
protected void |
TokenStream.throwNoMoreContent() |
void |
TokenStream.Tokenizer.tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens)
Process the supplied characters and construct the appropriate
TokenStream.Token objects. |
void |
TokenStream.BasicTokenizer.tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens) |
| Constructor and Description |
|---|
MultipleParsingExceptions(Collection<ParsingException> errors) |
MultipleParsingExceptions(String message,
Collection<ParsingException> errors) |
| Modifier and Type | Method and Description |
|---|---|
void |
Strings.RegExSplitter.tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.