@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The definition of a column in a tabular Dataset.
Constructor and Description |
---|
ColumnDefinition() |
Modifier and Type | Method and Description |
---|---|
ColumnDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getColumnDescription()
Description for a column.
|
String |
getColumnName()
The name of a column.
|
String |
getDataType()
Data type of a column.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnDescription(String columnDescription)
Description for a column.
|
void |
setColumnName(String columnName)
The name of a column.
|
void |
setDataType(String dataType)
Data type of a column.
|
String |
toString()
Returns a string representation of this object.
|
ColumnDefinition |
withColumnDescription(String columnDescription)
Description for a column.
|
ColumnDefinition |
withColumnName(String columnName)
The name of a column.
|
ColumnDefinition |
withDataType(ColumnDataType dataType)
Data type of a column.
|
ColumnDefinition |
withDataType(String dataType)
Data type of a column.
|
public void setDataType(String 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.
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.
ColumnDataType
public String getDataType()
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.
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.
ColumnDataType
public ColumnDefinition withDataType(String 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.
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.
ColumnDataType
public ColumnDefinition withDataType(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.
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.
ColumnDataType
public void setColumnName(String columnName)
The name of a column.
columnName
- The name of a column.public String getColumnName()
The name of a column.
public ColumnDefinition withColumnName(String columnName)
The name of a column.
columnName
- The name of a column.public void setColumnDescription(String columnDescription)
Description for a column.
columnDescription
- Description for a column.public String getColumnDescription()
Description for a column.
public ColumnDefinition withColumnDescription(String columnDescription)
Description for a column.
columnDescription
- Description for a column.public String toString()
toString
in class Object
Object.toString()
public ColumnDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.