Interface Value.Builder

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

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

    • isNull

      Value.Builder isNull(Boolean isNull)

      A NULL value.

      Parameters:
      isNull - A NULL value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bitValue

      Value.Builder bitValue(Boolean bitValue)

      A value for a column of BIT data type.

      Parameters:
      bitValue - A value for a column of BIT data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bigIntValue

      Value.Builder bigIntValue(Long bigIntValue)

      A value for a column of big integer data type.

      Parameters:
      bigIntValue - A value for a column of big integer data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • intValue

      Value.Builder intValue(Integer intValue)

      A value for a column of integer data type.

      Parameters:
      intValue - A value for a column of integer data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • doubleValue

      Value.Builder doubleValue(Double doubleValue)

      A value for a column of double data type.

      Parameters:
      doubleValue - A value for a column of double data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • realValue

      Value.Builder realValue(Float realValue)

      A value for a column of real data type.

      Parameters:
      realValue - A value for a column of real data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stringValue

      Value.Builder stringValue(String stringValue)

      A value for a column of string data type.

      Parameters:
      stringValue - A value for a column of string data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • blobValue

      Value.Builder blobValue(SdkBytes blobValue)

      A value for a column of BLOB data type.

      Parameters:
      blobValue - A value for a column of BLOB data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arrayValues

      Value.Builder arrayValues(Collection<Value> arrayValues)

      An array of column values.

      Parameters:
      arrayValues - An array of column values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arrayValues

      Value.Builder arrayValues(Value... arrayValues)

      An array of column values.

      Parameters:
      arrayValues - An array of column values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arrayValues

      Value.Builder arrayValues(Consumer<Value.Builder>... arrayValues)

      An array of column values.

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

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

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

      Value.Builder structValue(StructValue structValue)

      A value for a column of STRUCT data type.

      Parameters:
      structValue - A value for a column of STRUCT data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • structValue

      default Value.Builder structValue(Consumer<StructValue.Builder> structValue)

      A value for a column of STRUCT data type.

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

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

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