Interface Datum.Builder

    • Method Detail

      • 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.
      • 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).

        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:
        #arrayValue(java.util.Collection)
      • 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.
      • 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.