| Package | Description |
|---|---|
| io.debezium.relational.ddl | |
| io.debezium.text |
| Modifier and Type | Method and Description |
|---|---|
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 |
LegacyDdlParser.parsingFailed(Position position,
String msg)
Generate a
ParsingException with the supplied message, which is appended by this method with additional
information about the position's line and column. |
protected void |
LegacyDdlParser.parsingFailed(Position position,
String msg,
Throwable t)
Generate a
ParsingException with the supplied message, which is appended by this method with additional
information about the position's line and column. |
| Modifier and Type | Field and Description |
|---|---|
static Position |
Position.EMPTY_CONTENT_POSITION
The position is used when there is no content.
|
private Position |
ParsingException.position |
protected Position |
TokenStream.Marker.position |
private Position |
TokenStream.CaseSensitiveToken.position |
| Modifier and Type | Method and Description |
|---|---|
Position |
Position.add(Position position)
Return a new position that is the addition of this position and that supplied.
|
Position |
ParsingException.getPosition() |
Position |
TokenStream.nextPosition()
Get the position of the next (or current) token.
|
Position |
TokenStream.Marker.position()
Get the position of this marker, or null if this is at the start or end of the token stream.
|
Position |
TokenStream.Token.position()
Get the position of this token, which includes the line number and column number of the first character in the token.
|
Position |
TokenStream.CaseSensitiveToken.position() |
Position |
TokenStream.CharacterStream.position(int startIndex)
Get the position for the last character returned from
TokenStream.CharacterStream.next(). |
Position |
TokenStream.CharacterArrayStream.position(int startIndex) |
Position |
TokenStream.previousPosition()
Get the position of the previous token.
|
Position |
TokenStream.previousPosition(int count)
Get the position of a token earlier in the stream from the current position.
|
| Modifier and Type | Method and Description |
|---|---|
Position |
Position.add(Position position)
Return a new position that is the addition of this position and that supplied.
|
default void |
TokenStream.Tokens.addToken(Position position,
int index)
Create a single-character token at the supplied index in the character stream.
|
default void |
TokenStream.Tokens.addToken(Position position,
int startIndex,
int endIndex)
Create a single- or multi-character token with the characters in the range given by the starting and ending index in
the character stream.
|
void |
TokenStream.Tokens.addToken(Position position,
int startIndex,
int endIndex,
int type)
Create a single- or multi-character token with the supplied type and with the characters in the range given by the
starting and ending index in the character stream.
|
void |
TokenStream.CaseSensitiveTokenFactory.addToken(Position position,
int startIndex,
int endIndex,
int type) |
void |
TokenStream.CaseInsensitiveTokenFactory.addToken(Position position,
int startIndex,
int endIndex,
int type) |
protected String |
TokenStream.getContentBetween(int startIndex,
Position end) |
String |
TokenStream.getContentBetween(Position starting,
Position end)
Gets the content string starting at the first position (inclusive) and continuing up to the end position (exclusive).
|
String |
TokenStream.getContentBetween(TokenStream.Marker starting,
Position end)
Gets the content string starting at the specified marker (inclusive) and continuing up to the end position (exclusive).
|
| Constructor and Description |
|---|
CaseInsensitiveToken(int startIndex,
int endIndex,
int type,
Position position) |
CaseSensitiveToken(int startIndex,
int endIndex,
int type,
Position position) |
Marker(Position position,
int index) |
ParsingException(Position position) |
ParsingException(Position position,
String message) |
ParsingException(Position position,
String message,
Throwable cause) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.