Interface Type.Builder

    • Method Detail

      • scalarType

        Type.Builder scalarType​(String scalarType)

        Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.

        Parameters:
        scalarType - Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScalarType, ScalarType
      • scalarType

        Type.Builder scalarType​(ScalarType scalarType)

        Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.

        Parameters:
        scalarType - Indicates if the column is of type string, integer, Boolean, double, timestamp, date, time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScalarType, ScalarType
      • arrayColumnInfo

        Type.Builder arrayColumnInfo​(ColumnInfo arrayColumnInfo)

        Indicates if the column is an array.

        Parameters:
        arrayColumnInfo - Indicates if the column is an array.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeSeriesMeasureValueColumnInfo

        Type.Builder timeSeriesMeasureValueColumnInfo​(ColumnInfo timeSeriesMeasureValueColumnInfo)

        Indicates if the column is a timeseries data type.

        Parameters:
        timeSeriesMeasureValueColumnInfo - Indicates if the column is a timeseries data type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rowColumnInfo

        Type.Builder rowColumnInfo​(Collection<ColumnInfo> rowColumnInfo)

        Indicates if the column is a row.

        Parameters:
        rowColumnInfo - Indicates if the column is a row.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rowColumnInfo

        Type.Builder rowColumnInfo​(ColumnInfo... rowColumnInfo)

        Indicates if the column is a row.

        Parameters:
        rowColumnInfo - Indicates if the column is a row.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rowColumnInfo

        Type.Builder rowColumnInfo​(Consumer<ColumnInfo.Builder>... rowColumnInfo)

        Indicates if the column is a row.

        This is a convenience method that creates an instance of the ColumnInfo.Builder avoiding the need to create one manually via ColumnInfo.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #rowColumnInfo(List).

        Parameters:
        rowColumnInfo - a consumer that will call methods on ColumnInfo.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #rowColumnInfo(java.util.Collection)