public class TLexerTeradata extends TCustomLexer
| Modifier and Type | Field and Description |
|---|---|
TSourceTokenList |
sourcetokens |
bconst, COLUMN0_COUNT, COLUMN1_FIRST_X, COLUMN2_FIRST_Y, COLUMN3_LAST_X, COLUMN4_LAST_Y, COLUMN5_FIRST_POS, COLUMN6_LAST_POS, defaultDelimiterStr, delimiterchar, dolqstart, insideSingleQuoteStr, insqlpluscmd, keyword_type_column, keyword_type_identifier, keyword_type_keyword, keyword_type_reserved, MAX_TOKEN_COLUMN_SIZE, MAX_TOKEN_SIZE, stringLiteralStartWithUnicodeSingleQuote, tmpDelimiter, TOKEN_TABLE, UNICODE_ENCODE_ID, xconst, yyinput| Constructor and Description |
|---|
TLexerTeradata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeColumnName(int tokencode) |
EFindSqlStateType |
cmdType(TSourceToken token) |
static EKeywordType |
getKeywordType(String keyword) |
int |
getkeywordvalue(String keyword) |
int |
iskeyword(String str) |
void |
setTeradataUtilityType(TeradataUtilityType teradataUtilityType) |
getKeywordType, getSqlCharset, getStringByCode, isAtBeginOfLine, isKeyword, isSingleCharOperator, reset, resetTokenTable, setSqlCharset, setTokenTableValue, yylexwrappublic TSourceTokenList sourcetokens
public TLexerTeradata()
public void setTeradataUtilityType(TeradataUtilityType teradataUtilityType)
public boolean canBeColumnName(int tokencode)
public EFindSqlStateType cmdType(TSourceToken token)
public int iskeyword(String str)
iskeyword in class TCustomLexerpublic static EKeywordType getKeywordType(String keyword)
public int getkeywordvalue(String keyword)
getkeywordvalue in class TCustomLexer