Interface ColumnInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ColumnInfo.Builder,ColumnInfo>, SdkBuilder<ColumnInfo.Builder,ColumnInfo>, SdkPojo
Enclosing class:
ColumnInfo

public static interface ColumnInfo.Builder extends SdkPojo, CopyableBuilder<ColumnInfo.Builder,ColumnInfo>
  • Method Details

    • catalogName

      ColumnInfo.Builder catalogName(String catalogName)

      The catalog to which the query results belong.

      Parameters:
      catalogName - The catalog to which the query results belong.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schemaName

      ColumnInfo.Builder schemaName(String schemaName)

      The schema name (database name) to which the query results belong.

      Parameters:
      schemaName - The schema name (database name) to which the query results belong.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tableName

      ColumnInfo.Builder tableName(String tableName)

      The table name for the query results.

      Parameters:
      tableName - The table name for the query results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the column.

      Parameters:
      name - The name of the column.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • label

      ColumnInfo.Builder label(String label)

      A column label.

      Parameters:
      label - A column label.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The data type of the column.

      Parameters:
      type - The data type of the column.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • precision

      ColumnInfo.Builder precision(Integer precision)

      For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.

      Parameters:
      precision - For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we recommend up to 18 digits.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scale

      For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.

      Parameters:
      scale - For DECIMAL data types, specifies the total number of digits in the fractional part of the value. Defaults to 0.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nullable

      ColumnInfo.Builder nullable(String nullable)

      Unsupported constraint. This value always shows as UNKNOWN.

      Parameters:
      nullable - Unsupported constraint. This value always shows as UNKNOWN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nullable

      ColumnInfo.Builder nullable(ColumnNullable nullable)

      Unsupported constraint. This value always shows as UNKNOWN.

      Parameters:
      nullable - Unsupported constraint. This value always shows as UNKNOWN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • caseSensitive

      ColumnInfo.Builder caseSensitive(Boolean caseSensitive)

      Indicates whether values in the column are case-sensitive.

      Parameters:
      caseSensitive - Indicates whether values in the column are case-sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.