Interface ViewRepresentation.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ViewRepresentation.Builder,,- ViewRepresentation> - SdkBuilder<ViewRepresentation.Builder,,- ViewRepresentation> - SdkPojo
- Enclosing class:
- ViewRepresentation
- 
Method SummaryModifier 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) TheSELECTquery provided by the customer duringCREATE VIEW DDL.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
dialectThe 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:
 
- 
dialectThe 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:
 
- 
dialectVersionThe 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.
 
- 
viewOriginalTextThe 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- The- SELECTquery provided by the customer during- CREATE VIEW DDL. This SQL is not used during a query on a view (- ViewExpandedTextis used instead).- ViewOriginalTextis used for cases like- SHOW 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.
 
- 
viewExpandedTextThe 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 transform- ViewOriginalTextto- ViewExpandedText. 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.
 
- 
 
- 
validationConnectionThe 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.
 
- 
isStaleDialects 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.
 
 
-