public class ColumnMetadata extends Object implements Comparable
| Constructor and Description |
|---|
ColumnMetadata(ResultSet columnMetadataRs) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object rhs) |
Integer |
getCharOctetLength() |
int |
getDataType() |
Integer |
getDecimalDigits() |
String |
getName() |
int |
getPosition() |
int |
getSize() |
String |
getTypeName() |
boolean |
isAutoIncrement() |
boolean |
isNullable() |
void |
setAutoIncrement(boolean autoIncrement) |
void |
setCharOctetLength(Integer charOctetLength) |
void |
setDataType(int dataType) |
void |
setDecimalDigits(Integer decimalDigits) |
void |
setName(String name) |
void |
setNullable(boolean nullable) |
void |
setPosition(int position) |
void |
setSize(int size) |
void |
setTypeName(String typeName) |
String |
toString() |
String |
toStringFixedWidth(Collection<ColumnMetadata> allColumns) |
String |
typeToString() |
public ColumnMetadata(ResultSet columnMetadataRs) throws SQLException
SQLExceptionpublic String getName()
public void setName(String name)
public int getDataType()
public void setDataType(int dataType)
public String getTypeName()
public void setTypeName(String typeName)
public int getSize()
public void setSize(int size)
public Integer getDecimalDigits()
public void setDecimalDigits(Integer decimalDigits)
public int getPosition()
public void setPosition(int position)
public boolean isNullable()
public void setNullable(boolean nullable)
public Integer getCharOctetLength()
public void setCharOctetLength(Integer charOctetLength)
public boolean isAutoIncrement()
public void setAutoIncrement(boolean autoIncrement)
public String typeToString()
public String toStringFixedWidth(Collection<ColumnMetadata> allColumns)
public int compareTo(Object rhs)
compareTo in interface ComparableCopyright © 2014–2015 B3Partners B.V.. All rights reserved.