@Generated(value="software.amazon.awssdk:codegen") public final class ColumnDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ColumnDefinition.Builder,ColumnDefinition>
The definition of a column in a tabular Dataset.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ColumnDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ColumnDefinition.Builder |
builder() |
String |
columnDescription()
Description for a column.
|
String |
columnName()
Name for a column.
|
ColumnDataType |
dataType()
Data type of a column.
|
String |
dataTypeAsString()
Data type of a column.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ColumnDefinition.Builder> |
serializableBuilderClass() |
ColumnDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ColumnDataType dataType()
Data type of a column.
STRING - A String data type.
CHAR - A char data type.
INTEGER - An integer data type.
TINYINT - A tinyint data type.
SMALLINT - A smallint data type.
BIGINT - A bigint data type.
FLOAT - A float data type.
DOUBLE - A double data type.
DATE - A date data type.
DATETIME - A datetime data type.
BOOLEAN - A boolean data type.
BINARY - A binary data type.
If the service returns an enum value that is not available in the current SDK version, dataType will
return ColumnDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
STRING - A String data type.
CHAR - A char data type.
INTEGER - An integer data type.
TINYINT - A tinyint data type.
SMALLINT - A smallint data type.
BIGINT - A bigint data type.
FLOAT - A float data type.
DOUBLE - A double data type.
DATE - A date data type.
DATETIME - A datetime data type.
BOOLEAN - A boolean data type.
BINARY - A binary data type.
ColumnDataTypepublic final String dataTypeAsString()
Data type of a column.
STRING - A String data type.
CHAR - A char data type.
INTEGER - An integer data type.
TINYINT - A tinyint data type.
SMALLINT - A smallint data type.
BIGINT - A bigint data type.
FLOAT - A float data type.
DOUBLE - A double data type.
DATE - A date data type.
DATETIME - A datetime data type.
BOOLEAN - A boolean data type.
BINARY - A binary data type.
If the service returns an enum value that is not available in the current SDK version, dataType will
return ColumnDataType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
dataTypeAsString().
STRING - A String data type.
CHAR - A char data type.
INTEGER - An integer data type.
TINYINT - A tinyint data type.
SMALLINT - A smallint data type.
BIGINT - A bigint data type.
FLOAT - A float data type.
DOUBLE - A double data type.
DATE - A date data type.
DATETIME - A datetime data type.
BOOLEAN - A boolean data type.
BINARY - A binary data type.
ColumnDataTypepublic final String columnName()
Name for a column.
public final String columnDescription()
Description for a column.
public ColumnDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ColumnDefinition.Builder,ColumnDefinition>public static ColumnDefinition.Builder builder()
public static Class<? extends ColumnDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.