|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Column
Access database column definition. A Table has a list of Column
instances describing the table schema.
A Column instance is not thread-safe (see Database for more
thread-safety details).
| Field Summary | |
|---|---|
static Object |
AUTO_NUMBER
Meaningless placeholder object for inserting values in an autonumber column. |
static Object |
KEEP_VALUE
Meaningless placeholder object for updating rows which indicates that a given column should keep its existing value. |
| Method Summary | |
|---|---|
int |
getColumnIndex()
|
ComplexColumnInfo<? extends ComplexValue> |
getComplexInfo()
Returns extended functionality for "complex" columns. |
Database |
getDatabase()
|
short |
getLength()
|
short |
getLengthInUnits()
|
String |
getName()
|
byte |
getPrecision()
|
PropertyMap |
getProperties()
|
Object |
getRowValue(Map<String,?> rowMap)
|
Object |
getRowValue(Object[] rowArray)
|
byte |
getScale()
|
int |
getSQLType()
|
Table |
getTable()
|
DataType |
getType()
|
Column |
getVersionHistoryColumn()
Returns the column which tracks the version history for an "append only" column. |
boolean |
isAppendOnly()
Whether or not this column is "append only" (its history is tracked by a separate version history column). |
boolean |
isAutoNumber()
|
boolean |
isCompressedUnicode()
|
boolean |
isHyperlink()
Returns whether or not this is a hyperlink column (only possible for columns of type MEMO). |
boolean |
isVariableLength()
|
Object |
setRowValue(Map<String,Object> rowMap,
Object value)
|
Object |
setRowValue(Object[] rowArray,
Object value)
|
| Field Detail |
|---|
static final Object AUTO_NUMBER
static final Object KEEP_VALUE
| Method Detail |
|---|
Table getTable()
Database getDatabase()
String getName()
boolean isVariableLength()
boolean isAutoNumber()
int getColumnIndex()
DataType getType()
int getSQLType()
throws SQLException
SQLExceptionboolean isCompressedUnicode()
byte getPrecision()
byte getScale()
short getLength()
short getLengthInUnits()
boolean isAppendOnly()
boolean isHyperlink()
ComplexColumnInfo<? extends ComplexValue> getComplexInfo()
PropertyMap getProperties()
throws IOException
IOExceptionColumn getVersionHistoryColumn()
Object setRowValue(Object[] rowArray,
Object value)
Object setRowValue(Map<String,Object> rowMap,
Object value)
Object getRowValue(Object[] rowArray)
Object getRowValue(Map<String,?> rowMap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||