public interface Column
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Object |
AUTO_NUMBER
Meaningless placeholder object for inserting values in an autonumber
column.
|
static java.lang.Object |
KEEP_VALUE
Meaningless placeholder object for updating rows which indicates that a
given column should keep its existing value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnIndex() |
ColumnValidator |
getColumnValidator()
Gets currently configured ColumnValidator (always non-
null). |
ComplexColumnInfo<? extends ComplexValue> |
getComplexInfo()
Returns extended functionality for "complex" columns.
|
Database |
getDatabase() |
short |
getLength() |
short |
getLengthInUnits() |
java.lang.String |
getName() |
byte |
getPrecision() |
PropertyMap |
getProperties() |
java.lang.Object |
getRowValue(java.util.Map<java.lang.String,?> rowMap) |
java.lang.Object |
getRowValue(java.lang.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 |
isCalculated()
Returns whether or not this is a calculated column.
|
boolean |
isCompressedUnicode() |
boolean |
isHyperlink()
Returns whether or not this is a hyperlink column (only possible for
columns of type MEMO).
|
boolean |
isVariableLength() |
void |
setColumnValidator(ColumnValidator newValidator)
Sets a new ColumnValidator.
|
java.lang.Object |
setRowValue(java.util.Map<java.lang.String,java.lang.Object> rowMap,
java.lang.Object value) |
java.lang.Object |
setRowValue(java.lang.Object[] rowArray,
java.lang.Object value) |
static final java.lang.Object AUTO_NUMBER
static final java.lang.Object KEEP_VALUE
Table getTable()
Database getDatabase()
java.lang.String getName()
boolean isVariableLength()
boolean isAutoNumber()
int getColumnIndex()
DataType getType()
int getSQLType()
throws java.sql.SQLException
java.sql.SQLExceptionboolean isCompressedUnicode()
byte getPrecision()
byte getScale()
short getLength()
short getLengthInUnits()
boolean isAppendOnly()
boolean isHyperlink()
boolean isCalculated()
ComplexColumnInfo<? extends ComplexValue> getComplexInfo()
PropertyMap getProperties() throws java.io.IOException
java.io.IOExceptionColumn getVersionHistoryColumn()
ColumnValidator getColumnValidator()
null).void setColumnValidator(ColumnValidator newValidator)
null, resets to the value
returned from the Database's ColumnValidatorFactory (if the factory
returns null, then the default is used). Autonumber columns
cannot have a validator instance other than the default.java.lang.IllegalArgumentException - if an attempt is made to set a
non-null ColumnValidator instance on an autonumber columnjava.lang.Object setRowValue(java.lang.Object[] rowArray,
java.lang.Object value)
java.lang.Object setRowValue(java.util.Map<java.lang.String,java.lang.Object> rowMap,
java.lang.Object value)
java.lang.Object getRowValue(java.lang.Object[] rowArray)
java.lang.Object getRowValue(java.util.Map<java.lang.String,?> rowMap)