Interface ViewRepresentation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ViewRepresentation.Builder,ViewRepresentation>,SdkBuilder<ViewRepresentation.Builder,ViewRepresentation>,SdkPojo
- Enclosing class:
- ViewRepresentation
public static interface ViewRepresentation.Builder extends SdkPojo, CopyableBuilder<ViewRepresentation.Builder,ViewRepresentation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ViewRepresentation.Builderdialect(String dialect)The dialect of the query engine.ViewRepresentation.Builderdialect(ViewDialect dialect)The dialect of the query engine.ViewRepresentation.BuilderdialectVersion(String dialectVersion)The version of the dialect of the query engine.ViewRepresentation.BuilderisStale(Boolean isStale)Dialects marked as stale are no longer valid and must be updated before they can be queried in their respective query engines.ViewRepresentation.BuildervalidationConnection(String validationConnection)The name of the connection to be used to validate the specific representation of the view.ViewRepresentation.BuilderviewExpandedText(String viewExpandedText)The expanded SQL for the view.ViewRepresentation.BuilderviewOriginalText(String viewOriginalText)TheSELECTquery 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 Detail
-
dialect
ViewRepresentation.Builder dialect(String 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:
ViewDialect,ViewDialect
-
dialect
ViewRepresentation.Builder dialect(ViewDialect 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:
ViewDialect,ViewDialect
-
dialectVersion
ViewRepresentation.Builder dialectVersion(String 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
ViewRepresentation.Builder viewOriginalText(String viewOriginalText)
The
SELECTquery provided by the customer duringCREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedTextis used instead).ViewOriginalTextis used for cases likeSHOW CREATE VIEWwhere users want to see the original DDL command that created the view.- Parameters:
viewOriginalText- TheSELECTquery provided by the customer duringCREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedTextis used instead).ViewOriginalTextis used for cases likeSHOW CREATE VIEWwhere 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
ViewRepresentation.Builder viewExpandedText(String 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
ViewOriginalTexttoViewExpandedText. 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 transformViewOriginalTexttoViewExpandedText. 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
ViewRepresentation.Builder validationConnection(String 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
ViewRepresentation.Builder isStale(Boolean 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.
-
-