Interface ColumnInfo.Builder

    • Method Detail

      • 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

        ColumnInfo.Builder name​(String 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

        ColumnInfo.Builder type​(String 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

        ColumnInfo.Builder scale​(Integer 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:
        ColumnNullable, ColumnNullable
      • 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:
        ColumnNullable, ColumnNullable
      • 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.