Class ResolutionUtils
Object
gudusoft.gsqlparser.resolver2.result.ResolutionUtils
Utility methods for resolution results.
Provides convenience methods for checking and formatting resolution results.
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetConfidence(TObjectName column) Get the resolution confidence of a columnstatic StringgetDataType(TObjectName column) Get the data type of a column (if column definition exists)static StringgetDisplayName(TObjectName column) Get the display name of a column (table.column format)static StringgetFullTableName(TTable table) Get the full table name (including schema)static StringgetTableDisplayName(TTable table) Get the display name of a table Format: schema.table, alias(subquery), cte_name(CTE)static booleanisCalculatedColumn(TObjectName column) Check if it is a calculated columnstatic booleanisColumnAlias(TObjectName column) Check if it is a column aliasstatic booleanCheck if it is a CTE referencestatic booleanisFunction(TTable table) Check if it is a function tablestatic booleanisPhysicalTable(TTable table) Check if it is a physical tablestatic booleanisResolved(TObjectName column) Check if a column is resolvedstatic booleanisStarColumn(TObjectName column) Check if it is a star columnstatic booleanisSubquery(TTable table) Check if it is a subquery
-
Method Details
-
isResolved
Check if a column is resolved -
getConfidence
Get the resolution confidence of a column -
isCalculatedColumn
Check if it is a calculated column -
isColumnAlias
Check if it is a column alias -
isStarColumn
Check if it is a star column -
getDisplayName
Get the display name of a column (table.column format) -
getDataType
Get the data type of a column (if column definition exists) -
isPhysicalTable
Check if it is a physical table -
isCTE
Check if it is a CTE reference -
isSubquery
Check if it is a subquery -
isFunction
Check if it is a function table -
getTableDisplayName
Get the display name of a table Format: schema.table, alias(subquery), cte_name(CTE) -
getFullTableName
Get the full table name (including schema)
-