Interface ColumnInfo.Builder

  • Method Details

    • name

      The name of the result set column. The name of the result set is available for columns of all data types except for arrays.

      Parameters:
      name - The name of the result set column. The name of the result set is available for columns of all data types except for arrays.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.

      Parameters:
      type - The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The data type of the result set column. The data type can be a scalar or complex. Scalar data types are integers, strings, doubles, Booleans, and others. Complex data types are types such as arrays, rows, and others.

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

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

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