Class QueryTrait
java.lang.Object
org.apache.beam.sdk.extensions.sql.zetasql.QueryTrait
QueryTrait.
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addOutputColumnList
(List<com.google.zetasql.resolvedast.ResolvedNodes.ResolvedOutputColumn> outputColumnList) void
addResolvedTable
(org.apache.beam.sdk.extensions.sql.zetasql.TableResolution.SimpleTableWithPath tableWithPath) Store a table together with its full path for repeated resolutions.getTablePath
(com.google.zetasql.Table table) Returns a full table path (exlucding top-level schema) for a given ZetaSQL Table.boolean
isTableResolved
(com.google.zetasql.Table table) True if the table was resolved using the Calcite schema.resolveAlias
(com.google.zetasql.resolvedast.ResolvedColumn resolvedColumn) retrieveFieldNames
(List<com.google.zetasql.resolvedast.ResolvedColumn> resolvedColumnList)
-
Field Details
-
withEntries
-
outputColumnMap
-
resolvedTables
-
-
Constructor Details
-
QueryTrait
public QueryTrait()
-
-
Method Details
-
addOutputColumnList
public void addOutputColumnList(List<com.google.zetasql.resolvedast.ResolvedNodes.ResolvedOutputColumn> outputColumnList) -
addResolvedTable
public void addResolvedTable(org.apache.beam.sdk.extensions.sql.zetasql.TableResolution.SimpleTableWithPath tableWithPath) Store a table together with its full path for repeated resolutions. -
isTableResolved
public boolean isTableResolved(com.google.zetasql.Table table) True if the table was resolved using the Calcite schema. -
getTablePath
Returns a full table path (exlucding top-level schema) for a given ZetaSQL Table. -
retrieveFieldNames
-
resolveAlias
-