@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ColumnMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ColumnMetadata() |
Modifier and Type | Method and Description |
---|---|
ColumnMetadata |
clone() |
boolean |
equals(Object obj) |
Integer |
getArrayBaseColumnType()
Homogenous array base SQL type from java.sql.Types.
|
Boolean |
getIsAutoIncrement()
Whether the designated column is automatically numbered
|
Boolean |
getIsCaseSensitive()
Whether values in the designated column's case matters
|
Boolean |
getIsCurrency()
Whether values in the designated column is a cash value
|
Boolean |
getIsSigned()
Whether values in the designated column are signed numbers
|
String |
getLabel()
Usually specified by the SQL AS.
|
String |
getName()
Name of the column.
|
Integer |
getNullable()
Indicates the nullability of values in the designated column.
|
Integer |
getPrecision()
Get the designated column's specified column size.For numeric data, this is the maximum precision.
|
Integer |
getScale()
Designated column's number of digits to right of the decimal point.
|
String |
getSchemaName()
Designated column's table's schema
|
String |
getTableName()
Designated column's table name
|
Integer |
getType()
SQL type from java.sql.Types.
|
String |
getTypeName()
Database-specific type name.
|
int |
hashCode() |
Boolean |
isAutoIncrement()
Whether the designated column is automatically numbered
|
Boolean |
isCaseSensitive()
Whether values in the designated column's case matters
|
Boolean |
isCurrency()
Whether values in the designated column is a cash value
|
Boolean |
isSigned()
Whether values in the designated column are signed numbers
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArrayBaseColumnType(Integer arrayBaseColumnType)
Homogenous array base SQL type from java.sql.Types.
|
void |
setIsAutoIncrement(Boolean isAutoIncrement)
Whether the designated column is automatically numbered
|
void |
setIsCaseSensitive(Boolean isCaseSensitive)
Whether values in the designated column's case matters
|
void |
setIsCurrency(Boolean isCurrency)
Whether values in the designated column is a cash value
|
void |
setIsSigned(Boolean isSigned)
Whether values in the designated column are signed numbers
|
void |
setLabel(String label)
Usually specified by the SQL AS.
|
void |
setName(String name)
Name of the column.
|
void |
setNullable(Integer nullable)
Indicates the nullability of values in the designated column.
|
void |
setPrecision(Integer precision)
Get the designated column's specified column size.For numeric data, this is the maximum precision.
|
void |
setScale(Integer scale)
Designated column's number of digits to right of the decimal point.
|
void |
setSchemaName(String schemaName)
Designated column's table's schema
|
void |
setTableName(String tableName)
Designated column's table name
|
void |
setType(Integer type)
SQL type from java.sql.Types.
|
void |
setTypeName(String typeName)
Database-specific type name.
|
String |
toString()
Returns a string representation of this object.
|
ColumnMetadata |
withArrayBaseColumnType(Integer arrayBaseColumnType)
Homogenous array base SQL type from java.sql.Types.
|
ColumnMetadata |
withIsAutoIncrement(Boolean isAutoIncrement)
Whether the designated column is automatically numbered
|
ColumnMetadata |
withIsCaseSensitive(Boolean isCaseSensitive)
Whether values in the designated column's case matters
|
ColumnMetadata |
withIsCurrency(Boolean isCurrency)
Whether values in the designated column is a cash value
|
ColumnMetadata |
withIsSigned(Boolean isSigned)
Whether values in the designated column are signed numbers
|
ColumnMetadata |
withLabel(String label)
Usually specified by the SQL AS.
|
ColumnMetadata |
withName(String name)
Name of the column.
|
ColumnMetadata |
withNullable(Integer nullable)
Indicates the nullability of values in the designated column.
|
ColumnMetadata |
withPrecision(Integer precision)
Get the designated column's specified column size.For numeric data, this is the maximum precision.
|
ColumnMetadata |
withScale(Integer scale)
Designated column's number of digits to right of the decimal point.
|
ColumnMetadata |
withSchemaName(String schemaName)
Designated column's table's schema
|
ColumnMetadata |
withTableName(String tableName)
Designated column's table name
|
ColumnMetadata |
withType(Integer type)
SQL type from java.sql.Types.
|
ColumnMetadata |
withTypeName(String typeName)
Database-specific type name.
|
public void setArrayBaseColumnType(Integer arrayBaseColumnType)
arrayBaseColumnType
- Homogenous array base SQL type from java.sql.Types.public Integer getArrayBaseColumnType()
public ColumnMetadata withArrayBaseColumnType(Integer arrayBaseColumnType)
arrayBaseColumnType
- Homogenous array base SQL type from java.sql.Types.public void setIsAutoIncrement(Boolean isAutoIncrement)
isAutoIncrement
- Whether the designated column is automatically numberedpublic Boolean getIsAutoIncrement()
public ColumnMetadata withIsAutoIncrement(Boolean isAutoIncrement)
isAutoIncrement
- Whether the designated column is automatically numberedpublic Boolean isAutoIncrement()
public void setIsCaseSensitive(Boolean isCaseSensitive)
isCaseSensitive
- Whether values in the designated column's case matterspublic Boolean getIsCaseSensitive()
public ColumnMetadata withIsCaseSensitive(Boolean isCaseSensitive)
isCaseSensitive
- Whether values in the designated column's case matterspublic Boolean isCaseSensitive()
public void setIsCurrency(Boolean isCurrency)
isCurrency
- Whether values in the designated column is a cash valuepublic Boolean getIsCurrency()
public ColumnMetadata withIsCurrency(Boolean isCurrency)
isCurrency
- Whether values in the designated column is a cash valuepublic Boolean isCurrency()
public void setIsSigned(Boolean isSigned)
isSigned
- Whether values in the designated column are signed numberspublic Boolean getIsSigned()
public ColumnMetadata withIsSigned(Boolean isSigned)
isSigned
- Whether values in the designated column are signed numberspublic Boolean isSigned()
public void setLabel(String label)
label
- Usually specified by the SQL AS. If not specified, return column name.public String getLabel()
public ColumnMetadata withLabel(String label)
label
- Usually specified by the SQL AS. If not specified, return column name.public void setName(String name)
name
- Name of the column.public String getName()
public ColumnMetadata withName(String name)
name
- Name of the column.public void setNullable(Integer nullable)
nullable
- Indicates the nullability of values in the designated column. One of columnNoNulls (0), columnNullable
(1), columnNullableUnknown (2)public Integer getNullable()
public ColumnMetadata withNullable(Integer nullable)
nullable
- Indicates the nullability of values in the designated column. One of columnNoNulls (0), columnNullable
(1), columnNullableUnknown (2)public void setPrecision(Integer precision)
precision
- Get the designated column's specified column size.For numeric data, this is the maximum precision. For
character data, this is the length in characters. For datetime datatypes, this is the length in characters
of the String representation (assuming the maximum allowed precision of the fractional seconds component).
For binary data, this is the length in bytes. For the ROWID datatype, this is the length in bytes. 0 is
returned for data types where the column size is not applicable.public Integer getPrecision()
public ColumnMetadata withPrecision(Integer precision)
precision
- Get the designated column's specified column size.For numeric data, this is the maximum precision. For
character data, this is the length in characters. For datetime datatypes, this is the length in characters
of the String representation (assuming the maximum allowed precision of the fractional seconds component).
For binary data, this is the length in bytes. For the ROWID datatype, this is the length in bytes. 0 is
returned for data types where the column size is not applicable.public void setScale(Integer scale)
scale
- Designated column's number of digits to right of the decimal point. 0 is returned for data types where the
scale is not applicable.public Integer getScale()
public ColumnMetadata withScale(Integer scale)
scale
- Designated column's number of digits to right of the decimal point. 0 is returned for data types where the
scale is not applicable.public void setSchemaName(String schemaName)
schemaName
- Designated column's table's schemapublic String getSchemaName()
public ColumnMetadata withSchemaName(String schemaName)
schemaName
- Designated column's table's schemapublic void setTableName(String tableName)
tableName
- Designated column's table namepublic String getTableName()
public ColumnMetadata withTableName(String tableName)
tableName
- Designated column's table namepublic void setType(Integer type)
type
- SQL type from java.sql.Types.public Integer getType()
public ColumnMetadata withType(Integer type)
type
- SQL type from java.sql.Types.public void setTypeName(String typeName)
typeName
- Database-specific type name.public String getTypeName()
public ColumnMetadata withTypeName(String typeName)
typeName
- Database-specific type name.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.