public static interface ColumnInfo.Builder extends SdkPojo, CopyableBuilder<ColumnInfo.Builder,ColumnInfo>
| Modifier and Type | Method and Description |
|---|---|
ColumnInfo.Builder |
name(String name)
The name of the result set column.
|
default ColumnInfo.Builder |
type(Consumer<Type.Builder> type)
The data type of the result set column.
|
ColumnInfo.Builder |
type(Type type)
The data type of the result set column.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildColumnInfo.Builder name(String 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.
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.ColumnInfo.Builder type(Type 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.
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.default ColumnInfo.Builder type(Consumer<Type.Builder> 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 theType.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).
type - a consumer that will call methods on Type.Buildertype(Type)Copyright © 2023. All rights reserved.