public final class TableAccessExtractor extends Object
BoundObjectRef,
using ETableEffectType from the AST's TTable.getEffectType() as
the primary signal, with ESqlStatementType as fallback.
Correctly distinguishes:
| Modifier and Type | Method and Description |
|---|---|
static ETableAccessKind |
inferAccessKind(BoundObjectRef objRef)
Infers the access kind for a table reference.
|
static String |
normalizeTableName(String tableName)
Normalizes a table name for comparison: uppercase, strip quotes, strip schema prefix.
|
public static ETableAccessKind inferAccessKind(BoundObjectRef objRef)
objRef - the bound object reference with properties "tableEffectType" and/or "statementType"public static String normalizeTableName(String tableName)