public class TSqlCmdsAdapter extends Object implements ISqlCmds
| Constructor and Description |
|---|
TSqlCmdsAdapter(EDbVendor vendor) |
| Modifier and Type | Method and Description |
|---|---|
ESqlStatementType |
findSybaseCmdInternal(TSourceToken token)
Internal helper for Sybase to find command type.
|
TSqlCmdList |
getSqlCmdList()
Gets the command list for this vendor (for compatibility and debugging).
|
ESqlStatementType |
getStatementTypeForToken(TSourceToken token)
Finds SQL command type for yacc parser integration.
|
EDbVendor |
getVendor()
Gets the vendor this command resolver handles.
|
TCustomSqlStatement |
issql(TSourceToken token,
EFindSqlStateType state,
TCustomSqlStatement currentStatement)
Identifies the SQL statement type from a token stream.
|
public TSqlCmdsAdapter(EDbVendor vendor)
public TCustomSqlStatement issql(TSourceToken token, EFindSqlStateType state, TCustomSqlStatement currentStatement)
ISqlCmdspublic ESqlStatementType getStatementTypeForToken(TSourceToken token)
ISqlCmdsgetStatementTypeForToken in interface ISqlCmdstoken - Token to analyzepublic EDbVendor getVendor()
ISqlCmdspublic TSqlCmdList getSqlCmdList()
ISqlCmdsgetSqlCmdList in interface ISqlCmdspublic ESqlStatementType findSybaseCmdInternal(TSourceToken token)