Package | Description |
---|---|
com.caucho.db.jdbc | |
com.caucho.db.sql | |
com.caucho.db.table |
Modifier and Type | Method and Description |
---|---|
void |
GeneratedKeysResultSet.setColumn(int index,
Column column)
Sets the specified column.
|
Modifier and Type | Method and Description |
---|---|
Column |
Data.getColumn() |
Modifier and Type | Method and Description |
---|---|
void |
Data.setColumn(Column column) |
Modifier and Type | Method and Description |
---|---|
Column |
TableFactory.addBinary(java.lang.String name,
int size)
Adds a binary
|
Column |
TableFactory.addBlob(java.lang.String name)
Adds a blob
|
Column |
TableFactory.addDateTime(java.lang.String name)
Adds a datetime column
|
Column |
TableFactory.addDouble(java.lang.String name)
Adds a double
|
Column |
TableFactory.addIdentity(java.lang.String name)
Adds the identity column
|
Column |
TableFactory.addInteger(java.lang.String name)
Adds an integer
|
Column |
TableFactory.addLong(java.lang.String name)
Adds a long
|
Column |
TableFactory.addNumeric(java.lang.String name,
int precision,
int scale)
Adds a numeric
|
Column |
TableFactory.addShort(java.lang.String name)
Adds a short
|
Column |
TableFactory.addTinytext(java.lang.String name)
Adds a varchar
|
Column |
TableFactory.addVarbinary(java.lang.String name,
int size)
Adds a binary
|
Column |
TableFactory.addVarchar(java.lang.String name,
int size)
Adds a varchar
|
Column |
Table.getAutoIncrementColumn()
Returns the auto-increment column.
|
Column |
Table.getColumn(java.lang.String name)
Returns the column for the given column name.
|
Column[] |
Table.getColumns() |
Modifier and Type | Method and Description |
---|---|
void |
TableIterator.evalToResult(Column column,
SelectResult result)
Evaluates the row to the result.
|
int |
TableIterator.getBuffer(Column column,
byte[] buffer,
int offset)
Evaluates the row to the result.
|
byte[] |
TableIterator.getBytes(Column column)
Returns the column's bytes value.
|
double |
TableIterator.getDouble(Column column)
Returns the column's double value.
|
int |
TableIterator.getInteger(Column column)
Returns the column's value as an integer
|
long |
TableIterator.getLong(Column column)
Returns the column's long value.
|
java.lang.String |
TableIterator.getString(Column column)
Returns the string for the column at the given index.
|
boolean |
TableIterator.isEqual(Column column,
byte[] matchBuffer) |
boolean |
TableIterator.isEqual(Column column,
byte[] matchBuffer,
int matchLength) |
boolean |
TableIterator.isEqual(Column column,
java.lang.String string) |
boolean |
TableIterator.isNull(Column column)
Returns true if the column is null.
|
void |
TableIterator.setDouble(DbTransaction xa,
Column column,
double value)
Returns the double for the column at the given index.
|
void |
TableIterator.setInteger(DbTransaction xa,
Column column,
int value)
Returns the integer for the column at the given index.
|
void |
TableIterator.setLong(DbTransaction xa,
Column column,
long value)
Returns the long for the column at the given index.
|
void |
TableIterator.setString(DbTransaction xa,
Column column,
java.lang.String value)
Returns the string for the column at the given index.
|
Modifier and Type | Method and Description |
---|---|
long |
Table.insert(QueryContext queryContext,
DbTransaction xa,
java.util.ArrayList<Column> columns,
java.util.ArrayList<Expr> values)
Inserts a new row, returning the row address.
|
void |
Table.insertRow(QueryContext queryContext,
DbTransaction xa,
java.util.ArrayList<Column> columns,
java.util.ArrayList<Expr> values,
Block block,
int rowOffset) |
Constructor and Description |
---|
PrimaryKeyConstraint(Column[] unique)
Creates a uniqueness constraint.
|
PrimaryKeySingleColumnConstraint(Column column)
Creates a uniqueness constraint.
|
UniqueConstraint(Column[] uniqueSet)
Creates a uniqueness constraint.
|
UniqueIndexColumnConstraint(Column column)
Creates a uniqueness constraint.
|
UniqueSingleColumnConstraint(Column column)
Creates a uniqueness constraint.
|