| Package | Description |
|---|---|
| net.aditsu.depeche |
| Modifier and Type | Class and Description |
|---|---|
class |
MutableColumn
Database column details that can be created from scratch and modified
|
| Modifier and Type | Method and Description |
|---|---|
Column |
ColumnInfo.get(int index) |
Column |
ColumnInfo.get(String label)
Returns a column with a given label
|
Column |
TableInfo.getAutoColumn()
Returns the autoincrement column if it exists and is unique, or null otherwise
|
Column |
Field.getColumn()
Returns the column that this field belongs to
|
Column |
Record.getColumn(int x)
Returns a column with a given index
|
Column |
Record.getColumn(String name)
Returns a column with a given name
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MutableTableInfo.add(Column col) |
void |
Provider.addColumn(String table,
Column col)
Adds a column to a table
|
void |
Provider.addColumn(String table,
Column col,
Conn conn)
Adds a column to a table using a given connection
|
void |
Provider.dropColumn(String table,
Column col)
Drops a column from a table
|
void |
Provider.dropColumn(String table,
Column col,
Conn conn)
Drops a column from a table using a given connection
|
String |
Provider.getAddColumnSQL(String table,
Column col)
Returns an SQL command for adding a column to a table
|
String |
Provider.getColumnDesc(Column col) |
abstract String |
ColumnType.getColumnTypeDesc(Provider p,
Column col) |
String |
Provider.getDropColumnSQL(String table,
Column col)
Returns an SQL command for dropping a column from a table
|
List<String> |
Provider.getEnumValues(Column c)
Returns the list of values for a column with an enumerated type
|
List<String> |
PGProvider.getEnumValues(Column c) |
| Constructor and Description |
|---|
MutableColumn(Column col)
Copy constructor
|