| 程序包 | 说明 |
|---|---|
| org.apache.flink.cdc.common.text |
| 限定符和类型 | 字段和说明 |
|---|---|
static Position |
Position.EMPTY_CONTENT_POSITION
The position is used when there is no content.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Position |
Position.add(Position position)
Return a new position that is the addition of this position and that supplied.
|
Position |
ParsingException.getPosition() |
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 |
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) |
| 构造器和说明 |
|---|
CaseInsensitiveToken(int startIndex,
int endIndex,
int type,
Position position) |
CaseSensitiveToken(int startIndex,
int endIndex,
int type,
Position position) |
ParsingException(Position position) |
ParsingException(Position position,
String message) |
ParsingException(Position position,
String message,
Throwable cause) |
Copyright © 2025 The Apache Software Foundation. All rights reserved.