@Generated(value="software.amazon.awssdk:codegen") public final class ResultSetMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResultSetMetadata.Builder,ResultSetMetadata>
The metadata of the result set returned by a SQL statement.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResultSetMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResultSetMetadata.Builder |
builder() |
Long |
columnCount()
The number of columns in the result set.
|
List<ColumnMetadata> |
columnMetadata()
The metadata of the columns in the result set.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasColumnMetadata()
Returns true if the ColumnMetadata property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResultSetMetadata.Builder> |
serializableBuilderClass() |
ResultSetMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long columnCount()
The number of columns in the result set.
public final boolean hasColumnMetadata()
public final List<ColumnMetadata> columnMetadata()
The metadata of the columns in the result set.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasColumnMetadata() to see if a value was sent in this field.
public ResultSetMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResultSetMetadata.Builder,ResultSetMetadata>public static ResultSetMetadata.Builder builder()
public static Class<? extends ResultSetMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.