public static interface SubStatementData.Builder extends SdkPojo, CopyableBuilder<SubStatementData.Builder,SubStatementData>
| Modifier and Type | Method and Description |
|---|---|
SubStatementData.Builder |
createdAt(Instant createdAt)
The date and time (UTC) the statement was created.
|
SubStatementData.Builder |
duration(Long duration)
The amount of time in nanoseconds that the statement ran.
|
SubStatementData.Builder |
error(String error)
The error message from the cluster if the SQL statement encountered an error while running.
|
SubStatementData.Builder |
hasResultSet(Boolean hasResultSet)
A value that indicates whether the statement has a result set.
|
SubStatementData.Builder |
id(String id)
The identifier of the SQL statement.
|
SubStatementData.Builder |
queryString(String queryString)
The SQL statement text.
|
SubStatementData.Builder |
redshiftQueryId(Long redshiftQueryId)
The SQL statement identifier.
|
SubStatementData.Builder |
resultRows(Long resultRows)
Either the number of rows returned from the SQL statement or the number of rows affected.
|
SubStatementData.Builder |
resultSize(Long resultSize)
The size in bytes of the returned results.
|
SubStatementData.Builder |
status(StatementStatusString status)
The status of the SQL statement.
|
SubStatementData.Builder |
status(String status)
The status of the SQL statement.
|
SubStatementData.Builder |
updatedAt(Instant updatedAt)
The date and time (UTC) that the statement metadata was last updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSubStatementData.Builder createdAt(Instant createdAt)
The date and time (UTC) the statement was created.
createdAt - The date and time (UTC) the statement was created.SubStatementData.Builder duration(Long duration)
The amount of time in nanoseconds that the statement ran.
duration - The amount of time in nanoseconds that the statement ran.SubStatementData.Builder error(String error)
The error message from the cluster if the SQL statement encountered an error while running.
error - The error message from the cluster if the SQL statement encountered an error while running.SubStatementData.Builder hasResultSet(Boolean hasResultSet)
A value that indicates whether the statement has a result set. The result set can be empty. The value is true for an empty result set.
hasResultSet - A value that indicates whether the statement has a result set. The result set can be empty. The value
is true for an empty result set.SubStatementData.Builder id(String id)
The identifier of the SQL statement. This value is a universally unique identifier (UUID) generated by Amazon
Redshift Data API. A suffix indicates the number of the SQL statement. For example,
d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the second
SQL statement of a batch query.
id - The identifier of the SQL statement. This value is a universally unique identifier (UUID) generated by
Amazon Redshift Data API. A suffix indicates the number of the SQL statement. For example,
d9b6c0c9-0747-4bf4-b142-e8883122f766:2 has a suffix of :2 that indicates the
second SQL statement of a batch query.SubStatementData.Builder queryString(String queryString)
The SQL statement text.
queryString - The SQL statement text.SubStatementData.Builder redshiftQueryId(Long redshiftQueryId)
The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
redshiftQueryId - The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon
Redshift Data API.SubStatementData.Builder resultRows(Long resultRows)
Either the number of rows returned from the SQL statement or the number of rows affected. If result size is
greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT,
UPDATE, DELETE, COPY, and others. A -1 indicates the value is null.
resultRows - Either the number of rows returned from the SQL statement or the number of rows affected. If result
size is greater than zero, the result rows can be the number of rows affected by SQL statements such
as INSERT, UPDATE, DELETE, COPY, and others. A -1 indicates the value is null.SubStatementData.Builder resultSize(Long resultSize)
The size in bytes of the returned results. A -1 indicates the value is null.
resultSize - The size in bytes of the returned results. A -1 indicates the value is null.SubStatementData.Builder status(String status)
The status of the SQL statement. An example is the that the SQL statement finished.
status - The status of the SQL statement. An example is the that the SQL statement finished.StatementStatusString,
StatementStatusStringSubStatementData.Builder status(StatementStatusString status)
The status of the SQL statement. An example is the that the SQL statement finished.
status - The status of the SQL statement. An example is the that the SQL statement finished.StatementStatusString,
StatementStatusStringSubStatementData.Builder updatedAt(Instant updatedAt)
The date and time (UTC) that the statement metadata was last updated.
updatedAt - The date and time (UTC) that the statement metadata was last updated.Copyright © 2022. All rights reserved.