An abstract implementation of JDBCDatabaseInterface that provides a
connection between a single DatabaseConnection and a DatabaseInterface
implementation.
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
beginLine -
Variable in class com.mckoi.database.sql.Token
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
Checks all the rows in the table for immediate constraint violations
and when the transaction is next committed check for all deferred
constraint violations.
Checks all the rows in the table for immediate constraint violations
and when the transaction is next committed check for all deferred
constraint violations.
Returns >0 if the value pointed to by index1 is greater than the value
pointed to by index2, or &tl; 0 if the value pointed to by index 1 is less
than the value pointed to by index 2.
Constructs the composite table given the 'master_table' (the field
structure this composite dataset is based on), and a list of tables to
be the composite of this table.
Performs all constraint integrity checks and actions to any modifications
based on any changes that happened to the table since that last call to
this method.
Allocates a block of memory in the store of the specified size and returns
an AreaWriter object that can be used to initialize the contents of the
area.
endColumn -
Variable in class com.mckoi.database.sql.Token
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
endLine -
Variable in class com.mckoi.database.sql.Token
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
A single table resource item in a query which handles the behaviour
of resolving references to columns as well as providing various base
utility methods for resolving general variable names.
Returns the Database object for this database providing access to various
general database features including backing up replication and
configuration.
If this transaction implementation defines dynamic tables (tables whose
content is determined by some function), this should return the
table here as a MutableTableDataSource object.
Returns a TableQueryDef object that describes the characteristics of a
table including the name (TableName), the columns (DataTableDef) and the
query plan to produce the table (QueryPlanNode).
Similar to VariableResolver, this method is used by grouping Functions to
find information about the current group being evaluated (used for
evaluating aggregate functions).
Wraps a Throwable thrown by the execution of a query in DatabaseConnection
with an SQLException and puts the appropriate error messages to the debug
log.
Returns true if the given table name is a dynamically generated table and
is not a table that is found in the table list defined in this transaction
object.
An implementation of AbstractStore that persists to an underlying data
format via a robust journalling system that supports check point and crash
recovery.
A paged random access buffer manager that caches access between a Store and
the underlying filesystem and that also handles check point logging and
crash recovery (via a JournalledSystem object).
Prepares the query by parsing the query string and performing any updates
that are required before being passed down to the lower layers of the
database engine for processing.
The node for evaluating a simple pattern search on a table which
includes a single left hand variable or constant, a pattern type (LIKE,
NOT LIKE or REGEXP), and a right hand constant (eg.
Returns a set of primary key groups that are constrained to be unique
for the given table in this transaction (there can be only 1 primary
key defined for a table).
Removes a listener for transaction modification events on the given table
in this conglomerate as previously set by the
'addTransactionModificationListener' method.
An simple implementation of Transaction that provides various facilities for
implementing a Transaction object on a number of MasterTableDataSource
tables.
Performs an extensive lookup on all the tables in this store and sets a
number of properties in the given HashMap
(property name(String) -> property description(Object)).
Constructs the TCP JDBC with the given DBSystem object, and sets the
TCP port and address (for multi-homed computers) to the setting of the
configuration in 'system'.
A MasterTableDataSource that uses IndexStore and VariableSizeDataStore as
its backing mechanism for representing the table structure in a file on
disk.