public static interface ResultSetMetadata.Builder extends SdkPojo, CopyableBuilder<ResultSetMetadata.Builder,ResultSetMetadata>
| Modifier and Type | Method and Description |
|---|---|
ResultSetMetadata.Builder |
columnCount(Long columnCount)
The number of columns in the result set.
|
ResultSetMetadata.Builder |
columnMetadata(Collection<ColumnMetadata> columnMetadata)
The metadata of the columns in the result set.
|
ResultSetMetadata.Builder |
columnMetadata(ColumnMetadata... columnMetadata)
The metadata of the columns in the result set.
|
ResultSetMetadata.Builder |
columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)
The metadata of the columns in the result set.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResultSetMetadata.Builder columnCount(Long columnCount)
The number of columns in the result set.
columnCount - The number of columns in the result set.ResultSetMetadata.Builder columnMetadata(Collection<ColumnMetadata> columnMetadata)
The metadata of the columns in the result set.
columnMetadata - The metadata of the columns in the result set.ResultSetMetadata.Builder columnMetadata(ColumnMetadata... columnMetadata)
The metadata of the columns in the result set.
columnMetadata - The metadata of the columns in the result set.ResultSetMetadata.Builder columnMetadata(Consumer<ColumnMetadata.Builder>... columnMetadata)
The metadata of the columns in the result set.
This is a convenience method that creates an instance of theColumnMetadata.Builder avoiding the need to create one
manually via ColumnMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #columnMetadata(List.
columnMetadata - a consumer that will call methods on
ColumnMetadata.Builder#columnMetadata(java.util.Collection) Copyright © 2023. All rights reserved.