Package | Description |
---|---|
com.caucho.db.blob | |
com.caucho.db.index | |
com.caucho.db.jdbc | |
com.caucho.db.sql | |
com.caucho.db.table | |
com.caucho.db.xa |
Constructor and Description |
---|
BlobOutputStream(DbTransaction xa,
BlockStore store,
byte[] inode,
int inodeOffset)
Creates a blob output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexCache.delete(BTree btree,
byte[] buffer,
int offset,
int length,
DbTransaction xa)
Remove the index entry.
|
void |
IndexCache.insert(BTree btree,
byte[] buffer,
int offset,
int length,
long value,
DbTransaction xa)
Gets the index entry.
|
long |
IndexCache.lookup(BTree btree,
byte[] buffer,
int offset,
int length,
DbTransaction xa)
Gets the index entry.
|
Modifier and Type | Method and Description |
---|---|
DbTransaction |
ConnectionImpl.getTransaction() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionImpl.setTransaction(DbTransaction xa) |
Modifier and Type | Method and Description |
---|---|
DbTransaction |
QueryContext.getTransaction()
Returns the transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
ExistsQuery.execute(QueryContext queryCtx,
DbTransaction xa)
Executes the query.
|
void |
CreateQuery.execute(QueryContext queryContext,
DbTransaction xa)
Executes the query.
|
abstract void |
Query.execute(QueryContext queryCtx,
DbTransaction xa)
Executes the query.
|
void |
SelectQuery.execute(QueryContext context,
DbTransaction xa)
Executes the query.
|
void |
TempQuery.execute(QueryContext queryCtx,
DbTransaction xa)
Executes the query.
|
SelectCursor |
Query.executeCursor(QueryContext queryCtx,
DbTransaction xa)
Executes the query.
|
SelectCursor |
SelectQuery.executeCursor(QueryContext context,
DbTransaction xa)
Executes the query.
|
boolean |
ExistsQuery.exists(QueryContext context,
DbTransaction xa)
Executes the query.
|
void |
QueryContext.init(DbTransaction xa,
TableIterator[] tableIterators,
boolean isReadOnly)
Initializes the query state.
|
boolean |
SelectQuery.nextCursor(TableIterator[] rows,
QueryContext context,
DbTransaction xa)
Executes the query.
|
protected boolean |
Query.nextTuple(TableIterator[] rows,
int rowLength,
QueryContext queryContext,
DbTransaction xa)
Returns the next tuple from the query.
|
void |
QueryContext.setTransaction(DbTransaction xa)
Sets the transaction.
|
protected boolean |
Query.start(TableIterator[] rows,
int rowLength,
QueryContext queryContext,
DbTransaction xa)
Starts the query.
|
Modifier and Type | Method and Description |
---|---|
DbTransaction |
TableIterator.getTransaction()
Returns the transaction for the iterator.
|
Modifier and Type | Method and Description |
---|---|
void |
TableIterator.init(DbTransaction xa) |
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) |
void |
Column.set(DbTransaction xa,
TableIterator iter,
Expr expr,
QueryContext context)
Sets based on an iterator.
|
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.
|
void |
UniqueConstraint.validate(TableIterator[] sourceRows,
QueryContext queryContext,
DbTransaction xa)
validate the constraint.
|
void |
Constraint.validate(TableIterator[] rows,
QueryContext contstraint,
DbTransaction xa)
Tries to validate the constraint.
|
void |
UniqueIndexColumnConstraint.validate(TableIterator[] sourceRows,
QueryContext context,
DbTransaction xa)
validate the constraint.
|
void |
UniqueSingleColumnConstraint.validate(TableIterator[] sourceRows,
QueryContext queryContext,
DbTransaction xa)
validate the constraint.
|
Modifier and Type | Method and Description |
---|---|
static DbTransaction |
DbTransaction.create() |
static DbTransaction |
DbTransaction.create(ConnectionImpl conn) |