@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The properties (metadata) of a column.
Constructor and Description |
---|
ColumnMetadata() |
Modifier and Type | Method and Description |
---|---|
ColumnMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getColumnDefault()
The default value of the column.
|
Boolean |
getIsCaseSensitive()
A value that indicates whether the column is case-sensitive.
|
Boolean |
getIsCurrency()
A value that indicates whether the column contains currency values.
|
Boolean |
getIsSigned()
A value that indicates whether an integer column is signed.
|
String |
getLabel()
The label for the column.
|
Integer |
getLength()
The length of the column.
|
String |
getName()
The name of the column.
|
Integer |
getNullable()
A value that indicates whether the column is nullable.
|
Integer |
getPrecision()
The precision value of a decimal number column.
|
Integer |
getScale()
The scale value of a decimal number column.
|
String |
getSchemaName()
The name of the schema that contains the table that includes the column.
|
String |
getTableName()
The name of the table that includes the column.
|
String |
getTypeName()
The database-specific data type of the column.
|
int |
hashCode() |
Boolean |
isCaseSensitive()
A value that indicates whether the column is case-sensitive.
|
Boolean |
isCurrency()
A value that indicates whether the column contains currency values.
|
Boolean |
isSigned()
A value that indicates whether an integer column is signed.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setColumnDefault(String columnDefault)
The default value of the column.
|
void |
setIsCaseSensitive(Boolean isCaseSensitive)
A value that indicates whether the column is case-sensitive.
|
void |
setIsCurrency(Boolean isCurrency)
A value that indicates whether the column contains currency values.
|
void |
setIsSigned(Boolean isSigned)
A value that indicates whether an integer column is signed.
|
void |
setLabel(String label)
The label for the column.
|
void |
setLength(Integer length)
The length of the column.
|
void |
setName(String name)
The name of the column.
|
void |
setNullable(Integer nullable)
A value that indicates whether the column is nullable.
|
void |
setPrecision(Integer precision)
The precision value of a decimal number column.
|
void |
setScale(Integer scale)
The scale value of a decimal number column.
|
void |
setSchemaName(String schemaName)
The name of the schema that contains the table that includes the column.
|
void |
setTableName(String tableName)
The name of the table that includes the column.
|
void |
setTypeName(String typeName)
The database-specific data type of the column.
|
String |
toString()
Returns a string representation of this object.
|
ColumnMetadata |
withColumnDefault(String columnDefault)
The default value of the column.
|
ColumnMetadata |
withIsCaseSensitive(Boolean isCaseSensitive)
A value that indicates whether the column is case-sensitive.
|
ColumnMetadata |
withIsCurrency(Boolean isCurrency)
A value that indicates whether the column contains currency values.
|
ColumnMetadata |
withIsSigned(Boolean isSigned)
A value that indicates whether an integer column is signed.
|
ColumnMetadata |
withLabel(String label)
The label for the column.
|
ColumnMetadata |
withLength(Integer length)
The length of the column.
|
ColumnMetadata |
withName(String name)
The name of the column.
|
ColumnMetadata |
withNullable(Integer nullable)
A value that indicates whether the column is nullable.
|
ColumnMetadata |
withPrecision(Integer precision)
The precision value of a decimal number column.
|
ColumnMetadata |
withScale(Integer scale)
The scale value of a decimal number column.
|
ColumnMetadata |
withSchemaName(String schemaName)
The name of the schema that contains the table that includes the column.
|
ColumnMetadata |
withTableName(String tableName)
The name of the table that includes the column.
|
ColumnMetadata |
withTypeName(String typeName)
The database-specific data type of the column.
|
public void setColumnDefault(String columnDefault)
The default value of the column.
columnDefault
- The default value of the column.public String getColumnDefault()
The default value of the column.
public ColumnMetadata withColumnDefault(String columnDefault)
The default value of the column.
columnDefault
- The default value of the column.public void setIsCaseSensitive(Boolean isCaseSensitive)
A value that indicates whether the column is case-sensitive.
isCaseSensitive
- A value that indicates whether the column is case-sensitive.public Boolean getIsCaseSensitive()
A value that indicates whether the column is case-sensitive.
public ColumnMetadata withIsCaseSensitive(Boolean isCaseSensitive)
A value that indicates whether the column is case-sensitive.
isCaseSensitive
- A value that indicates whether the column is case-sensitive.public Boolean isCaseSensitive()
A value that indicates whether the column is case-sensitive.
public void setIsCurrency(Boolean isCurrency)
A value that indicates whether the column contains currency values.
isCurrency
- A value that indicates whether the column contains currency values.public Boolean getIsCurrency()
A value that indicates whether the column contains currency values.
public ColumnMetadata withIsCurrency(Boolean isCurrency)
A value that indicates whether the column contains currency values.
isCurrency
- A value that indicates whether the column contains currency values.public Boolean isCurrency()
A value that indicates whether the column contains currency values.
public void setIsSigned(Boolean isSigned)
A value that indicates whether an integer column is signed.
isSigned
- A value that indicates whether an integer column is signed.public Boolean getIsSigned()
A value that indicates whether an integer column is signed.
public ColumnMetadata withIsSigned(Boolean isSigned)
A value that indicates whether an integer column is signed.
isSigned
- A value that indicates whether an integer column is signed.public Boolean isSigned()
A value that indicates whether an integer column is signed.
public void setLabel(String label)
The label for the column.
label
- The label for the column.public String getLabel()
The label for the column.
public ColumnMetadata withLabel(String label)
The label for the column.
label
- The label for the column.public void setLength(Integer length)
The length of the column.
length
- The length of the column.public Integer getLength()
The length of the column.
public ColumnMetadata withLength(Integer length)
The length of the column.
length
- The length of the column.public void setName(String name)
The name of the column.
name
- The name of the column.public String getName()
The name of the column.
public ColumnMetadata withName(String name)
The name of the column.
name
- The name of the column.public void setNullable(Integer nullable)
A value that indicates whether the column is nullable.
nullable
- A value that indicates whether the column is nullable.public Integer getNullable()
A value that indicates whether the column is nullable.
public ColumnMetadata withNullable(Integer nullable)
A value that indicates whether the column is nullable.
nullable
- A value that indicates whether the column is nullable.public void setPrecision(Integer precision)
The precision value of a decimal number column.
precision
- The precision value of a decimal number column.public Integer getPrecision()
The precision value of a decimal number column.
public ColumnMetadata withPrecision(Integer precision)
The precision value of a decimal number column.
precision
- The precision value of a decimal number column.public void setScale(Integer scale)
The scale value of a decimal number column.
scale
- The scale value of a decimal number column.public Integer getScale()
The scale value of a decimal number column.
public ColumnMetadata withScale(Integer scale)
The scale value of a decimal number column.
scale
- The scale value of a decimal number column.public void setSchemaName(String schemaName)
The name of the schema that contains the table that includes the column.
schemaName
- The name of the schema that contains the table that includes the column.public String getSchemaName()
The name of the schema that contains the table that includes the column.
public ColumnMetadata withSchemaName(String schemaName)
The name of the schema that contains the table that includes the column.
schemaName
- The name of the schema that contains the table that includes the column.public void setTableName(String tableName)
The name of the table that includes the column.
tableName
- The name of the table that includes the column.public String getTableName()
The name of the table that includes the column.
public ColumnMetadata withTableName(String tableName)
The name of the table that includes the column.
tableName
- The name of the table that includes the column.public void setTypeName(String typeName)
The database-specific data type of the column.
typeName
- The database-specific data type of the column.public String getTypeName()
The database-specific data type of the column.
public ColumnMetadata withTypeName(String typeName)
The database-specific data type of the column.
typeName
- The database-specific data type of the column.public String toString()
toString
in class Object
Object.toString()
public ColumnMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.