Interface ResultSet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResultSet.Builder,,ResultSet> SdkBuilder<ResultSet.Builder,,ResultSet> SdkPojo
- Enclosing class:
ResultSet
@Mutable
@NotThreadSafe
public static interface ResultSet.Builder
extends SdkPojo, CopyableBuilder<ResultSet.Builder,ResultSet>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResultSet.BuilderresultSetMetadata(Consumer<ResultSetMetadata.Builder> resultSetMetadata) The metadata that describes the column structure and data types of a table of query results.resultSetMetadata(ResultSetMetadata resultSetMetadata) The metadata that describes the column structure and data types of a table of query results.rows(Collection<Row> rows) The rows in the table.rows(Consumer<Row.Builder>... rows) The rows in the table.The rows in the table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rows
The rows in the table.
- Parameters:
rows- The rows in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
The rows in the table.
- Parameters:
rows- The rows in the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rows
The rows in the table.
This is a convenience method that creates an instance of theRow.Builderavoiding the need to create one manually viaRow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torows(List<Row>).- Parameters:
rows- a consumer that will call methods onRow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resultSetMetadata
The metadata that describes the column structure and data types of a table of query results.
- Parameters:
resultSetMetadata- The metadata that describes the column structure and data types of a table of query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultSetMetadata
The metadata that describes the column structure and data types of a table of query results.
This is a convenience method that creates an instance of theResultSetMetadata.Builderavoiding the need to create one manually viaResultSetMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultSetMetadata(ResultSetMetadata).- Parameters:
resultSetMetadata- a consumer that will call methods onResultSetMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-