public final class ResolutionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static double |
getConfidence(TObjectName column)
Get the resolution confidence of a column
|
static String |
getDataType(TObjectName column)
Get the data type of a column (if column definition exists)
|
static String |
getDisplayName(TObjectName column)
Get the display name of a column (table.column format)
|
static String |
getFullTableName(TTable table)
Get the full table name (including schema)
|
static String |
getTableDisplayName(TTable table)
Get the display name of a table
Format: schema.table, alias(subquery), cte_name(CTE)
|
static boolean |
isCalculatedColumn(TObjectName column)
Check if it is a calculated column
|
static boolean |
isColumnAlias(TObjectName column)
Check if it is a column alias
|
static boolean |
isCTE(TTable table)
Check if it is a CTE reference
|
static boolean |
isFunction(TTable table)
Check if it is a function table
|
static boolean |
isPhysicalTable(TTable table)
Check if it is a physical table
|
static boolean |
isResolved(TObjectName column)
Check if a column is resolved
|
static boolean |
isStarColumn(TObjectName column)
Check if it is a star column
|
static boolean |
isSubquery(TTable table)
Check if it is a subquery
|
public static boolean isResolved(TObjectName column)
public static double getConfidence(TObjectName column)
public static boolean isCalculatedColumn(TObjectName column)
public static boolean isColumnAlias(TObjectName column)
public static boolean isStarColumn(TObjectName column)
public static String getDisplayName(TObjectName column)
public static String getDataType(TObjectName column)
public static boolean isPhysicalTable(TTable table)
public static boolean isSubquery(TTable table)
public static boolean isFunction(TTable table)
public static String getTableDisplayName(TTable table)
public static String getFullTableName(TTable table)