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 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

      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 SELECT query provided by the customer during CREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedText is used instead). ViewOriginalText is used for cases like SHOW CREATE VIEW where users want to see the original DDL command that created the view.

      Parameters:
      viewOriginalText - The SELECT query provided by the customer during CREATE VIEW DDL. This SQL is not used during a query on a view (ViewExpandedText is used instead). ViewOriginalText is used for cases like SHOW 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

      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 ViewOriginalText to ViewExpandedText. 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 ViewOriginalText to 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.
    • 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

      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.