@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The data type of the column.
|
copy
public String catalogName()
The catalog to which the query results belong.
public String schemaName()
The schema name (database name) to which the query results belong.
public String tableName()
The table name for the query results.
public String name()
The name of the column.
public String label()
A column label.
public String type()
The data type of the column.
public 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 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 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()
.
ColumnNullable
public 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()
.
ColumnNullable
public Boolean caseSensitive()
Indicates whether values in the column are case-sensitive.
public ColumnInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ColumnInfo.Builder,ColumnInfo>
public static ColumnInfo.Builder builder()
public static Class<? extends ColumnInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.