public static interface ResultSet.Builder extends CopyableBuilder<ResultSet.Builder,ResultSet>
Modifier and Type | Method and Description |
---|---|
default ResultSet.Builder |
resultSetMetadata(Consumer<ResultSetMetadata.Builder> resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
|
ResultSet.Builder |
resultSetMetadata(ResultSetMetadata resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
|
ResultSet.Builder |
rows(Collection<Row> rows)
The rows in the table.
|
ResultSet.Builder |
rows(Row... rows)
The rows in the table.
|
copy
apply, build
ResultSet.Builder rows(Collection<Row> rows)
The rows in the table.
rows
- The rows in the table.ResultSet.Builder rows(Row... rows)
The rows in the table.
rows
- The rows in the table.ResultSet.Builder resultSetMetadata(ResultSetMetadata resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
resultSetMetadata
- The metadata that describes the column structure and data types of a table of query results.default ResultSet.Builder resultSetMetadata(Consumer<ResultSetMetadata.Builder> resultSetMetadata)
The metadata that describes the column structure and data types of a table of query results.
This is a convenience that creates an instance of theResultSetMetadata.Builder
avoiding the need to
create one manually via ResultSetMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to resultSetMetadata(ResultSetMetadata)
.resultSetMetadata
- a consumer that will call methods on ResultSetMetadata.Builder
resultSetMetadata(ResultSetMetadata)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.