Interface ViewRepresentation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ViewRepresentation.Builder,
,ViewRepresentation> SdkBuilder<ViewRepresentation.Builder,
,ViewRepresentation> SdkPojo
- Enclosing class:
ViewRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionThe dialect of the query engine.dialect
(ViewDialect dialect) The dialect of the query engine.dialectVersion
(String dialectVersion) The version of the dialect of the query engine.Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.validationConnection
(String validationConnection) The name of the connection to be used to validate the specific representation of the view.viewExpandedText
(String viewExpandedText) The expanded SQL for the view.viewOriginalText
(String viewOriginalText) TheSELECT
query provided by the customer duringCREATE VIEW DDL
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dialect
The dialect of the query engine.
- Parameters:
dialect
- The dialect of the query engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dialect
The dialect of the query engine.
- Parameters:
dialect
- The dialect of the query engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dialectVersion
The version of the dialect of the query engine. For example, 3.0.0.
- Parameters:
dialectVersion
- The version of the dialect of the query engine. For example, 3.0.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewOriginalText
The
SELECT
query provided by the customer duringCREATE VIEW DDL
. This SQL is not used during a query on a view (ViewExpandedText
is used instead).ViewOriginalText
is used for cases likeSHOW CREATE VIEW
where users want to see the original DDL command that created the view.- Parameters:
viewOriginalText
- TheSELECT
query provided by the customer duringCREATE VIEW DDL
. This SQL is not used during a query on a view (ViewExpandedText
is used instead).ViewOriginalText
is used for cases likeSHOW CREATE VIEW
where users want to see the original DDL command that created the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewExpandedText
The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transform
ViewOriginalText
toViewExpandedText
. For example:-
Fully qualified identifiers:
SELECT * from table1 -> SELECT * from db1.table1
- Parameters:
viewExpandedText
- The expanded SQL for the view. This SQL is used by engines while processing a query on a view. Engines may perform operations during view creation to transformViewOriginalText
toViewExpandedText
. For example:-
Fully qualified identifiers:
SELECT * from table1 -> SELECT * from db1.table1
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
validationConnection
The name of the connection to be used to validate the specific representation of the view.
- Parameters:
validationConnection
- The name of the connection to be used to validate the specific representation of the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isStale
Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.
- Parameters:
isStale
- Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-