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

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

    • scalarValue

      Datum.Builder scalarValue(String scalarValue)

      Indicates if the data point is a scalar value such as integer, string, double, or Boolean.

      Parameters:
      scalarValue - Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeSeriesValue

      Datum.Builder timeSeriesValue(Collection<TimeSeriesDataPoint> timeSeriesValue)

      Indicates if the data point is a timeseries data type.

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

      Datum.Builder timeSeriesValue(TimeSeriesDataPoint... timeSeriesValue)

      Indicates if the data point is a timeseries data type.

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

      Datum.Builder timeSeriesValue(Consumer<TimeSeriesDataPoint.Builder>... timeSeriesValue)

      Indicates if the data point is a timeseries data type.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to timeSeriesValue(List<TimeSeriesDataPoint>).

      Parameters:
      timeSeriesValue - a consumer that will call methods on TimeSeriesDataPoint.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • arrayValue

      Datum.Builder arrayValue(Collection<Datum> arrayValue)

      Indicates if the data point is an array.

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

      Datum.Builder arrayValue(Datum... arrayValue)

      Indicates if the data point is an array.

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

      Datum.Builder arrayValue(Consumer<Datum.Builder>... arrayValue)

      Indicates if the data point is an array.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to arrayValue(List<Datum>).

      Parameters:
      arrayValue - a consumer that will call methods on Datum.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rowValue

      Datum.Builder rowValue(Row rowValue)

      Indicates if the data point is a row.

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

      default Datum.Builder rowValue(Consumer<Row.Builder> rowValue)

      Indicates if the data point is a row.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rowValue(Row).

      Parameters:
      rowValue - a consumer that will call methods on Row.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nullValue

      Datum.Builder nullValue(Boolean nullValue)

      Indicates if the data point is null.

      Parameters:
      nullValue - Indicates if the data point is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.