@Generated(value="software.amazon.awssdk:codegen") public final class ColumnInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ColumnInfo.Builder,ColumnInfo>
Information about the columns in a query execution result.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ColumnInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ColumnInfo.Builder |
builder() |
Boolean |
caseSensitive()
Indicates whether values in the column are case-sensitive.
|
String |
catalogName()
The catalog to which the query results belong.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
label()
A column label.
|
String |
name()
The name of the column.
|
ColumnNullable |
nullable()
Indicates the column's nullable status.
|
String |
nullableAsString()
Indicates the column's nullable status.
|
Integer |
precision()
For
DECIMAL data types, specifies the total number of digits, up to 38. |
Integer |
scale()
For
DECIMAL data types, specifies the total number of digits in the fractional part of the value. |
String |
schemaName()
The schema name (database name) to which the query results belong.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ColumnInfo.Builder> |
serializableBuilderClass() |
String |
tableName()
The table name for the query results.
|
ColumnInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The data type of the column.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String catalogName()
The catalog to which the query results belong.
public final String schemaName()
The schema name (database name) to which the query results belong.
public final String tableName()
The table name for the query results.
public final String name()
The name of the column.
public final String label()
A column label.
public final String type()
The data type of the column.
public final Integer precision()
For DECIMAL data types, specifies the total number of digits, up to 38. For performance reasons, we
recommend up to 18 digits.
DECIMAL data types, specifies the total number of digits, up to 38. For performance
reasons, we recommend up to 18 digits.public final Integer scale()
For DECIMAL data types, specifies the total number of digits in the fractional part of the value.
Defaults to 0.
DECIMAL data types, specifies the total number of digits in the fractional part of the
value. Defaults to 0.public final ColumnNullable nullable()
Indicates the column's nullable status.
If the service returns an enum value that is not available in the current SDK version, nullable will
return ColumnNullable.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nullableAsString().
ColumnNullablepublic final String nullableAsString()
Indicates the column's nullable status.
If the service returns an enum value that is not available in the current SDK version, nullable will
return ColumnNullable.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nullableAsString().
ColumnNullablepublic final Boolean caseSensitive()
Indicates whether values in the column are case-sensitive.
public ColumnInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ColumnInfo.Builder,ColumnInfo>public static ColumnInfo.Builder builder()
public static Class<? extends ColumnInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.