A B C D E F G H I J K L M N O P Q R S T U

A

AnyArray - class org.garret.consus.AnyArray.
Modification (insert, remove) and search operastions with Java arrays
AnyArray() - Constructor for class org.garret.consus.AnyArray
 
Assert - class org.garret.consus.Assert.
Class for checking program invariants.
Assert() - Constructor for class org.garret.consus.Assert
 
AssertionFailed - error org.garret.consus.AssertionFailed.
Exception raised by Assert class when assertion has failed.
absolute(int) - Method in class org.garret.consus.TableIterator
Moves the cursor to the given row number in the resultset.
acceptsURL(String) - Method in class org.garret.consus.ClientDriver
Returns true if the driver thinks that it can open a connection to the given URL.
acceptsURL(String) - Method in class org.garret.consus.ConsusDriver
Returns true if the driver thinks that it can open a connection to the given URL.
add(Object[], Object) - Static method in class org.garret.consus.AnyArray
Append new element to the array if there is no such element in the array.
add(ConsusConnection, Properties) - Method in interface org.garret.consus.ConsusAuthenticator
Add a new user.
add(Object) - Method in class org.garret.consus.POCollection
Ensures that this collection contains the specified element (optional operation).
add(Object) - Method in class org.garret.consus.POList
Appends the specified element to the end of this list.
add(int, Object) - Method in class org.garret.consus.POList
Inserts the specified element at the specified position in this list.
add(Object) - Method in class org.garret.consus.POSortedList
Appends the specified element to the end of this list.
add(String) - Method in class org.garret.consus.Query
Append String to the statement.
add(ConsusConnection, Properties) - Method in class org.garret.consus.StdAuthenticator
Add a new user.
addAll(Collection) - Method in class org.garret.consus.POCollection
Adds all of the elements in the specified collection to this collection (optional operation).
addAll(Collection) - Method in class org.garret.consus.POList
Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.
addAll(int, Collection) - Method in class org.garret.consus.POList
Inserts all of the elements in the specified Collection into this list, starting at the specified position.
addAll(Collection) - Method in class org.garret.consus.POSortedList
Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collections Iterator.
addConnectionEventListener(ConnectionEventListener) - Method in class org.garret.consusx.ConsusPooledConnection
 
afterLast() - Method in class org.garret.consus.TableIterator
Moves the cursor to the end of the resultset, just after the last row.
and(String) - Method in class org.garret.consus.Query
Append a conjunct to the statement.
append(Object[], Object) - Static method in class org.garret.consus.AnyArray
Append one element to the array.
assignOID(PersistentObjectStorage) - Method in class org.garret.consus.Persistent
Assign a persistent object identifier to the object, if it hasn't been assigned yet.
attr - Variable in class org.garret.consus.MetaField
 
attr - Variable in class org.garret.consus.MetaTable
 
authenticate(ConsusConnection, Properties) - Method in interface org.garret.consus.ConsusAuthenticator
Performs client authentication.
authenticate(ConsusConnection, Properties) - Method in class org.garret.consus.StdAuthenticator
ConsusAuthenticator constructor.

B

backup(OutputStream) - Method in interface org.garret.consus.ConsusConnection
Online backup of the database.
become(Persistent) - Method in class org.garret.consus.Persistent
Exchange references between objects in the database.
becomeObject(Persistent, Persistent) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Exchange references to the objects in the database.
becomeObject(Persistent, Persistent) - Method in interface org.garret.consus.PersistentObjectStorage
Exchange references to the obejcts in the database.
beforeFirst() - Method in class org.garret.consus.TableIterator
Moves the cursor to the front of the resultset, just before the first row.
beginUpdate() - Method in class org.garret.consus.Persistent
 

C

ClientDriver - class org.garret.consus.ClientDriver.
The interface that every driver class must implement.
ClientDriver() - Constructor for class org.garret.consus.ClientDriver
 
ConsusAuthenticator - interface org.garret.consus.ConsusAuthenticator.
Authenticator interface
ConsusColumnNotFoundError - exception org.garret.consus.ConsusColumnNotFoundError.
Exception is raised when an non-existant column name is specifed in a query
ConsusColumnNotFoundError(String) - Constructor for class org.garret.consus.ConsusColumnNotFoundError
Exception constructor
ConsusCompileError - exception org.garret.consus.ConsusCompileError.
Exception error by compiler in case of error
ConsusCompileError(String, int) - Constructor for class org.garret.consus.ConsusCompileError
Compile error exception constructor
ConsusConnection - interface org.garret.consus.ConsusConnection.
A connection (session) with a specific database.
ConsusConnectionListener - interface org.garret.consus.ConsusConnectionListener.
 
ConsusConnectionPoolDataSource - class org.garret.consusx.ConsusConnectionPoolDataSource.
 
ConsusConnectionPoolDataSource() - Constructor for class org.garret.consusx.ConsusConnectionPoolDataSource
 
ConsusDataSource - class org.garret.consusx.ConsusDataSource.
 
ConsusDataSource() - Constructor for class org.garret.consusx.ConsusDataSource
 
ConsusDriver - class org.garret.consus.ConsusDriver.
This is the interface that every driver class must implement.
ConsusDriver() - Constructor for class org.garret.consus.ConsusDriver
 
ConsusDuplicateException - exception org.garret.consus.ConsusDuplicateException.
Exception thrown on client site when connection is refused by the server
ConsusDuplicateException() - Constructor for class org.garret.consus.ConsusDuplicateException
Constructor
ConsusIOError - exception org.garret.consus.ConsusIOError.
Exception is thrown when the IO operation with a database file has failed
ConsusIOError(String) - Constructor for class org.garret.consus.ConsusIOError
IO exception constructor
ConsusIncompatibleTypesError - exception org.garret.consus.ConsusIncompatibleTypesError.
Exception is thrown when the type convertion between a type specified by programmer and a data type in the database is not possible.
ConsusIncompatibleTypesError() - Constructor for class org.garret.consus.ConsusIncompatibleTypesError
Default constructor
ConsusIncompatibleTypesError(Object) - Constructor for class org.garret.consus.ConsusIncompatibleTypesError
Constructor with information about the object that caused the fault.
ConsusLoginRefusedException - exception org.garret.consus.ConsusLoginRefusedException.
Exception thrown on client side when connection is refused by the server
ConsusLoginRefusedException(String, int, Properties) - Constructor for class org.garret.consus.ConsusLoginRefusedException
Constructor
ConsusNotImplemented - exception org.garret.consus.ConsusNotImplemented.
Exception thrown when a method, not implemented in Consus, is called
ConsusNotImplemented(String) - Constructor for class org.garret.consus.ConsusNotImplemented
Constructor of the exception
ConsusNotInUpdateModeError - exception org.garret.consus.ConsusNotInUpdateModeError.
Exception thrown when the cursor opened, uses a select statement without "for update" clause for an update, insert or delete operation
ConsusNotInUpdateModeError() - Constructor for class org.garret.consus.ConsusNotInUpdateModeError
Default constructor
ConsusNotSingleException - exception org.garret.consus.ConsusNotSingleException.
Exception thrown by Consus when more than one record is selected in a context where one object is expected.
ConsusNotSingleException(String) - Constructor for class org.garret.consus.ConsusNotSingleException
Exception constructor.
ConsusNotSingleException() - Constructor for class org.garret.consus.ConsusNotSingleException
Exception constructor.
ConsusObjectFactory - class org.garret.consusx.ConsusObjectFactory.
 
ConsusObjectFactory() - Constructor for class org.garret.consusx.ConsusObjectFactory
 
ConsusPooledConnection - class org.garret.consusx.ConsusPooledConnection.
 
ConsusPreparedStatement - interface org.garret.consus.ConsusPreparedStatement.
 
ConsusRef - class org.garret.consus.ConsusRef.
JDBC 2.0 A reference to an SQL structured type value in the database.
ConsusRef(long) - Constructor for class org.garret.consus.ConsusRef
Construct a reference to the object with the specified OID
ConsusRef(PersistentObjectStorage, long) - Constructor for class org.garret.consus.ConsusRef
Construct a reference to the object with the specified OID
ConsusResultSet - interface org.garret.consus.ConsusResultSet.
A ResultSet provides access to a table of data.
ConsusRuntimeError - exception org.garret.consus.ConsusRuntimeError.
Exception thrown by Consus if something wrong occurs during a statement execution.
ConsusRuntimeError(String) - Constructor for class org.garret.consus.ConsusRuntimeError
Exception constructor.
ConsusStatement - interface org.garret.consus.ConsusStatement.
This is the object used for executing a static SQL statement and obtaining the results produced by it.
ConsusXAConnection - class org.garret.consusx.ConsusXAConnection.
 
ConsusXADataSource - class org.garret.consusx.ConsusXADataSource.
 
ConsusXADataSource() - Constructor for class org.garret.consusx.ConsusXADataSource
 
ConsusXid - class org.garret.consusx.ConsusXid.
 
change(ConsusConnection, Properties) - Method in interface org.garret.consus.ConsusAuthenticator
Change users properties.
change(ConsusConnection, Properties) - Method in class org.garret.consus.StdAuthenticator
Change user properties.
checkInTable(String, Connection) - Method in interface org.garret.consus.ConsusConnection
Synchronize the replica and master table.
checkOutTable(String, Connection) - Method in interface org.garret.consus.ConsusConnection
Update replica table by transfering all changes from the master table.
className - Variable in class org.garret.consus.MetaField
 
clear() - Method in class org.garret.consus.POCollection
Removes all of the elements from this collection (optional operation).
clear() - Method in class org.garret.consus.POList
Removes all of the elements from this list.
clear() - Method in class org.garret.consus.StringIndex
Remove all the objects from the index.
clearComponents(Persistent) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Clear all object fields (to make it possible for GC to collect unused persistent objects).
clearComponents(Persistent) - Method in interface org.garret.consus.PersistentObjectStorage
Clear all object fields (to make it possible for GC to collect unused persistent object).
clearObjectCache() - Method in class org.garret.consus.JDBCObjectRelationalAdapter
 
clearObjectCache() - Method in interface org.garret.consus.PersistentObjectStorage
Throw all objects from the object cache.
clone() - Method in class org.garret.consus.POList
Returns a shallow copy of this POList instance.
clone() - Method in class org.garret.consus.StringIndex
Clone index.
close() - Method in class org.garret.consus.TableIterator
Closes the iterator and releases all related resourses.
close() - Method in class org.garret.consusx.ConsusPooledConnection
 
commitSubtransaction() - Method in interface org.garret.consus.ConsusConnection
Commit nested subtransaction.
compare(Object, Object) - Method in class org.garret.consus.POComparator
Compare two objects.
compareTo(Object) - Method in class org.garret.consus.ConsusRef
Compare two OID as longs
compareTo(POSortedList) - Method in class org.garret.consus.POSortedList
Compare two ordered lists.
compareTo(Object) - Method in class org.garret.consus.POSortedList
Compare two sorted lists
conncetionClosed() - Method in interface org.garret.consus.ConsusConnectionListener
 
connect(String, Properties) - Method in class org.garret.consus.ClientDriver
Attempts to make a database connection to the given URL.
connect(String, Properties) - Method in class org.garret.consus.ConsusDriver
Attempts to make a database connection to the given URL.
contains(Object) - Method in class org.garret.consus.POCollection
Returns true if this collection contains the specified element.
contains(Object) - Method in class org.garret.consus.POList
Returns true if this list contains the specified element.
containsAll(Collection) - Method in class org.garret.consus.POCollection
Returns true if this collection contains all of the elements in the specified collection.
createBlob(long, InputStream) - Method in interface org.garret.consus.ConsusConnection
Create BLOB
createClob(long, Reader) - Method in interface org.garret.consus.ConsusConnection
Create CLOB
createClob(String) - Method in interface org.garret.consus.ConsusConnection
Create CLOB
createObjectCache() - Method in interface org.garret.consus.ConsusConnection
Allocate object cache (instance manager) if not yet allocated.
createStringIndex() - Method in interface org.garret.consus.ConsusConnection
Create a new String index in the database.

D

Dump - class org.garret.consus.Dump.
 
Dump() - Constructor for class org.garret.consus.Dump
 
dataSourceName - Variable in class org.garret.consusx.ConsusDataSource
 
databaseName - Variable in class org.garret.consusx.ConsusDataSource
 
db - Variable in class org.garret.consus.Persistent
 
deleteAllSelectedRows() - Method in interface org.garret.consus.ConsusResultSet
Deletes all selected records.
deleteAllSelectedRows() - Method in class org.garret.consus.TableIterator
Deletes all records in the table.
deleteObject(Persistent) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Remove object from the database.
deleteObject(Persistent) - Method in interface org.garret.consus.PersistentObjectStorage
Remove object from the database.
deleteRow() - Method in class org.garret.consus.TableIterator
Deletes the current row from the resultset and the underlying database.
description - Variable in class org.garret.consusx.ConsusDataSource
 
doGarbageCollection() - Method in interface org.garret.consus.ConsusConnection
Explicitly initiate new garbage collection (if not yet started)

E

enableTracing(boolean) - Method in interface org.garret.consus.ConsusConnection
Switch tracing on/off.
endUpdate() - Method in class org.garret.consus.Persistent
 
ensureCapacity(int) - Method in class org.garret.consus.POList
Increases the capacity of this POList instance, if necessary, to ensure that it can hold at least the number of elements specified by the minimum capacity argument.
equals(Object) - Method in class org.garret.consus.ConsusRef
Compare two references for equality
equals(Object) - Method in class org.garret.consus.POCollection
Compares the specified object with this list for equality.
executeQuery() - Method in class org.garret.consus.Query
Prepare and execute the query.
executeUpdate() - Method in class org.garret.consus.Query
Prepare and execute the update statement.

F

failed() - Static method in class org.garret.consus.Assert
Throw assertion failed exception.
failed(String) - Static method in class org.garret.consus.Assert
Throw assertion failed exception with given description.
fetchObject(ResultSet) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Fetch the current row of the cursor as a Java object
fetchObject(ResultSet) - Method in interface org.garret.consus.PersistentObjectStorage
Fetch the current row of the cursor as a Java object.
fields - Variable in class org.garret.consus.MetaTable
 
find(Object[], Object) - Static method in class org.garret.consus.AnyArray
Find object in the array.
findInsertPosition(Object) - Method in class org.garret.consus.POSortedList
Find the position where the element should be inserted into the list using the compare method of Comparator or the compareTo method of the elements.
first() - Method in class org.garret.consus.TableIterator
Moves the cursor to the first row in the resultset.
firstRow - Variable in class org.garret.consus.MetaTable
 
fixedSize - Variable in class org.garret.consus.MetaTable
 
fkKeyName - Variable in class org.garret.consus.MetaField
 
fkTableName - Variable in class org.garret.consus.MetaField
 

G

get(Ref) - Method in interface org.garret.consus.ConsusConnection
Get object by it's OID
get(Ref) - Method in interface org.garret.consus.ConsusStatement
Get the object by it's OID
get(int) - Method in class org.garret.consus.POList
Returns the element from the specified position in this list.
get() - Method in class org.garret.consus.Persistent
Load stub object from the database.
get(Persistent) - Static method in class org.garret.consus.Persistent
Load stub object from the database.
get() - Method in class org.garret.consus.TableIterator
Fetch the current table row as a Java object.
getBaseTypeName() - Method in class org.garret.consus.ConsusRef
Gets the fully-qualified SQL structured type name of the referenced item.
getBranchQualifier() - Method in class org.garret.consusx.ConsusXid
 
getConnection(String, String) - Method in class org.garret.consusx.ConsusConnectionPoolDataSource
 
getConnection() - Method in class org.garret.consusx.ConsusDataSource
 
getConnection(String, String) - Method in class org.garret.consusx.ConsusDataSource
 
getConnection() - Method in class org.garret.consusx.ConsusPooledConnection
 
getConnection(String, String) - Method in class org.garret.consusx.ConsusXADataSource
 
getDataSourceName() - Method in class org.garret.consusx.ConsusDataSource
 
getDatabaseName() - Method in class org.garret.consusx.ConsusDataSource
 
getDescription() - Method in class org.garret.consusx.ConsusDataSource
 
getFormatId() - Method in class org.garret.consusx.ConsusXid
 
getGlobalTransactionId() - Method in class org.garret.consusx.ConsusXid
 
getLastRef() - Method in interface org.garret.consus.ConsusStatement
Get of reference of the last selected, updated or inserted object.
getLogWriter() - Method in class org.garret.consusx.ConsusDataSource
 
getLoginTimeout() - Method in class org.garret.consusx.ConsusDataSource
 
getMajorVersion() - Method in class org.garret.consus.ClientDriver
Gets the driver's major version number.
getMajorVersion() - Method in class org.garret.consus.ConsusDriver
Gets the driver's major version number.
getMasterFieldName() - Method in interface org.garret.consus.ConsusConnection
Get the name of the field containing the referenence to the master object instance on the server (used for table replication) if null then an existing primary key will be used instead.
getMinorVersion() - Method in class org.garret.consus.ClientDriver
Gets the driver's minor version number.
getMinorVersion() - Method in class org.garret.consus.ConsusDriver
Gets the driver's minor version number.
getNetworkProtocol() - Method in class org.garret.consusx.ConsusDataSource
 
getNumberOfRows() - Method in class org.garret.consus.TableIterator
Get the number of rows in the table.
getObject(Map) - Method in class org.garret.consus.ConsusRef
Retrieves the referenced object and maps it to a Java type using the given type map.
getObject() - Method in class org.garret.consus.ConsusRef
Retrieves the SQL structured type instance referenced by this Ref object.
getObjectByOid(long) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
 
getObjectByOid(long) - Method in interface org.garret.consus.PersistentObjectStorage
Get object by object identifier.
getObjectCacheSize() - Method in class org.garret.consus.JDBCObjectRelationalAdapter
 
getObjectCacheSize() - Method in interface org.garret.consus.PersistentObjectStorage
Poll object cache size
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.garret.consusx.ConsusObjectFactory
 
getOid() - Method in class org.garret.consus.ConsusRef
Get the OID.
getOid() - Method in class org.garret.consus.Persistent
Get the objects identifier.
getOid(Persistent) - Static method in class org.garret.consus.Persistent
Get the objects identifier.
getPassword() - Method in class org.garret.consusx.ConsusDataSource
 
getPooledConnection() - Method in class org.garret.consusx.ConsusConnectionPoolDataSource
 
getPooledConnection(String, String) - Method in class org.garret.consusx.ConsusConnectionPoolDataSource
 
getPortNumber() - Method in class org.garret.consusx.ConsusDataSource
 
getPropertyInfo(String, Properties) - Method in class org.garret.consus.ClientDriver
Gets information about the possible properties for this driver.
getPropertyInfo(String, Properties) - Method in class org.garret.consus.ConsusDriver
Gets information about the possible properties for this driver.
getRef() - Method in class org.garret.consus.Persistent
Get the objects JDBC reference.
getRef(Persistent) - Static method in class org.garret.consus.Persistent
Get the JDBC reference to the object.
getReference() - Method in class org.garret.consusx.ConsusDataSource
 
getRoleName() - Method in class org.garret.consusx.ConsusDataSource
 
getRow() - Method in class org.garret.consus.TableIterator
Retrieves the current row number.
getSelectionSize() - Method in interface org.garret.consus.ConsusResultSet
Get the number of records (object) in the result set.
getSelfObject() - Method in interface org.garret.consus.ConsusResultSet
Extract the current table row as a Java object.
getSelfRef() - Method in interface org.garret.consus.ConsusResultSet
Get the OID of the current record (object) in the result set.
getServerName() - Method in class org.garret.consusx.ConsusDataSource
 
getTableIterator(String) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Get the iterator for the table.
getTableIterator(String) - Method in interface org.garret.consus.PersistentObjectStorage
Get table iterator.
getThreadAutoCommit() - Method in interface org.garret.consus.ConsusConnection
Gets the current auto-commit state.
getTimestampFieldName() - Method in interface org.garret.consus.ConsusConnection
Get the name of the timestamp field used for data replication.
getUsedSize() - Method in interface org.garret.consus.ConsusConnection
Get the size used by objects in the database
getUser() - Method in class org.garret.consusx.ConsusDataSource
 
getXAConnection() - Method in class org.garret.consusx.ConsusXADataSource
 
getXAConnection(String, String) - Method in class org.garret.consusx.ConsusXADataSource
 
getXAResource() - Method in class org.garret.consusx.ConsusXAConnection
 

H

hashCode() - Method in class org.garret.consus.ConsusRef
Rerference the hash code.
hashCode() - Method in class org.garret.consus.POCollection
Returns the hash code value for this list.

I

InvalidOIDError - exception org.garret.consus.InvalidOIDError.
This exception is thrown when an object with an incorrect OID is accessed (OID = 0, nonexisted OID, OID of deleted object, ...)
InvalidOIDError(int, long) - Constructor for class org.garret.consus.InvalidOIDError
Construct exception caused by using an invalid OID
InvalidOIDError(int) - Constructor for class org.garret.consus.InvalidOIDError
Construct exception cause by using an invalid OID
index - Variable in class org.garret.consus.MetaField
 
indexOf(Object) - Method in class org.garret.consus.POList
Searches for the first occurence of the given argument, testing for equality using the equals method.
indexOf(Object) - Method in class org.garret.consus.POSortedList
Searches for the first occurence of the given argument, testing for equality using the equals method.
insert(Object) - Static method in class org.garret.consus.AnyArray
Extend array by one element
insert(Object, int) - Static method in class org.garret.consus.AnyArray
Insert n elemenst at the end of array
insert(Object, int, int) - Static method in class org.garret.consus.AnyArray
Insert n elements at the position pos.
insert(Object) - Method in interface org.garret.consus.ConsusConnection
Insert the specified object into the database.
insert(Object) - Method in interface org.garret.consus.ConsusStatement
Insert the object into the table.
insert(String, Persistent) - Method in class org.garret.consus.StringIndex
Insert a new object in the index.
insertObject(Object) - Method in interface org.garret.consus.ConsusResultSet
Insert the new object into the table.
insertObject(Object) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Insert a new object into the database.
insertUnique(String, Persistent) - Method in class org.garret.consus.StringIndex
Insert a new object in the index.
isAfterLast() - Method in class org.garret.consus.TableIterator
Indicates whether the cursor is after the last row in the resultset.
isBeforeFirst() - Method in class org.garret.consus.TableIterator
Indicates whether the cursor is before the first row in the resultset.
isDeleted() - Method in class org.garret.consus.Persistent
Check if the object is marked as deleted.
isEmpty() - Method in class org.garret.consus.POCollection
Returns true if this collection contains no elements.
isEmpty() - Method in class org.garret.consus.POList
Tests if this list has no elements.
isFirst() - Method in class org.garret.consus.TableIterator
Indicates whether the cursor is on the first row of the resultset.
isInitialized() - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Returns true if the database has already been initialized.
isInitialized() - Method in interface org.garret.consus.PersistentObjectStorage
Returns true if the database has already been initialized.
isLast() - Method in class org.garret.consus.TableIterator
Indicates whether the cursor is on the last row of the resultset.
isLoaded() - Method in class org.garret.consus.Persistent
Check whether the object is a stub.
isNew() - Method in class org.garret.consus.Persistent
Check whether the object has not yet been stored in the database (assigned the persistent object identifier).
isUniqueConstraintViolated() - Method in class org.garret.consus.POSError
Checks whether unique contraint violations were the reason for the persistent object storage error.
iterator() - Method in class org.garret.consus.POCollection
Returns an iterator of the elements contained in this collection.
iterator() - Method in class org.garret.consus.POList
Returns an iterator of the elements in this list in the proper sequence.

J

JDBCObjectRelationalAdapter - class org.garret.consus.JDBCObjectRelationalAdapter.
This class implements the Consus OO API on top of standard relational database systems.
JDBCObjectRelationalAdapter(Connection) - Constructor for class org.garret.consus.JDBCObjectRelationalAdapter
Constructor of the adapter class
JSQL - class org.garret.consus.JSQL.
 
JSQL() - Constructor for class org.garret.consus.JSQL
 
jdbcCompliant() - Method in class org.garret.consus.ClientDriver
Reports whether this driver is a genuine JDBC COMPLIANTTM driver.
jdbcCompliant() - Method in class org.garret.consus.ConsusDriver
Reports whether this driver is a genuine JDBC COMPLIANTTM driver.

K

key - Variable in class org.garret.consus.MergeConflictException
 

L

Loader - class org.garret.consus.Loader.
 
Loader() - Constructor for class org.garret.consus.Loader
 
last() - Method in class org.garret.consus.TableIterator
Moves the cursor to the last row in the resultset.
lastIndexOf(Object) - Method in class org.garret.consus.POList
Returns the index of the last occurrence of the specified object in this list.
lastIndexOf(Object) - Method in class org.garret.consus.POSortedList
Returns the index of the last occurrence of the specified object in this list.
lastRow - Variable in class org.garret.consus.MetaTable
 
length(Object) - Static method in class org.garret.consus.AnyArray
Get array length.
listIterator() - Method in class org.garret.consus.POList
Returns an iterator of the elements in this list (in proper sequence).
listIterator(int) - Method in class org.garret.consus.POList
Returns a list iterator of the elements in this list (in proper sequence), starting at the specified position in the list.
load() - Method in class org.garret.consus.Persistent
Load stub object or reload the object from the database.
loadClosure() - Method in class org.garret.consus.POList
POList doesn't imlicitly loads its components.
loadClosure() - Method in class org.garret.consus.Persistent
Specify whether the referenced objects should be loaded implicitly together with the parent object or not.
loadComponents(Persistent) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Loads the components of the object.
loadComponents() - Method in class org.garret.consus.Persistent
Load the components of the object.
loadComponents(Persistent) - Method in interface org.garret.consus.PersistentObjectStorage
Load the components of the object.
loadObject(Persistent) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Load stub object or reload object from the database.
loadObject(Persistent) - Method in interface org.garret.consus.PersistentObjectStorage
Load the stub object or reload the object from the database.
lock() - Method in interface org.garret.consus.ConsusConnection
Lock the database in exclusive mode.
lock() - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Lock the database in exclusive mode.
lock() - Method in class org.garret.consus.Persistent
Lock database in exclusive mode.
lock() - Method in interface org.garret.consus.PersistentObjectStorage
Lock database in exclusive mode.

M

MergeConflictException - exception org.garret.consus.MergeConflictException.
Exception thrown by the checkOutTable method when a merge conflict is detected.
MergeConflictException(Object) - Constructor for class org.garret.consus.MergeConflictException
Construct exception for the object with the specified key
MetaField - class org.garret.consus.MetaField.
Field descriptor as it is stored in the database.
MetaField() - Constructor for class org.garret.consus.MetaField
 
MetaTable - class org.garret.consus.MetaTable.
Table descriptor as it is stored in the database.
MetaTable() - Constructor for class org.garret.consus.MetaTable
 
main(String[]) - Static method in class org.garret.consus.Dump
 
main(String[]) - Static method in class org.garret.consus.JSQL
 
main(String[]) - Static method in class org.garret.consus.Loader
 
main(String[]) - Static method in class org.garret.consus.Server
 
memcpy(Object, int, Object, int, int) - Static method in class org.garret.consus.AnyArray
Copy array elements.

N

nColumns - Variable in class org.garret.consus.MetaTable
 
nComponents - Variable in class org.garret.consus.MetaField
 
nComponents - Variable in class org.garret.consus.MetaTable
 
nRows - Variable in class org.garret.consus.MetaTable
 
name - Variable in class org.garret.consus.MetaField
 
name - Variable in class org.garret.consus.MetaTable
 
networkProtocol - Variable in class org.garret.consusx.ConsusDataSource
 
next() - Method in class org.garret.consus.TableIterator
Moves the cursor down one row from its current position.

O

OBJECT_RID_NAME - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
OBJECT_TID_NAME - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
OID_TABLE_COLUMN_NAME - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
OID_TABLE_NAME - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
offs - Variable in class org.garret.consus.MetaField
 
oid - Variable in class org.garret.consus.Persistent
 
open() - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Opens the persistent object storage.
open() - Method in interface org.garret.consus.PersistentObjectStorage
Opens the persistent object storage.
org.garret.consus - package org.garret.consus
 
org.garret.consusx - package org.garret.consusx
 

P

POCollection - class org.garret.consus.POCollection.
This class provides a skeletion implementation of the Collection interface to minimize the effort required to implement this interface.
POComparator - class org.garret.consus.POComparator.
Abstract base class for all Persistent comparators
POComparator() - Constructor for class org.garret.consus.POComparator
 
POList - class org.garret.consus.POList.
Resizable-array implementation of the List interface.
POList(int) - Constructor for class org.garret.consus.POList
Constructs an empty list with the specified initial capacity.
POList() - Constructor for class org.garret.consus.POList
Constructs an empty list.
POList(Collection) - Constructor for class org.garret.consus.POList
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator.
POSError - exception org.garret.consus.POSError.
Persistent Object Storage error.
POSError(Exception) - Constructor for class org.garret.consus.POSError
Constructs the exception.
POSortedList - class org.garret.consus.POSortedList.
Objects inserted into this list should implement the Comparable interface and be derived from the Persistent class.
POSortedList(int, POComparator) - Constructor for class org.garret.consus.POSortedList
Constructs an empty list with the specified initial capacity.
POSortedList() - Constructor for class org.garret.consus.POSortedList
Constructs an empty list.
POSortedList(int) - Constructor for class org.garret.consus.POSortedList
Constructs an empty list with the specified initial capacity.
POSortedList(POComparator) - Constructor for class org.garret.consus.POSortedList
Constructs an empty list and associates a comparator with the list.
POSortedList(Collection) - Constructor for class org.garret.consus.POSortedList
Constructs a list containing the elements of the specified collection, in the order they are returned by the collections iterator.
PO_DELETED - Static variable in class org.garret.consus.Persistent
 
PO_LOADED - Static variable in class org.garret.consus.Persistent
 
PO_NEW - Static variable in class org.garret.consus.Persistent
 
PO_STUB - Static variable in class org.garret.consus.Persistent
 
Persistent - class org.garret.consus.Persistent.
Base class for all persistent-capable classes.
Persistent() - Constructor for class org.garret.consus.Persistent
 
PersistentObjectStorage - interface org.garret.consus.PersistentObjectStorage.
The interface of persistent object storage.
param(boolean) - Method in class org.garret.consus.Query
Bind the boolean parameter.
param(int) - Method in class org.garret.consus.Query
Bind the integer parameter.
param(long) - Method in class org.garret.consus.Query
Bind the long parameter.
param(double) - Method in class org.garret.consus.Query
Bind the double parameter.
param(float) - Method in class org.garret.consus.Query
Bind the float parameter.
param(Object) - Method in class org.garret.consus.Query
Bind any object parameter.
password - Variable in class org.garret.consus.UserInfo
 
password - Variable in class org.garret.consusx.ConsusDataSource
 
portNumber - Variable in class org.garret.consusx.ConsusDataSource
 
prepare() - Method in class org.garret.consus.Query
Prepare the statement.
prepend(Object[], Object) - Static method in class org.garret.consus.AnyArray
Insert object at the first position in the array.
previous() - Method in class org.garret.consus.TableIterator
Moves the cursor to the previous row in the result set.

Q

Query - class org.garret.consus.Query.
Class used for construction of parameterized queries.
Query(Connection) - Constructor for class org.garret.consus.Query
Query constructor.

R

reason() - Method in class org.garret.consus.POSError
Get the original exception.
relative(int) - Method in class org.garret.consus.TableIterator
Moves the cursor a relative number of rows, either positive or negative.
remove(Object) - Static method in class org.garret.consus.AnyArray
Truncate array by one element
remove(Object, int) - Static method in class org.garret.consus.AnyArray
Remove one element from the specified position
remove(Object, int, int) - Static method in class org.garret.consus.AnyArray
Remove n elements starting from the position from
remove(Object[], Object) - Static method in class org.garret.consus.AnyArray
Remove object from the array.
remove(ConsusConnection, Properties) - Method in interface org.garret.consus.ConsusAuthenticator
Remove user.
remove(Ref) - Method in interface org.garret.consus.ConsusConnection
Remove object with specifed OID
remove(Ref) - Method in interface org.garret.consus.ConsusStatement
Remove the object with the specifed OID
remove(Object) - Method in class org.garret.consus.POCollection
Removes a single instance of the specified element from this collection, if it is present (optional operation).
remove(int) - Method in class org.garret.consus.POList
Removes the element at the specified position in this list.
remove() - Method in class org.garret.consus.Persistent
Remove the object from the database.
remove(ConsusConnection, Properties) - Method in class org.garret.consus.StdAuthenticator
Remove a user.
remove(String, Persistent) - Method in class org.garret.consus.StringIndex
Remove an object from the index.
removeAll(Collection) - Method in class org.garret.consus.POCollection
Removes from this collection all of the elements that are contained in the specified collection (optional operation).
removeConnectionEventListener(ConnectionEventListener) - Method in class org.garret.consusx.ConsusPooledConnection
 
removeRange(int, int) - Method in class org.garret.consus.POList
Removes from this List all of the elements whose index is between fromIndex, inclusive and toIndex, exclusive.
reserved - Variable in class org.garret.consus.MetaTable
 
reset() - Method in class org.garret.consus.Query
Reset the query.
retainAll(Collection) - Method in class org.garret.consus.POCollection
Retains only the elements in this collection that are contained in the specified collection (optional operation).
roleName - Variable in class org.garret.consusx.ConsusDataSource
 

S

STRUCTURE_FIELDS_SEP - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
Server - class org.garret.consus.Server.
 
Server() - Constructor for class org.garret.consus.Server
 
StdAuthenticator - class org.garret.consus.StdAuthenticator.
Basic implementation of the authentication interface based on the user login name and password.
StdAuthenticator() - Constructor for class org.garret.consus.StdAuthenticator
 
StringIndex - class org.garret.consus.StringIndex.
 
StringIndex() - Constructor for class org.garret.consus.StringIndex
 
save() - Method in class org.garret.consus.Persistent
Store the object in the database if the deferredUpdate flag is 0.
select(String, String, boolean) - Method in class org.garret.consus.StringIndex
Select an object with a value of the key greater-or-equal than firstKey and less-or-equal than lastKey.
select(String, String) - Method in class org.garret.consus.StringIndex
Select an object with a value of the key greater-or-equal than firstKey and less-or-equal than lastKey.
select(String) - Method in class org.garret.consus.StringIndex
Select objects with the specified value of the key.
select(boolean) - Method in class org.garret.consus.StringIndex
Selects all indexed objects,
select() - Method in class org.garret.consus.StringIndex
Selects all indexed objects.
selectByKey(String, String) - Method in class org.garret.consus.TableIterator
Select an object from the table using a unique key.
selectByOid(long) - Method in class org.garret.consus.TableIterator
Select an object from the table using an object identifier.
selectForUpdate(String, String) - Method in class org.garret.consus.StringIndex
Select for update an object with a value of the key greater-or-equal than firstKey and less-or-equal than lastKey.
selectForUpdate(String) - Method in class org.garret.consus.StringIndex
Select for update the objects with the specified value of the key.
selectForUpdate() - Method in class org.garret.consus.StringIndex
Selects all indexed objects for update.
selectUnique(String) - Method in class org.garret.consus.StringIndex
Select the object with the specified value of the key.
serverName - Variable in class org.garret.consusx.ConsusDataSource
 
set(int, Object) - Method in class org.garret.consus.POList
Replaces the element at the specified position in this list with the specified element.
setDataSourceName(String) - Method in class org.garret.consusx.ConsusDataSource
 
setDatabaseName(String) - Method in class org.garret.consusx.ConsusDataSource
 
setDescription(String) - Method in class org.garret.consusx.ConsusDataSource
 
setGCRoots(String[]) - Method in interface org.garret.consus.ConsusConnection
Specify root tables for garbage collection.
setGCThreshold(long) - Method in interface org.garret.consus.ConsusConnection
Specify the size of allocated objects after which GC should be initiated.
setLogWriter(PrintWriter) - Method in class org.garret.consusx.ConsusDataSource
 
setLoginTimeout(int) - Method in class org.garret.consusx.ConsusDataSource
 
setMasterFieldName(String) - Method in interface org.garret.consus.ConsusConnection
Set the name of the field containing the refenence to the master object instance on the server (used for table replication).
setNetworkProtocol(String) - Method in class org.garret.consusx.ConsusDataSource
 
setObject(Object) - Method in class org.garret.consus.ConsusRef
Sets the structured type value that this Ref object references to the given instance of Object.
setPassword(String) - Method in class org.garret.consusx.ConsusDataSource
 
setPortNumber(int) - Method in class org.garret.consusx.ConsusDataSource
 
setServerName(String) - Method in class org.garret.consusx.ConsusDataSource
 
setThreadAutoCommit(boolean) - Method in interface org.garret.consus.ConsusConnection
Set autocommit mode only for the current thread.
setTimestampFieldName(String) - Method in interface org.garret.consus.ConsusConnection
Set the name of the timestamp field used for data replication.
setUser(String) - Method in class org.garret.consusx.ConsusDataSource
 
setrRoleName(String) - Method in class org.garret.consusx.ConsusDataSource
 
size() - Method in class org.garret.consus.POCollection
Returns the number of elements in this collection.
size() - Method in class org.garret.consus.POList
Returns the number of elements in this list.
state - Variable in class org.garret.consus.Persistent
 
store() - Method in class org.garret.consus.Persistent
Store the object attached to the database to the storage.
store(PersistentObjectStorage) - Method in class org.garret.consus.Persistent
Save the object in the database.
storeObject(Persistent) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Save object into the database.
storeObject(Persistent) - Method in interface org.garret.consus.PersistentObjectStorage
Save object in the database.
subList(int, int) - Method in class org.garret.consus.POList
Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive.
superClass - Variable in class org.garret.consus.MetaTable
 

T

TYPE_CLASS_NAME_FIELD - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
TYPE_ID_FIELD - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
TYPE_TABLE_NAME - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
TYPE_TABLE_NAME_FIELD - Static variable in class org.garret.consus.JDBCObjectRelationalAdapter
 
TableIterator - class org.garret.consus.TableIterator.
An Iterator through the table records (is equivalent to ResultSet for a single table select without condition, but is more efficient).
TableIterator() - Constructor for class org.garret.consus.TableIterator
 
that(boolean) - Static method in class org.garret.consus.Assert
Check specified condition and raise AssertionFailed exception if it is not true.
that(String, boolean) - Static method in class org.garret.consus.Assert
Check specified condition and raise AssertionFailed exception if it is not true.
timestamp - Variable in class org.garret.consus.MetaTable
 
toArray() - Method in class org.garret.consus.POCollection
Returns an array containing all of the elements in this collection.
toArray(Object[]) - Method in class org.garret.consus.POCollection
Returns an array with a runtime type of the specified array and that contains all of the elements in this collection.
toArray() - Method in class org.garret.consus.POList
Returns an array containing all of the elements in this list in the correct order.
toArray(Object[]) - Method in class org.garret.consus.POList
Returns an array containing all of the elements in this list in the correct order.
toArray(Object[]) - Method in class org.garret.consus.TableIterator
Returns an array containing all of the selected elements.
toArray() - Method in class org.garret.consus.TableIterator
Returns an array of java.lang.Object objects, containing all the selected elements.
toString() - Method in class org.garret.consus.ConsusRef
Convert reference to a String.
toString() - Method in class org.garret.consus.POCollection
Returns a string representation of this collection.
toString() - Method in class org.garret.consus.Persistent
Get the String representation of the persistent objects identifier.
trimToSize() - Method in class org.garret.consus.POList
Trims the capacity of this POList instance to be the list's current size.
type - Variable in class org.garret.consus.MetaField
 
type - Variable in class org.garret.consus.Persistent
 

U

UserInfo - class org.garret.consus.UserInfo.
Table used by StdAuthenticator for keeping the information about users.
UserInfo() - Constructor for class org.garret.consus.UserInfo
 
unget() - Method in class org.garret.consus.Persistent
Clear all object fields (to make it possible for GC to collect unused persistent objects).
update(Ref, Object) - Method in interface org.garret.consus.ConsusConnection
Update the object in the table.
update(Ref, Object) - Method in interface org.garret.consus.ConsusStatement
Update the object in the table.
updateObject(Object, ResultSet) - Method in class org.garret.consus.JDBCObjectRelationalAdapter
Fetch the current row of the cursor as a Java object
updateObject(Object, ResultSet) - Method in interface org.garret.consus.PersistentObjectStorage
Update the current row of the cursor with the new values passed in the Java object.
updateSelfObject(Object) - Method in interface org.garret.consus.ConsusResultSet
Update the current row in the result set.
user - Variable in class org.garret.consus.UserInfo
 
user - Variable in class org.garret.consusx.ConsusDataSource
 

A B C D E F G H I J K L M N O P Q R S T U