@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Contains the metadata for a column.
Constructor and Description |
---|
ColumnMetadata() |
Modifier and Type | Method and Description |
---|---|
ColumnMetadata |
clone() |
boolean |
equals(Object obj) |
Integer |
getArrayBaseColumnType()
The type of the column.
|
Boolean |
getIsAutoIncrement()
A value that indicates whether the column increments automatically.
|
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.
|
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 owns the table that includes the column.
|
String |
getTableName()
The name of the table that includes the column.
|
Integer |
getType()
The type of the column.
|
String |
getTypeName()
The database-specific data type of the column.
|
int |
hashCode() |
Boolean |
isAutoIncrement()
A value that indicates whether the column increments automatically.
|
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 |
setArrayBaseColumnType(Integer arrayBaseColumnType)
The type of the column.
|
void |
setIsAutoIncrement(Boolean isAutoIncrement)
A value that indicates whether the column increments automatically.
|
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 |
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 owns the table that includes the column.
|
void |
setTableName(String tableName)
The name of the table that includes the column.
|
void |
setType(Integer type)
The type of the column.
|
void |
setTypeName(String typeName)
The database-specific data type of the column.
|
String |
toString()
Returns a string representation of this object.
|
ColumnMetadata |
withArrayBaseColumnType(Integer arrayBaseColumnType)
The type of the column.
|
ColumnMetadata |
withIsAutoIncrement(Boolean isAutoIncrement)
A value that indicates whether the column increments automatically.
|
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 |
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 owns the table that includes the column.
|
ColumnMetadata |
withTableName(String tableName)
The name of the table that includes the column.
|
ColumnMetadata |
withType(Integer type)
The type of the column.
|
ColumnMetadata |
withTypeName(String typeName)
The database-specific data type 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 setType(Integer type)
The type of the column.
type
- The type of the column.public Integer getType()
The type of the column.
public ColumnMetadata withType(Integer type)
The type of the column.
type
- The type of 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 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 setSchemaName(String schemaName)
The name of the schema that owns the table that includes the column.
schemaName
- The name of the schema that owns the table that includes the column.public String getSchemaName()
The name of the schema that owns the table that includes the column.
public ColumnMetadata withSchemaName(String schemaName)
The name of the schema that owns the table that includes the column.
schemaName
- The name of the schema that owns 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 setIsAutoIncrement(Boolean isAutoIncrement)
A value that indicates whether the column increments automatically.
isAutoIncrement
- A value that indicates whether the column increments automatically.public Boolean getIsAutoIncrement()
A value that indicates whether the column increments automatically.
public ColumnMetadata withIsAutoIncrement(Boolean isAutoIncrement)
A value that indicates whether the column increments automatically.
isAutoIncrement
- A value that indicates whether the column increments automatically.public Boolean isAutoIncrement()
A value that indicates whether the column increments automatically.
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 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 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 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 setArrayBaseColumnType(Integer arrayBaseColumnType)
The type of the column.
arrayBaseColumnType
- The type of the column.public Integer getArrayBaseColumnType()
The type of the column.
public ColumnMetadata withArrayBaseColumnType(Integer arrayBaseColumnType)
The type of the column.
arrayBaseColumnType
- The 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.