A B C D E F G H I J K L M N O P Q R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort(Executor) - Method in class com.mckoi.database.jdbc.MConnection
- abs() - Method in class com.mckoi.util.BigNumber
- absolute(int) - Method in class com.mckoi.database.jdbc.MResultSet
- AbstractAggregateFunction - Class in com.mckoi.database
-
Provides convenience methods for handling aggregate functions (functions that are evaluated over a grouping set).
- AbstractAggregateFunction(String, Expression[]) - Constructor for class com.mckoi.database.AbstractAggregateFunction
-
Constructs an aggregate function.
- AbstractBlockIntegerList - Class in com.mckoi.util
-
An implementation of a list of integer values that are stored across an array of blocks.
- AbstractBlockIntegerList() - Constructor for class com.mckoi.util.AbstractBlockIntegerList
-
Constructs the list.
- AbstractBlockIntegerList(IntegerListBlockInterface[]) - Constructor for class com.mckoi.util.AbstractBlockIntegerList
-
Constructs the list from the given set of initial blocks.
- AbstractBlockIntegerList(IntegerListInterface) - Constructor for class com.mckoi.util.AbstractBlockIntegerList
-
Copies the information from the given BlockIntegerList into a new object and performs a deep clone of the information in this container.
- AbstractBlockIntegerList(IntegerVector) - Constructor for class com.mckoi.util.AbstractBlockIntegerList
-
Constructs the list by copying the contents from an IntegerVector.
- AbstractDataTable - Class in com.mckoi.database
-
This is the abstract class implemented by a DataTable like table.
- AbstractDataTable() - Constructor for class com.mckoi.database.AbstractDataTable
- AbstractDBConfig - Class in com.mckoi.database.control
-
An abstract implementation of DBConfig.
- AbstractDBConfig(File) - Constructor for class com.mckoi.database.control.AbstractDBConfig
-
Constructs the DBConfig.
- AbstractFunction - Class in com.mckoi.database
-
An abstract implementation of Function.
- AbstractFunction(String, Expression[]) - Constructor for class com.mckoi.database.AbstractFunction
-
Constructs the Function with the given expression array as parameters.
- AbstractJDBCDatabaseInterface - Class in com.mckoi.database.jdbcserver
-
An abstract implementation of JDBCDatabaseInterface that provides a connection between a single DatabaseConnection and a DatabaseInterface implementation.
- AbstractJDBCDatabaseInterface(Database) - Constructor for class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Sets up the database interface.
- AbstractQueryContext - Class in com.mckoi.database
-
An abstract implementation of QueryContext
- AbstractQueryContext() - Constructor for class com.mckoi.database.AbstractQueryContext
- AbstractStore - Class in com.mckoi.store
-
Provides an abstract implementation of Store.
- AbstractStore(boolean) - Constructor for class com.mckoi.store.AbstractStore
-
Constructs the store.
- acceptsURL(String) - Method in class com.mckoi.database.jdbc.MDriver
- ACCOUNT - Static variable in interface com.mckoi.database.sql.SQLConstants
- ACKNOWLEDGEMENT - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Sent as an acknowledgement to a command.
- ACTION - Static variable in interface com.mckoi.database.sql.SQLConstants
- add(int) - Method in class com.mckoi.database.Privileges
-
Adds a privilege and returns a new Privileges object with the new priv set.
- add(int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Adds an int to the end of the list.
- add(int) - Method in interface com.mckoi.util.IntegerListInterface
-
Adds an int to the end of the list.
- add(int, int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Adds an int at the given position in the list.
- add(int, int) - Method in interface com.mckoi.util.IntegerListInterface
-
Adds an integet to the given position in the list.
- add(int, String) - Method in class com.mckoi.util.Stats
-
Adds the given value to a stat property.
- add(RowData) - Method in class com.mckoi.database.DataTable
-
Adds a given 'RowData' object to the table.
- add(RowData[]) - Method in class com.mckoi.database.DataTable
-
Adds an array of 'RowData' objects to the table.
- add(BigNumber) - Method in class com.mckoi.util.BigNumber
- add(String) - Method in class com.mckoi.util.StringListBucket
-
Adds a string to the end of the list.
- add(String, int) - Method in class com.mckoi.util.StringListBucket
-
Adds a string to the given index of the list.
- ADD - Static variable in interface com.mckoi.database.sql.SQLConstants
- add_escapes(String) - Method in exception com.mckoi.database.sql.ParseException
-
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
- addAction(AlterTableAction) - Method in class com.mckoi.database.interpret.AlterTable
-
Adds an action to perform in this alter statement.
- addAllAreasUsed(ArrayList) - Method in class com.mckoi.database.FixedRecordList
-
Adds to the given ArrayList all the areas in the store that are used by this structure (as Long).
- addCheckConstraint(TableName, Expression, short, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.addCheckConstraint method.
- addCheckConstraint(TableName, Expression, short, String) - Method in class com.mckoi.database.Transaction
-
Adds a check expression that becomes perminent when the transaction is committed.
- addColumn(DataTableColumnDef) - Method in class com.mckoi.database.DataTableDef
- addConstraint(String) - Method in class com.mckoi.database.interpret.ColumnDef
-
Adds a constraint to this column.
- addDataIndexDef(DataIndexDef) - Method in class com.mckoi.database.DataIndexSetDef
-
Adds a DataIndexDef to this table.
- addDataTableListener(DataTableListener) - Method in class com.mckoi.database.DataTable
-
Adds a DataTableListener to the DataTable objects at the root of this table tree hierarchy.
- addElement(Object) - Method in class com.mckoi.database.Expression
-
Adds a new element into the expression.
- addElement(Object) - Method in class com.mckoi.database.interpret.AlterTableAction
-
Adds a parameter to this action.
- addEscapes(String) - Static method in error com.mckoi.database.sql.TokenMgrError
-
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
- addForeignKeyConstraint(TableName, String[], TableName, String[], String, String, short, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.addForeignKeyConstraint method.
- addForeignKeyConstraint(TableName, String[], TableName, String[], String, String, short, String) - Method in class com.mckoi.database.Transaction
-
Adds a foreign key constraint to the database which becomes perminent when the transaction is committed.
- addFunction(String, Class) - Method in class com.mckoi.database.FunctionFactory
-
Adds a new static function to this factory.
- addFunction(String, Class, int) - Method in class com.mckoi.database.FunctionFactory
-
Adds a new function to this factory.
- addFunctionFactory(FunctionFactory) - Method in class com.mckoi.database.TransactionSystem
-
Registers a new FunctionFactory with the database system.
- addGrant(Privileges, int, String, String, boolean, String) - Method in class com.mckoi.database.GrantManager
-
Adds a grant on the given database object.
- addGrantToAllTablesInSchema(String, Privileges, String, boolean, String) - Method in class com.mckoi.database.GrantManager
-
For all tables in the given schema, this adds the given grant for each of the tables.
- addIndexLists(int, byte) - Method in class com.mckoi.database.IndexStore
-
Adds a number of blank index tables to the index store.
- addInt(int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Adds an int to the block.
- addInt(int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Adds an int to the block.
- addInt(int) - Method in class com.mckoi.util.IntegerVector
-
Adds an int to the vector.
- addJoin(int) - Method in class com.mckoi.database.interpret.FromClause
-
Adds a Join to the from clause.
- addJoin(int) - Method in class com.mckoi.database.JoiningSet
-
Adds a joining type to the set with no 'on' expression.
- addJoin(int, Expression) - Method in class com.mckoi.database.interpret.FromClause
-
Adds a Join to the from clause.
- addJoin(int, Expression) - Method in class com.mckoi.database.JoiningSet
-
Adds a joining type to the set, and an 'on' expression.
- addMarkedTable(String, Table) - Method in class com.mckoi.database.AbstractQueryContext
-
Marks a table in a query plan.
- addMarkedTable(String, Table) - Method in interface com.mckoi.database.QueryContext
-
Marks a table in a query plan.
- addOperator(Operator) - Method in class com.mckoi.database.Expression
-
Adds a new operator into the expression.
- addOperatorToExpression(Expression, Operator) - Method in class com.mckoi.database.sql.SQL
-
Helper for expression parsing.
- addPreviousJoin(int, Expression) - Method in class com.mckoi.database.interpret.FromClause
-
Hack, add a joining type to the previous entry from the end.
- addPreviousJoin(int, Expression) - Method in class com.mckoi.database.JoiningSet
-
Hack, add a joining type to the previous entry from the end.
- addPrimaryKeyConstraint(TableName, String[], short, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.addPrimaryKeyConstraint method.
- addPrimaryKeyConstraint(TableName, String[], short, String) - Method in class com.mckoi.database.Transaction
-
Adds a primary key constraint that becomes perminent when the transaction is committed.
- addRangeToSet(int, int, IntegerVector) - Method in class com.mckoi.database.CollatedBaseSearch
-
Adds the set indexes to the list that represent the range of values between the start (inclusive) and end offset (inclusive) given.
- addRangeToSet(int, int, IntegerVector) - Method in class com.mckoi.database.InsertSearch
- addressableNodeCount() - Method in class com.mckoi.database.FixedRecordList
-
Returns the total number of nodes that are currently addressable by this list structure.
- addRootLock() - Method in interface com.mckoi.database.MutableTableDataSource
-
Puts this source under a 'root lock'.
- addRow(RowData) - Method in interface com.mckoi.database.MutableTableDataSource
-
Adds a row to the source.
- addSector(byte[]) - Method in class com.mckoi.database.FixedSizeDataStore
-
Adds a new sector into the store.
- addSector(byte[], int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Adds a new sector into the store.
- addSelectedFromTable(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Adds the given table name to the list of tables that are selected from within the transaction in this connection.
- addSelectedFromTable(TableName) - Method in class com.mckoi.database.Transaction
-
Called by the query evaluation layer when information is selected from this table as part of this transaction.
- addSelectedFromTable(String) - Method in class com.mckoi.database.DatabaseConnection
-
Adds the given table name to the list of tables that are selected from within the transaction in this connection.
- addSQLWarning(SQLWarning) - Method in class com.mckoi.database.jdbc.MConnection
-
Adds a new SQLWarning to the chain.
- addTable(FromTableInterface) - Method in class com.mckoi.database.interpret.Statement
-
Add an FromTableInterface that is used within this query.
- addTable(TableName) - Method in class com.mckoi.database.JoiningSet
-
Adds a new table into the set being joined.
- addTable(String) - Method in class com.mckoi.database.interpret.FromClause
-
Adds a table name to this FROM clause.
- addTable(String, String) - Method in class com.mckoi.database.interpret.FromClause
-
Adds a table name + alias to this FROM clause.
- addTableDeclaration(String, TableSelectExpression, String) - Method in class com.mckoi.database.interpret.FromClause
-
A generic form of a table declaration.
- addToDate(Date) - Method in class com.mckoi.util.TimeFrame
-
Returns a Date that is the addition of this period of time to the given date.
- addTransactionModificationListener(TableName, TransactionModificationListener) - Method in class com.mckoi.database.TableDataConglomerate
-
Adds a listener for transactional modification events that occur on the given table in this conglomerate.
- addTriggerListener(String, TriggerListener) - Method in class com.mckoi.database.jdbc.MckoiConnection
-
Registers a TriggerListener to listen for any triggers that are fired with the given name.
- addUniqueConstraint(TableName, String[], short, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.addUniqueConstraint method.
- addUniqueConstraint(TableName, String[], short, String) - Method in class com.mckoi.database.Transaction
-
Adds a unique constraint to the database which becomes perminant when the transaction is committed.
- addUserToGroup(DatabaseQueryContext, String, String) - Method in class com.mckoi.database.Database
-
Adds the user to the given group.
- addVar(Object) - Method in class com.mckoi.database.jdbc.SQLQuery
-
Adds a variable to the query.
- addVirtualColumn(DataTableColumnDef) - Method in class com.mckoi.database.DataTableDef
-
Same as 'addColumn' only this does not perform a check to ensure no two columns are the same.
- adjustBeginLineColumn(int, int) - Method in class com.mckoi.database.sql.SimpleCharStream
-
Method to adjust line and column numbers for the start of a token.
- AFTER - Static variable in interface com.mckoi.database.sql.SQLConstants
- AFTER - Static variable in class com.mckoi.database.TableModificationEvent
-
Event that occurs after the action
- AFTER_DELETE - Static variable in class com.mckoi.database.TableModificationEvent
-
Event for after a delete.
- AFTER_INSERT - Static variable in class com.mckoi.database.TableModificationEvent
-
Event for after an insert.
- AFTER_LAST_VALUE - Static variable in class com.mckoi.database.SelectableRange
-
Represents the various points in the set on the value to represent the set range.
- AFTER_UPDATE - Static variable in class com.mckoi.database.TableModificationEvent
-
Event for after an update.
- afterLast() - Method in class com.mckoi.database.jdbc.MResultSet
- AGGREGATE - Static variable in interface com.mckoi.database.FunctionInfo
-
A type that represents an aggregate function.
- ALERT - Static variable in class com.mckoi.debug.Debug
-
Deprecated.
- ALERT - Static variable in interface com.mckoi.debug.Lvl
- alias - Variable in class com.mckoi.database.interpret.SelectColumn
-
The alias of this column string.
- all(QueryContext, Expression, Operator, Table) - Method in class com.mckoi.database.Table
-
Evaluates a non-correlated ALL type operator given the LHS expression, the RHS subquery and the ALL operator to use.
- ALL - Static variable in class com.mckoi.database.Operator
-
The ANY and ALL enumerator.
- ALL - Static variable in class com.mckoi.database.Privileges
-
The priv to allow full access to the database object.
- ALL - Static variable in interface com.mckoi.database.sql.SQLConstants
- allColumnMatchesValue(int, Operator, TObject) - Method in class com.mckoi.database.Table
-
Returns true if the given column contains all values that the given operator returns true for with the given value.
- allColumns() - Method in class com.mckoi.database.interpret.FromTableDirectSource
- allColumns() - Method in interface com.mckoi.database.interpret.FromTableInterface
-
Returns an array of Variable objects that references each column available in this table set item in order from left column to right column.
- allColumns() - Method in class com.mckoi.database.interpret.FromTableSubQuerySource
- allElements() - Method in class com.mckoi.database.AbstractFunction
-
Returns the list of all elements that are used by this function.
- allElements() - Method in class com.mckoi.database.Expression
-
Returns a complete list of all element objects that are in this expression and in the parameters of the functions of this expression.
- allElements() - Method in interface com.mckoi.database.Function
-
Returns the list of all element objects that this function uses as its parameters.
- allProceduresAreCallable() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- allSwitchesStartingWith(String) - Method in class com.mckoi.util.CommandLine
-
Returns a list of all switches on the command line that start with the given string.
- allTables() - Method in class com.mckoi.database.interpret.FromClause
-
Returns a Set of FromTableDef objects that represent all the tables that are in this from clause.
- allTablesAreSelectable() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- allVariables() - Method in class com.mckoi.database.AbstractFunction
-
Returns the list of all Variable's that are used by this function.
- allVariables() - Method in class com.mckoi.database.Expression
-
Returns a complete List of Variable objects in this expression not including correlated variables.
- allVariables() - Method in interface com.mckoi.database.Function
-
Returns the list of Variable objects that this function uses as its parameters.
- Alter() - Method in class com.mckoi.database.sql.SQL
- ALTER - Static variable in class com.mckoi.database.Privileges
-
The priv to alter objects (only applicable for SCHEMA grant objects).
- ALTER - Static variable in interface com.mckoi.database.sql.SQLConstants
- alterCreateTable(DataTableDef) - Method in class com.mckoi.database.DatabaseConnection
-
Given a DataTableDef, if the table exists then it is updated otherwise if it doesn't exist then it is created.
- alterCreateTable(DataTableDef, int, int) - Method in class com.mckoi.database.DatabaseConnection
-
Given a DataTableDef, if the table exists then it is updated otherwise if it doesn't exist then it is created.
- alterCreateTable(DataTableDef, int, int) - Method in class com.mckoi.database.Transaction
-
Given a DataTableDef, if the table exists then it is updated otherwise if it doesn't exist then it is created.
- alterTable(TableName, DataTableDef) - Method in class com.mckoi.database.Transaction
-
Alters the table with the given name within this transaction to the specified table definition.
- alterTable(TableName, DataTableDef, int, int) - Method in class com.mckoi.database.Transaction
-
Alter the table with the given name to the new definition and give the copied table a new data sector size.
- AlterTable - Class in com.mckoi.database.interpret
-
Logic for the ALTER TABLE SQL statement.
- AlterTable() - Constructor for class com.mckoi.database.interpret.AlterTable
- AlterTable() - Method in class com.mckoi.database.sql.SQL
- AlterTableAction - Class in com.mckoi.database.interpret
-
Represents an action in an ALTER TABLE SQL statement.
- AlterTableAction() - Constructor for class com.mckoi.database.interpret.AlterTableAction
-
Constructor.
- AlterUser() - Method in class com.mckoi.database.sql.SQL
- alterUserPassword(DatabaseQueryContext, String, String) - Method in class com.mckoi.database.Database
-
Alters the password of the user but otherwise does not change any information about the user.
- alwaysReindexDirtyTables() - Method in class com.mckoi.database.TransactionSystem
-
Returns the status of the 'always_reindex_dirty_tables' property.
- AND - Static variable in interface com.mckoi.database.sql.SQLConstants
- any(QueryContext, Expression, Operator, Table) - Method in class com.mckoi.database.Table
-
Evaluates a non-correlated ANY type operator given the LHS expression, the RHS subquery and the ANY operator to use.
- ANY - Static variable in class com.mckoi.database.Operator
-
The ANY and ALL enumerator.
- ANY - Static variable in interface com.mckoi.database.sql.SQLConstants
- append(IntegerVector) - Method in class com.mckoi.util.IntegerVector
-
Appends an IntegerVector to the end of the array.
- appendDayType(StringBuffer, double, boolean) - Static method in class com.mckoi.util.GeneralFormatter
- appendHourType(StringBuffer, double, boolean) - Static method in class com.mckoi.util.GeneralFormatter
- appendMinuteType(StringBuffer, double, boolean) - Static method in class com.mckoi.util.GeneralFormatter
- appendWeekType(StringBuffer, double, boolean) - Static method in class com.mckoi.util.GeneralFormatter
-
Appends time frame representation information into the given StringBuffer for various types of visual time frame formats.
- approximateMemoryUse() - Method in class com.mckoi.database.TObject
-
Returns the approximate memory use of this object in bytes.
- Area - Interface in com.mckoi.store
-
An interface for access the contents of an area of a store.
- AreaWriter - Interface in com.mckoi.store
-
The interface used for setting up an area initially in a store.
- array - Variable in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
The array of int's stored in this block.
- ARRAY - Static variable in interface com.mckoi.database.global.SQLTypes
- ARRAY_TYPE - Static variable in class com.mckoi.database.TType
-
A type that represents an array.
- AS - Static variable in interface com.mckoi.database.sql.SQLConstants
- asBigDecimal() - Method in class com.mckoi.util.BigNumber
-
Returns the big number as a BigDecimal object.
- ASC - Static variable in interface com.mckoi.database.sql.SQLConstants
- ascending - Variable in class com.mckoi.database.interpret.ByColumn
-
If 'order by' then true if sort is ascending (default).
- AsciiReader - Class in com.mckoi.database.jdbc
-
A java.io.Reader implementation that wraps around an ascii input stream (8-bit per char stream).
- AsciiReader(InputStream) - Constructor for class com.mckoi.database.jdbc.AsciiReader
-
Constructs the reader.
- asEncodedString(TType) - Static method in class com.mckoi.database.TType
-
Encodes a TType into a string which is a useful way to serialize a TType.
- asEncodedString(TType[]) - Static method in class com.mckoi.database.TType
-
Given an array of TType, returns a String that that is the encoded form of the array and that can be later decoded back into an array of TType.
- ask(String, String[], int) - Method in class com.mckoi.util.ShellUserTerminal
- ask(String, String[], int) - Method in interface com.mckoi.util.UserTerminal
-
Asks the user a question from the 'question' string.
- asNonQuotedRef(Token) - Static method in class com.mckoi.database.sql.Util
-
Returns the Token as a non quoted reference.
- Assignment - Class in com.mckoi.database
-
An assignment from a variable to an expression.
- Assignment(Variable, Expression) - Constructor for class com.mckoi.database.Assignment
-
Constructs the assignment.
- ASSIGNMENT - Static variable in interface com.mckoi.database.sql.SQLConstants
- AssignmentList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- asSQLString() - Method in class com.mckoi.database.TType
-
Returns this TType as a fully parsable declared SQL type.
- authenticateUser(String, String, String) - Method in class com.mckoi.database.Database
-
Tries to authenticate a username/password against this database.
- AUTHENTICATION_ERROR - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
There was an authentication error.
- AUTHOR - Static variable in class com.mckoi.database.global.StandardMessages
-
The name of the author (me).
- auto_resize_result_table - Variable in class com.mckoi.tools.JDBCQueryTool
-
Set to true if the table is auto resize (default).
- AUTOCOMMIT - Static variable in interface com.mckoi.database.sql.SQLConstants
- autoCommitFailureClosesAllResultSets() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- available() - Method in class com.mckoi.util.LengthMarkedBufferedInputStream
- available() - Method in class com.mckoi.util.PagedInputStream
B
- backup(int) - Method in class com.mckoi.database.sql.SimpleCharStream
- BasicColumnList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- BEFORE - Static variable in interface com.mckoi.database.sql.SQLConstants
- BEFORE - Static variable in class com.mckoi.database.TableModificationEvent
-
Event that occurs before the action
- BEFORE_DELETE - Static variable in class com.mckoi.database.TableModificationEvent
-
Event for before a delete.
- BEFORE_FIRST_VALUE - Static variable in class com.mckoi.database.SelectableRange
-
Represents the various points in the set on the value to represent the set range.
- BEFORE_INSERT - Static variable in class com.mckoi.database.TableModificationEvent
-
Event for before an insert.
- BEFORE_UPDATE - Static variable in class com.mckoi.database.TableModificationEvent
-
Event for before an update.
- beforeFirst() - Method in class com.mckoi.database.jdbc.MResultSet
- BeforeOrAfter() - Method in class com.mckoi.database.sql.SQL
- beginColumn - 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.
- 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.
- BeginToken() - Method in class com.mckoi.database.sql.SimpleCharStream
- BETWEEN - Static variable in interface com.mckoi.database.sql.SQLConstants
- BetweenPredicate(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- BIG_NUMBER_ONE - Static variable in class com.mckoi.util.BigNumber
- BIG_NUMBER_ZERO - Static variable in class com.mckoi.util.BigNumber
-
Statics for 0 and 1.
- BIGINT - Static variable in interface com.mckoi.database.global.SQLTypes
- BIGINT - Static variable in interface com.mckoi.database.sql.SQLConstants
- BigNumber - Class in com.mckoi.util
-
Extends BigDecimal to allow a number to be positive infinity, negative infinity and not-a-number.
- bigNumberVal(BigNumber) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of numeric type that represents the given BigNumber value.
- BIN_AREA_OFFSET - Static variable in class com.mckoi.store.AbstractStore
-
The offset into the file that the bin area starts.
- BIN_ENTRIES - Static variable in class com.mckoi.store.AbstractStore
- BINARY - Static variable in interface com.mckoi.database.global.SQLTypes
- BINARY - Static variable in interface com.mckoi.database.sql.SQLConstants
- BINARY_TYPE - Static variable in class com.mckoi.database.TType
-
A default binary (SQL BLOB) type of unlimited maximum size.
- binarySearch(Object, IndexComparator) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Considers each int a reference to another structure, and the block sorted by these structures.
- binarySearch(Object, IndexComparator) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Considers each int a reference to another structure, and the block sorted by these structures.
- BinaryToUnicodeReader - Class in com.mckoi.database.jdbc
-
A Reader implementation that wraps around a unicode encoded input stream that encodes each unicode character as 2 bytes.
- BinaryToUnicodeReader(InputStream) - Constructor for class com.mckoi.database.jdbc.BinaryToUnicodeReader
-
Constructor.
- binaryType(int, int) - Static method in class com.mckoi.database.TType
-
Returns a TBinaryType object.
- BIT - Static variable in interface com.mckoi.database.global.SQLTypes
- BIT - Static variable in interface com.mckoi.database.sql.SQLConstants
- bitWiseOr(BigNumber) - Method in class com.mckoi.util.BigNumber
- blankSelectableSchemes() - Method in class com.mckoi.database.DefaultDataTable
-
Blanks all the column schemes in the table to an initial state.
- blankSelectableSchemes(int) - Method in class com.mckoi.database.DataTable
-
Overwritten from DefaultDataTable to do nothing.
- blankSelectableSchemes(int) - Method in class com.mckoi.database.DefaultDataTable
-
Blanks all the column schemes in this table to a specific type of scheme.
- BlindSearch - Class in com.mckoi.database
-
This is a scheme that performs a blind search of a given set.
- BlindSearch(TableDataSource, int) - Constructor for class com.mckoi.database.BlindSearch
-
The Constructor.
- BLOB - Static variable in interface com.mckoi.database.global.SQLTypes
- BLOB - Static variable in interface com.mckoi.database.sql.SQLConstants
- BlobAccessor - Interface in com.mckoi.database.global
-
An interface that provides access to basic information about a BLOB so that we may compare BLOBs implemented in different ways.
- BlobRef - Interface in com.mckoi.database.global
-
A lightweight interface that is a reference to a blob in a BlobStore.
- BlobStoreInterface - Interface in com.mckoi.database
-
A very restricted interface for accessing a blob store.
- block() - Method in class com.mckoi.jfccontrols.SwingBlockUtil
-
Utility that blocks the Swing EventDispatchThread, and then emulates the inner loop of the dispatcher thread itself.
- block_list - Variable in class com.mckoi.util.AbstractBlockIntegerList
-
The list of blocks (objects in this list are of type 'IntegerListBlockInterface'.
- blockForCommand() - Method in class com.mckoi.util.LengthMarkedBufferedInputStream
-
Blocks until a complete command has been read in.
- BlockIntegerList - Class in com.mckoi.util
-
An implementation of AbstractBlockIntegerList that stores all int values in blocks that are entirely stored in main memory.
- BlockIntegerList() - Constructor for class com.mckoi.util.BlockIntegerList
-
Constructs the list.
- BlockIntegerList(IntegerListInterface) - Constructor for class com.mckoi.util.BlockIntegerList
-
Copies the information from the given BlockIntegerList into a new object and performs a deep clone of the information in this container.
- BlockIntegerList(IntegerVector) - Constructor for class com.mckoi.util.BlockIntegerList
- BlockIntegerList.IntArrayListBlock - Class in com.mckoi.util
-
The block that contains the actual int values of the list.
- BOOLEAN - Static variable in interface com.mckoi.database.global.SQLTypes
- BOOLEAN - Static variable in interface com.mckoi.database.sql.SQLConstants
- BOOLEAN_FALSE - Static variable in class com.mckoi.database.TObject
- BOOLEAN_LITERAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- BOOLEAN_NULL - Static variable in class com.mckoi.database.TObject
- BOOLEAN_TRUE - Static variable in class com.mckoi.database.TObject
- BOOLEAN_TYPE - Static variable in class com.mckoi.database.TType
-
A default boolean (SQL BIT) type.
- BooleanOperator(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- booleanType(int) - Static method in class com.mckoi.database.TType
-
Returns a TBooleanType object.
- booleanVal(boolean) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of boolean type that is either true or false.
- boot(DBConfig) - Method in interface com.mckoi.database.jdbc.LocalBootable
-
Boots the database with the given configuration.
- boot(DBConfig) - Method in class com.mckoi.database.jdbcserver.DefaultLocalBootable
-
Boots the local database with the given configuration.
- BOTH - Static variable in interface com.mckoi.database.sql.SQLConstants
- bottomInt() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
The bottom int in the list.
- bottomInt() - Method in class com.mckoi.util.IntegerListBlockInterface
-
The bottom int in the list.
- BranchQueryPlanNode(QueryPlanNode, QueryPlanNode) - Constructor for class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
The Constructor.
- breakByOperator(ArrayList, String) - Method in class com.mckoi.database.Expression
-
Breaks this expression into a list of sub-expressions that are split by the given operator.
- bufpos - Variable in class com.mckoi.database.sql.SimpleCharStream
- ByColumn - Class in com.mckoi.database.interpret
-
Object used to represent a column in the 'order by' and 'group by' clauses of a select statement.
- ByColumn() - Constructor for class com.mckoi.database.interpret.ByColumn
- ByteArrayUtil - Class in com.mckoi.util
-
Static utilities for byte arrays.
- ByteArrayUtil() - Constructor for class com.mckoi.util.ByteArrayUtil
- ByteBuffer - Class in com.mckoi.util
-
A wrapper for an array of byte[].
- ByteBuffer(byte[]) - Constructor for class com.mckoi.util.ByteBuffer
- ByteBuffer(byte[], int, int) - Constructor for class com.mckoi.util.ByteBuffer
-
Constructs the buffer.
- ByteLongObject - Class in com.mckoi.database.global
-
A byte array that can be transferred between the client and server.
- ByteLongObject(byte[]) - Constructor for class com.mckoi.database.global.ByteLongObject
- ByteLongObject(byte[], int, int) - Constructor for class com.mckoi.database.global.ByteLongObject
-
Constructor.
- ByteLongObject(InputStream, int) - Constructor for class com.mckoi.database.global.ByteLongObject
- byteValue() - Method in class com.mckoi.util.BigNumber
-
Returns this big number as a byte.
C
- Cache - Class in com.mckoi.util
-
Represents a cache of Objects.
- Cache() - Constructor for class com.mckoi.util.Cache
- Cache(int) - Constructor for class com.mckoi.util.Cache
- Cache(int, int) - Constructor for class com.mckoi.util.Cache
- Cache(int, int, int) - Constructor for class com.mckoi.util.Cache
-
The Constructors.
- CACHE - Static variable in interface com.mckoi.database.sql.SQLConstants
- CachePointNode(QueryPlanNode) - Constructor for class com.mckoi.database.QueryPlan.CachePointNode
-
Constructor.
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TArrayType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TBinaryType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TBooleanType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TDateType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TJavaObjectType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TNullType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TNumericType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TQueryPlanType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TStringType
- calculateApproximateMemoryUse(Object) - Method in class com.mckoi.database.TType
-
Calculates the approximate memory usage of an object of this type in bytes.
- calculateSectorSpan(int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Calculates the number of sectors the given length of bytes will span.
- Call - Class in com.mckoi.database.interpret
-
A statement that calls a procedure, and returns a resultant table.
- Call() - Constructor for class com.mckoi.database.interpret.Call
- Call() - Method in class com.mckoi.database.sql.SQL
- CALL - Static variable in interface com.mckoi.database.sql.SQLConstants
- CALLBACK - Static variable in interface com.mckoi.database.sql.SQLConstants
- canBeRepresentedAsInt() - Method in class com.mckoi.util.BigNumber
-
Returns true if this BigNumber can be represented by a 32-bit int (has no scale).
- canBeRepresentedAsLong() - Method in class com.mckoi.util.BigNumber
-
Returns true if this BigNumber can be represented by a 64-bit long (has no scale).
- cancel() - Static method in class com.mckoi.jfccontrols.QueryAgent
-
Cancels the query that is currently being executed (if any).
- cancelQuery() - Method in class com.mckoi.jfccontrols.QueryAgent
-
Cancels any query that is currently being executed by this agent.
- cancelRowUpdates() - Method in class com.mckoi.database.jdbc.MResultSet
- canContain(int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Returns true if the block has enough room to fill with the given number of integers.
- canContain(int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Returns true if the block has enough room to fill with the given number of integers.
- CANONICAL_DECOMPOSITION - Static variable in interface com.mckoi.database.sql.SQLConstants
- canPrepare(Object) - Method in interface com.mckoi.database.ExpressionPreparer
-
Returns true if this preparer will prepare the given object in an expression.
- canUserAlterTableObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can alter a table or view with the given name, otherwise returns false.
- canUserCompactTableObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can compact a table with the given name, otherwise returns false.
- canUserCreateAndDropSchema(DatabaseQueryContext, User, String) - Method in class com.mckoi.database.Database
-
Returns true if the user is permitted to create and drop schema's in the database, otherwise returns false.
- canUserCreateAndDropUsers(DatabaseQueryContext, User) - Method in class com.mckoi.database.Database
-
Returns true if the user is permitted to create, alter and drop user information from the database, otherwise returns false.
- canUserCreateProcedureObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can create a procedure with the given name, otherwise returns false.
- canUserCreateSequenceObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can create a sequence with the given name, otherwise returns false.
- canUserCreateTableObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can create a table or view with the given name, otherwise returns false.
- canUserDeleteFromTableObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can delete from a table or view with the given name and given columns, otherwise returns false.
- canUserDropProcedureObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can drop a procedure with the given name, otherwise returns false.
- canUserDropSequenceObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can drop a sequence with the given name, otherwise returns false.
- canUserDropTableObject(DatabaseQueryContext, User, TableName) - Method in class com.mckoi.database.Database
-
Returns true if the user can drop a table or view with the given name, otherwise returns false.
- canUserExecuteStoredProcedure(DatabaseQueryContext, User, String) - Method in class com.mckoi.database.Database
-
Returns true if the user is allowed to execute the given stored procedure.
- canUserInsertIntoTableObject(DatabaseQueryContext, User, TableName, Variable[]) - Method in class com.mckoi.database.Database
-
Returns true if the user can insert into a table or view with the given name and given columns, otherwise returns false.
- canUserSelectFromTableObject(DatabaseQueryContext, User, TableName, Variable[]) - Method in class com.mckoi.database.Database
-
Returns true if the user can select from a table or view with the given name and given columns, otherwise returns false.
- canUserShutDown(DatabaseQueryContext, User) - Method in class com.mckoi.database.Database
-
Returns true if the user can shut down the database server.
- canUserUpdateTableObject(DatabaseQueryContext, User, TableName, Variable[]) - Method in class com.mckoi.database.Database
-
Returns true if the user can update a table or view with the given name and given columns, otherwise returns false.
- capacity() - Method in interface com.mckoi.store.Area
-
Returns the capacity of the area.
- capacity() - Method in interface com.mckoi.store.AreaWriter
-
Returns the size of this area.
- CASCADE - Static variable in interface com.mckoi.database.sql.SQLConstants
- CASCADE - Static variable in class com.mckoi.database.Transaction
- caseCheck(String) - Method in class com.mckoi.database.sql.SQL
-
If the parser has been defined as case insensitive then this returns the uppercase version of the given string.
- CAST - Static variable in interface com.mckoi.database.sql.SQLConstants
- castArgsToConstructor(TObject[], Constructor) - Static method in class com.mckoi.database.Caster
-
Cast the given arguments to the specified constructors parameter types.
- Caster - Class in com.mckoi.database
-
Methods to choose and perform casts from database type to Java types.
- Caster() - Constructor for class com.mckoi.database.Caster
- CastHelper - Class in com.mckoi.database.global
-
Various utility methods for helping to cast a Java object to a type that is conformant to an SQL type.
- CastHelper() - Constructor for class com.mckoi.database.global.CastHelper
- castObjectToSQLType(Object, int, int, int, String) - Static method in class com.mckoi.database.global.CastHelper
-
Casts a Java object to the SQL type specified by the given DataTableColumnDef object.
- castObjectToTType(Object, TType) - Static method in class com.mckoi.database.TType
-
Casts the given Java object to the given type.
- castTo(TType) - Method in class com.mckoi.database.TObject
-
Casts this object to the given type and returns a new TObject.
- CATALOG - Static variable in class com.mckoi.database.GrantManager
-
Represents a CATALOG object to grant privs over for this user.
- CellBufferOutputStream - Class in com.mckoi.database
-
This is a ByteArrayOutputStream that allows access to the underlying byte array.
- CellBufferOutputStream(int) - Constructor for class com.mckoi.database.CellBufferOutputStream
-
The Constructor.
- CellInput - Interface in com.mckoi.database
- chainComposite(TableSelectExpression, String, boolean) - Method in class com.mckoi.database.interpret.TableSelectExpression
-
Chains a new composite function to this expression.
- changeSQL(String) - Method in class com.mckoi.jfccontrols.Query
-
Returns a copy of this Query object but with a different query string.
- CHAR - Static variable in interface com.mckoi.database.global.SQLTypes
- CHAR - Static variable in interface com.mckoi.database.sql.SQLConstants
- CHARACTER - Static variable in interface com.mckoi.database.sql.SQLConstants
- CHECK - Static variable in class com.mckoi.database.interpret.ConstraintDef
-
A CHECK constraint.
- CHECK - Static variable in interface com.mckoi.database.sql.SQLConstants
- CHECK_INFO_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- CHECK_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
A Check constraint violation error code.
- checkAccess(DataTable, int) - Method in class com.mckoi.database.LockHandle
-
Blocks until access to the given DataTable object is safe.
- checkAllConstraints(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Checks all the rows in the table for immediate constraint violations and when the transaction is next committed check for all deferred constraint violations.
- checkAllConstraints(TableName) - Method in class com.mckoi.database.Transaction
-
Checks all the rows in the table for immediate constraint violations and when the transaction is next committed check for all deferred constraint violations.
- checkAndRepair(String, UserTerminal) - Method in class com.mckoi.database.V1MasterTableDataSource
-
Performs a complete check and repair of the table.
- checkAndRepair(String, UserTerminal) - Method in class com.mckoi.database.V2MasterTableDataSource
-
Performs a complete check and repair of the table.
- checkAvailable(InetAddress, int) - Method in class com.mckoi.database.jdbcserver.TCPServer
-
Checks to see if there's already something listening on the jdbc port.
- checkClean() - Method in class com.mckoi.util.Cache
-
This is called whenever at Object is put into the cache.
- checkColumnNamesMatch(DatabaseConnection, String, String) - Method in class com.mckoi.database.interpret.AlterTable
-
Returns true if the column names match.
- checkExists(DBConfig) - Method in interface com.mckoi.database.jdbc.LocalBootable
-
Attempts to test if the database exists or not.
- checkExists(DBConfig) - Method in class com.mckoi.database.jdbcserver.DefaultLocalBootable
-
Attempts to test if the database exists or not.
- CheckExpression() - Constructor for class com.mckoi.database.Transaction.CheckExpression
- checkForCleanup() - Method in class com.mckoi.database.V1MasterTableDataSource
- checkNotDisposed() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Checks if the interface is disposed, and if it is generates a friendly SQLException informing the user of this.
- checkOut() - Method in interface com.mckoi.store.MutableArea
-
Checks out all changes made to this area.
- checkPointer(long) - Method in class com.mckoi.store.AbstractStore
-
Checks the pointer is valid.
- checkSorted(IndexComparator) - Method in class com.mckoi.util.AbstractBlockIntegerList
- checkSorted(IntegerIterator, IndexComparator) - Static method in class com.mckoi.util.AbstractBlockIntegerList
- checkVisibleTables(UserTerminal) - Method in class com.mckoi.database.TableDataConglomerate
-
Checks the list of committed tables in this conglomerate.
- child - Variable in class com.mckoi.database.QueryPlan.SingleQueryPlanNode
-
The single child node.
- child() - Method in class com.mckoi.database.QueryPlan.SingleQueryPlanNode
-
Returns the child plan.
- classType() - Method in class com.mckoi.database.DataTableColumnDef
-
Returns the Class of Java object that represents this column.
- classType() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns the class of Java object for this field.
- clean() - Method in class com.mckoi.util.Cache
-
Cleans away some old elements in the cache.
- clear() - Method in class com.mckoi.database.jdbc.SQLQuery
-
Clears all the parameters.
- clear() - Method in class com.mckoi.jfccontrols.ResultSetTableModel
-
Clears the model of the current result set.
- clear() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Clears the object to be re-used.
- clear() - Method in class com.mckoi.util.Cache
- clear() - Method in class com.mckoi.util.IntegerListBlockInterface
-
Clears the object to be re-used.
- clear() - Method in class com.mckoi.util.IntegerVector
-
Clears the object to be re-used.
- clear() - Method in class com.mckoi.util.StringListBucket
-
Clears the list of all string elements.
- clear(Object) - Method in class com.mckoi.util.HashMapList
-
Clears the all the values for the given key.
- clearCache() - Method in class com.mckoi.database.AbstractQueryContext
-
Clears the cache of any cached tables.
- clearCache() - Method in interface com.mckoi.database.QueryContext
-
Clears the cache of any cached tables.
- clearColumnScheme(int) - Method in class com.mckoi.database.DefaultDataTable
-
Clears the SelectableScheme information for the given column.
- clearDeletedSectors() - Method in class com.mckoi.database.FixedSizeDataStore
-
Cleans up so all deleted sectors are completely removed from the store.
- clearResultSetMap() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Clears the contents of the result set map.
- clearWarnings() - Method in class com.mckoi.database.jdbc.MConnection
- clearWarnings() - Method in class com.mckoi.database.jdbc.MResultSet
- CLOB - Static variable in interface com.mckoi.database.global.SQLTypes
- CLOB - Static variable in interface com.mckoi.database.sql.SQLConstants
- ClobRef - Interface in com.mckoi.database.global
-
A reference to a large character object in the database.
- clone() - Method in class com.mckoi.database.Assignment
- clone() - Method in class com.mckoi.database.CorrelatedVariable
-
Clones the object.
- clone() - Method in class com.mckoi.database.Expression
-
Performs a deep clone of this object, calling 'clone' on any elements that are mutable or shallow copying immutable members.
- clone() - Method in class com.mckoi.database.FunctionDef
-
Performs a deep clone of this object.
- clone() - Method in class com.mckoi.database.interpret.AlterTableAction
- clone() - Method in class com.mckoi.database.interpret.ByColumn
- clone() - Method in class com.mckoi.database.interpret.ColumnDef
- clone() - Method in class com.mckoi.database.interpret.ConstraintDef
- clone() - Method in class com.mckoi.database.interpret.FromClause
- clone() - Method in class com.mckoi.database.interpret.FromTableDef
-
Clones the object (deep clone of immutable members).
- clone() - Method in class com.mckoi.database.interpret.SearchExpression
- clone() - Method in class com.mckoi.database.interpret.SelectColumn
- clone() - Method in class com.mckoi.database.interpret.TableSelectExpression
- clone() - Method in class com.mckoi.database.JoiningSet
-
Performs a deep clone on this object.
- clone() - Method in class com.mckoi.database.JoiningSet.JoinPart
- clone() - Method in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
Deep clone.
- clone() - Method in class com.mckoi.database.QueryPlan.CachePointNode
- clone() - Method in class com.mckoi.database.QueryPlan.ConstantSelectNode
- clone() - Method in class com.mckoi.database.QueryPlan.CreateFunctionsNode
- clone() - Method in class com.mckoi.database.QueryPlan.DistinctNode
- clone() - Method in class com.mckoi.database.QueryPlan.EquiJoinNode
- clone() - Method in class com.mckoi.database.QueryPlan.ExhaustiveSelectNode
- clone() - Method in class com.mckoi.database.QueryPlan.FetchTableNode
- clone() - Method in class com.mckoi.database.QueryPlan.FetchViewNode
- clone() - Method in class com.mckoi.database.QueryPlan.FunctionalSelectNode
- clone() - Method in class com.mckoi.database.QueryPlan.GroupNode
- clone() - Method in class com.mckoi.database.QueryPlan.JoinNode
- clone() - Method in class com.mckoi.database.QueryPlan.MarkerNode
- clone() - Method in class com.mckoi.database.QueryPlan.MultiColumnEquiSelectNode
- clone() - Method in class com.mckoi.database.QueryPlan.NonCorrelatedAnyAllNode
- clone() - Method in class com.mckoi.database.QueryPlan.RangeSelectNode
- clone() - Method in class com.mckoi.database.QueryPlan.SimplePatternSelectNode
- clone() - Method in class com.mckoi.database.QueryPlan.SimpleSelectNode
- clone() - Method in class com.mckoi.database.QueryPlan.SingleQueryPlanNode
-
Deep clone.
- clone() - Method in class com.mckoi.database.QueryPlan.SingleRowTableNode
- clone() - Method in class com.mckoi.database.QueryPlan.SortNode
- clone() - Method in class com.mckoi.database.QueryPlan.SubsetNode
- clone() - Method in interface com.mckoi.database.QueryPlanNode
-
Deep clones this query plan.
- clone() - Method in class com.mckoi.database.StatementTree
-
Performs a deep clone of this object, calling 'clone' on any elements that are mutable or shallow copying immutable members.
- clone() - Method in interface com.mckoi.database.StatementTreeObject
-
Performs a DEEP clone of this object if it is mutable, or a deep clone of its mutable members.
- clone() - Method in class com.mckoi.database.Variable
-
Performs a deep clone of this object.
- cloneSingleObject(Object) - Static method in class com.mckoi.database.StatementTree
-
Clones a single object.
- close() - Method in class com.mckoi.database.control.DBSystem
-
Closes this database system so it is no longer able to process queries.
- close() - Method in class com.mckoi.database.DatabaseConnection
-
Closes this database connection.
- close() - Method in class com.mckoi.database.FixedSizeDataStore
-
Closes the data store.
- close() - Method in class com.mckoi.database.IndexStore
-
Cleanly closes the index store.
- close() - Method in class com.mckoi.database.jdbc.AsciiReader
- close() - Method in class com.mckoi.database.jdbc.BinaryToUnicodeReader
- close() - Method in class com.mckoi.database.jdbc.MConnection
- close() - Method in class com.mckoi.database.jdbc.MResultSet
- close() - Method in class com.mckoi.database.jdbcserver.TCPServer
-
Closes the JDBC Server.
- close() - Method in class com.mckoi.database.TableDataConglomerate
-
Closes this conglomerate.
- close() - Method in class com.mckoi.database.VariableSizeDataStore
-
Closes the data store.
- close() - Method in class com.mckoi.store.AbstractStore
-
Closes the store.
- close() - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- close() - Method in class com.mckoi.store.StreamFile
-
Closes the file.
- close() - Method in class com.mckoi.util.Log
-
Closes the log file.
- close() - Method in class com.mckoi.util.LogWriter
- close() - Method in class com.mckoi.util.PagedInputStream
- CLOSE - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Closes the protocol stream.
- closeAndCommit() - Method in class com.mckoi.database.Transaction
-
Closes and marks a transaction as committed.
- closeAndRollback() - Method in class com.mckoi.database.Transaction
-
Closes and rolls back a transaction as if the commands the transaction ran never happened.
- cmd - Variable in class com.mckoi.database.interpret.Statement
-
The StatementTree object that is the container for the query.
- coalescArea(long, long) - Method in class com.mckoi.store.AbstractStore
-
Coalesc one or more areas into a larger area.
- COLLATE - Static variable in interface com.mckoi.database.sql.SQLConstants
- CollatedBaseSearch - Class in com.mckoi.database
-
An implementation of SelectableScheme that is based on some collated set of data.
- CollatedBaseSearch(TableDataSource, int) - Constructor for class com.mckoi.database.CollatedBaseSearch
-
The Constructor.
- column_filter - Variable in class com.mckoi.database.JoinedTable
-
Gives a column filter to the given column to route correctly to the ancestor.
- column_scheme - Variable in class com.mckoi.database.JoinedTable
-
The schemes to describe the entity relation in the given column.
- column_table - Variable in class com.mckoi.database.JoinedTable
-
Maps the column number in this table to the reference_list array to route to.
- columnAt(int) - Method in class com.mckoi.database.DataTableDef
- ColumnConstraint(ColumnDef) - Method in class com.mckoi.database.sql.SQL
- columnContainsCell(int, TObject) - Method in class com.mckoi.database.Table
-
Returns true if the given cell is found in the table.
- columnContainsValue(int, TObject) - Method in class com.mckoi.database.Table
-
Returns true if the given column number contains the value given.
- columnCount() - Method in class com.mckoi.database.DataTableDef
- ColumnDataType(ColumnDef) - Method in class com.mckoi.database.sql.SQL
- ColumnDeclarationList(ArrayList, ArrayList) - Method in class com.mckoi.database.sql.SQL
- ColumnDef - Class in com.mckoi.database.interpret
-
Represents a column definition (description).
- ColumnDef() - Constructor for class com.mckoi.database.interpret.ColumnDef
- ColumnDefinition() - Method in class com.mckoi.database.sql.SQL
- ColumnDescription - Class in com.mckoi.database.global
-
This is a description of a column and the data it stores.
- ColumnDescription(ColumnDescription) - Constructor for class com.mckoi.database.global.ColumnDescription
- ColumnDescription(String, int, boolean) - Constructor for class com.mckoi.database.global.ColumnDescription
- ColumnDescription(String, int, int, boolean) - Constructor for class com.mckoi.database.global.ColumnDescription
-
The Constructors if the type does require a size.
- ColumnDescription(String, ColumnDescription) - Constructor for class com.mckoi.database.global.ColumnDescription
- columnDescriptionValue(String) - Method in class com.mckoi.database.DataTableColumnDef
-
Returns this column as a ColumnDescription object and gives the column description the given name.
- ColumnGroup() - Constructor for class com.mckoi.database.Transaction.ColumnGroup
- ColumnGroupReference() - Constructor for class com.mckoi.database.Transaction.ColumnGroupReference
- columnMatchesValue(int, Operator, TObject) - Method in class com.mckoi.database.Table
-
Returns true if the given column contains a value that the given operator returns true for with the given value.
- columnMerge(Table) - Method in class com.mckoi.database.Table
-
Returns a Table that is a merge of this table and the destination table.
- ColumnName() - Method in class com.mckoi.database.sql.SQL
- ColumnNameVariable() - Method in class com.mckoi.database.sql.SQL
- ColumnOrConstraintDefinition(ArrayList, ArrayList) - Method in class com.mckoi.database.sql.SQL
- columns - Variable in class com.mckoi.database.interpret.TableSelectExpression
-
The list of columns to select from.
- columns - Variable in class com.mckoi.database.Transaction.ColumnGroup
-
The list of columns that make up the group.
- com.mckoi - package com.mckoi
-
The Mckoi Database; the JDBC driver is in this package.
- com.mckoi.database - package com.mckoi.database
-
The core database classes for Mckoi.
- com.mckoi.database.control - package com.mckoi.database.control
- com.mckoi.database.global - package com.mckoi.database.global
-
This package includes database constants such as Types.
- com.mckoi.database.interpret - package com.mckoi.database.interpret
- com.mckoi.database.jdbc - package com.mckoi.database.jdbc
-
The JDBC interface to Mckoi.
- com.mckoi.database.jdbcserver - package com.mckoi.database.jdbcserver
-
Implementation of the DatabaseInterface interface, including classes to handle local (embedded) mode and remote (client/server) mode.
- com.mckoi.database.procedure - package com.mckoi.database.procedure
- com.mckoi.database.regexbridge - package com.mckoi.database.regexbridge
-
Implementations of the RegexLibrary interface, which allows the application to select which regular expression package to use.
- com.mckoi.database.sql - package com.mckoi.database.sql
-
These classes parse SQL statements in Mckoi.
- com.mckoi.debug - package com.mckoi.debug
-
Debugging classes for Mckoi.
- com.mckoi.jfccontrols - package com.mckoi.jfccontrols
-
JFC classes to access a Mckoi database from a Swing application.
- com.mckoi.runtime - package com.mckoi.runtime
-
The main (starting) class for a Mckoi database server.
- com.mckoi.store - package com.mckoi.store
- com.mckoi.tools - package com.mckoi.tools
-
Tools for manipulating a Mckoi database.
- com.mckoi.util - package com.mckoi.util
-
Miscellaneous utility classes.
- CommandLine - Class in com.mckoi.util
-
Used to parse a command-line.
- CommandLine(String[]) - Constructor for class com.mckoi.util.CommandLine
-
Constructs the command line parser from the String[] array passed as the argument to the application.
- commit() - Method in class com.mckoi.database.DatabaseConnection
-
Tries to commit the current transaction.
- commit() - Method in class com.mckoi.database.jdbc.MConnection
- COMMIT - Static variable in interface com.mckoi.database.sql.SQLConstants
- commitIndexSet(IndexSet) - Method in class com.mckoi.database.IndexStore
-
Commits changes made to a snapshop of an IndexSet as being permanent changes to the state of the index store.
- COMMITTED_ADDED - Static variable in interface com.mckoi.database.RawDiagnosticTable
-
Statics that represent the various states of a record.
- COMMITTED_REMOVED - Static variable in interface com.mckoi.database.RawDiagnosticTable
-
Statics that represent the various states of a record.
- Compact - Class in com.mckoi.database.interpret
-
Statement that handles COMPACT sql command.
- Compact() - Constructor for class com.mckoi.database.interpret.Compact
- Compact() - Method in class com.mckoi.database.sql.SQL
- COMPACT - Static variable in class com.mckoi.database.Privileges
-
The priv to compact a database object.
- COMPACT - Static variable in interface com.mckoi.database.sql.SQLConstants
- compactTable(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Compacts the table with the given name.
- compactTable(TableName) - Method in class com.mckoi.database.Transaction
-
Compacts the table with the given name within this transaction.
- compactTable(String) - Method in class com.mckoi.database.DatabaseConnection
-
Compacts the table with the given name.
- comparableTypes(TObject) - Method in class com.mckoi.database.TObject
-
Returns true if the type of this object is logically comparable to the type of the given object.
- comparableTypes(TType) - Method in class com.mckoi.database.TArrayType
- comparableTypes(TType) - Method in class com.mckoi.database.TBinaryType
- comparableTypes(TType) - Method in class com.mckoi.database.TBooleanType
- comparableTypes(TType) - Method in class com.mckoi.database.TDateType
- comparableTypes(TType) - Method in class com.mckoi.database.TJavaObjectType
- comparableTypes(TType) - Method in class com.mckoi.database.TNullType
- comparableTypes(TType) - Method in class com.mckoi.database.TNumericType
- comparableTypes(TType) - Method in class com.mckoi.database.TQueryPlanType
- comparableTypes(TType) - Method in class com.mckoi.database.TStringType
-
For strings, the locale must be the same for the types to be comparable.
- comparableTypes(TType) - Method in class com.mckoi.database.TType
-
Returns true if the type of this object is logically comparable to the type of the given object.
- compare(int, int) - Method in interface com.mckoi.util.IndexComparator
-
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.
- compare(int, Object) - Method in interface com.mckoi.util.IndexComparator
-
Returns > 0 if the value pointed to by index1 is greater than 'val', or < 0 if the value pointed to by index 1 is less than 'val'.
- compareCells(TObject, TObject, Operator) - Static method in class com.mckoi.database.Table
-
Compares cell1 with cell2 and if the given operator evalutes to true then returns true, otherwise false.
- compareObs(Object, Object) - Method in class com.mckoi.database.TArrayType
- compareObs(Object, Object) - Method in class com.mckoi.database.TBinaryType
- compareObs(Object, Object) - Method in class com.mckoi.database.TBooleanType
- compareObs(Object, Object) - Method in class com.mckoi.database.TDateType
- compareObs(Object, Object) - Method in class com.mckoi.database.TJavaObjectType
- compareObs(Object, Object) - Method in class com.mckoi.database.TNullType
- compareObs(Object, Object) - Method in class com.mckoi.database.TNumericType
- compareObs(Object, Object) - Method in class com.mckoi.database.TQueryPlanType
- compareObs(Object, Object) - Method in class com.mckoi.database.TStringType
- compareObs(Object, Object) - Method in class com.mckoi.database.TType
-
Compares two objects that are logically comparable under this type.
- compareTo(TObject) - Method in class com.mckoi.database.TObject
-
Compares this object with the given object (which is of a logically comparable type).
- compareTo(BigNumber) - Method in class com.mckoi.util.BigNumber
-
Compares this BigNumber with the given BigNumber.
- compareTo(Object) - Method in class com.mckoi.database.global.NullObject
-
Deprecated.
- compareTo(Object) - Method in class com.mckoi.database.TableName
-
Comparable.
- compareTo(Object) - Method in class com.mckoi.database.Variable
-
Comparable.
- compareToNoNulls(TObject) - Method in class com.mckoi.database.TObject
-
Compares this object with the given object (which is of a logically comparable type).
- complete() - Method in interface com.mckoi.database.global.Ref
-
This method is called when the write phrase has completed, and it marks this large object as complete.
- completeRecordStreamWrite() - Method in class com.mckoi.database.VariableSizeDataStore
-
Updates the record allocation table with the data in the output stream returned by 'getRecordOutputStream'.
- CompleteTransaction - Class in com.mckoi.database.interpret
-
This represents either a COMMIT or ROLLBACK SQL command.
- CompleteTransaction() - Constructor for class com.mckoi.database.interpret.CompleteTransaction
- CompleteTransaction() - Method in class com.mckoi.database.sql.SQL
- CompositeNode(QueryPlanNode, QueryPlanNode, int, boolean) - Constructor for class com.mckoi.database.QueryPlan.CompositeNode
- CompositeTable - Class in com.mckoi.database
-
A composite of two or more datasets used to implement UNION, INTERSECTION, and DIFFERENCE.
- CompositeTable(Table[]) - Constructor for class com.mckoi.database.CompositeTable
-
Consturcts the composite table assuming the first item in the list is the master table.
- CompositeTable(Table, Table[]) - Constructor for class com.mckoi.database.CompositeTable
-
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.
- concat(Expression) - Method in class com.mckoi.database.Expression
-
Merges an expression with this expression.
- CONCAT - Static variable in interface com.mckoi.database.sql.SQLConstants
- ConditionsExpression(SearchExpression) - Method in class com.mckoi.database.sql.SQL
- connect(String, Properties) - Method in class com.mckoi.database.jdbc.MDriver
- connection() - Method in class com.mckoi.jfccontrols.QueryAgent
-
Returns the connection for the JDBC interface.
- ConnectionTriggerManager - Class in com.mckoi.database
-
A trigger manager on a DatabaseConnection that maintains a list of all triggers set in the database, and the types of triggers they are.
- connectToJVM() - Method in interface com.mckoi.database.jdbc.LocalBootable
-
Connects this interface to the database currently running in this JVM.
- connectToJVM() - Method in class com.mckoi.database.jdbcserver.DefaultLocalBootable
-
Creates a new LocalDatabaseInterface that is connected to the database currently running in this VM.
- ConstantSelectNode(QueryPlanNode, Expression) - Constructor for class com.mckoi.database.QueryPlan.ConstantSelectNode
- CONSTRAINT - Static variable in interface com.mckoi.database.sql.SQLConstants
- ConstraintAttributes(ConstraintDef) - Method in class com.mckoi.database.sql.SQL
- ConstraintDef - Class in com.mckoi.database.interpret
-
Represents a constraint definition (description) for a table.
- ConstraintDef() - Constructor for class com.mckoi.database.interpret.ConstraintDef
- constraintIntegrityCheck() - Method in interface com.mckoi.database.MutableTableDataSource
-
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.
- ConstraintName() - Method in class com.mckoi.database.sql.SQL
- contains(int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Assuming the list is sorted, this performs a binary search and returns true if the value is found, otherwise returns false.
- contains(int) - Method in interface com.mckoi.util.IntegerListInterface
-
Assuming the list is sorted, this performs a binary search and returns true if the value is found, otherwise returns false.
- contains(int) - Method in class com.mckoi.util.IntegerVector
-
Returns true if the vector contains the given value.
- contains(Object, IndexComparator) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Assuming the list is sorted, this performs a binary search and returns true if the value is found, otherwise returns false.
- contains(Object, IndexComparator) - Method in interface com.mckoi.util.IntegerListInterface
-
Assuming the list is sorted, this performs a binary search and returns true if the key value is found, otherwise returns false.
- contains(String) - Method in class com.mckoi.util.StringListBucket
-
Returns true if the list contains the given element string.
- containsKey(Object) - Method in class com.mckoi.util.HashMapList
-
Returns true if the map contains the key.
- containsNotOperator() - Method in class com.mckoi.database.Expression
-
Returns true if the expression contains a NOT operator somewhere in it.
- containsSwitch(String) - Method in class com.mckoi.util.CommandLine
-
Returns true if the switch is in the command line.
- containsSwitchFrom(String) - Method in class com.mckoi.util.CommandLine
-
Given a comma deliminated list, this scans for one of the switches in the list.
- containsSwitchStart(String) - Method in class com.mckoi.util.CommandLine
-
Returns true if the command line contains a switch starting with the given string.
- convertToCurrent(PrintStream, String) - Method in class com.mckoi.database.Database
-
Functionality for converting and old database format to the existing format.
- convertToScatteringStore(File) - Method in class com.mckoi.store.ScatteringStoreDataAccessor
-
Given a file, this will convert to a scattering file store with files no larger than the maximum slice size.
- copy() - Method in class com.mckoi.database.jdbc.SQLQuery
-
Creates an exact copy of this object.
- copy(TableDataSource, boolean) - Method in class com.mckoi.database.BlindSearch
-
Returns an exact copy of this scheme including any optimization information.
- copy(TableDataSource, boolean) - Method in class com.mckoi.database.InsertSearch
-
Returns an exact copy of this scheme including any optimization information.
- copy(TableDataSource, boolean) - Method in class com.mckoi.database.SelectableScheme
-
Returns an exact copy of this scheme including any optimization information.
- copyFrom(Table, int) - Method in class com.mckoi.database.TemporaryTable
-
Copies the contents of the row of the given Table onto the end of this table.
- COPYRIGHT - Static variable in class com.mckoi.database.global.StandardMessages
-
The standard copyright message.
- copyTable(MasterTableDataSource, IndexSet) - Method in class com.mckoi.database.Transaction
-
Generates an exact copy of the table within this transaction.
- copyTextFrom(Expression) - Method in class com.mckoi.database.Expression
-
Copies the text from the given expression.
- copyTo(int[], int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Copies all the data from this block into the given int[] array.
- copyTo(int[], int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Copies all the data from this block into the given int[] array.
- copyTo(AreaWriter, int) - Method in interface com.mckoi.store.Area
-
Copies 'size' bytes from the current position of this Area to the destination AreaWriter.
- copyTo(IntegerListBlockInterface) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Copies all the data from this block into the given destination block.
- copyTo(IntegerListBlockInterface) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Copies all the data from this block into the given destination block.
- copyTo(File) - Method in class com.mckoi.database.FixedSizeDataStore
-
Copies the entire contents of this store to a destination directory.
- copyTo(File) - Method in class com.mckoi.database.IndexStore
-
Copies the persistant part of this to another store.
- copyTo(File) - Method in class com.mckoi.database.VariableSizeDataStore
-
Copies this data store to the given path.
- CorrelatedVariable - Class in com.mckoi.database
-
A wrapper for a variable in a sub-query that references a column outside of the current query.
- CorrelatedVariable(Variable, int) - Constructor for class com.mckoi.database.CorrelatedVariable
-
Constructs the CorrelatedVariable.
- count - Variable in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
The number of block entries in this list.
- COUNT - Static variable in interface com.mckoi.database.sql.SQLConstants
- create() - Method in class com.mckoi.database.FixedRecordList
-
Creates the structure in the store, and returns a pointer to the structure.
- create(int) - Method in class com.mckoi.database.IndexStore
-
Creates a new black index store and returns leaving the newly created store in an open state.
- create(String) - Method in class com.mckoi.database.TableDataConglomerate
-
Creates a new conglomerate at the given path in the file system.
- create(String, String) - Method in class com.mckoi.database.Database
-
Creates and sets up a new database to an initial empty state.
- create(String, String, DBConfig) - Method in interface com.mckoi.database.jdbc.LocalBootable
-
Attempts to create a new database system with the given name, and the given username/password as the admin user for the system.
- create(String, String, DBConfig) - Method in class com.mckoi.database.jdbcserver.DefaultLocalBootable
-
Creates and boots a local database with the given configuration.
- Create() - Method in class com.mckoi.database.sql.SQL
- CREATE - Static variable in class com.mckoi.database.Privileges
-
The priv to create objects (only applicable for SCHEMA grant objects).
- CREATE - Static variable in interface com.mckoi.database.sql.SQLConstants
- createAndCastFromObject(TType, Object) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of the given type and with the given Java object.
- createArea(long) - Method in class com.mckoi.store.AbstractStore
- createArea(long) - Method in class com.mckoi.store.HeapStore
- createArea(long) - Method in interface com.mckoi.store.Store
-
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.
- createArrayOf(String, Object[]) - Method in class com.mckoi.database.jdbc.MConnection
- createBinaryColumn(String) - Static method in class com.mckoi.database.DataTableColumnDef
-
Convenience helper - creates a DataTableColumnDef that holds a binary value.
- createBlob() - Method in class com.mckoi.database.jdbc.MConnection
- createBooleanColumn(String) - Static method in class com.mckoi.database.DataTableColumnDef
-
Convenience helper - creates a DataTableColumnDef that holds a boolean value.
- createClob() - Method in class com.mckoi.database.jdbc.MConnection
- createDatabase(DBConfig, String, String) - Method in class com.mckoi.database.control.DBController
-
Creates a database in the local JVM (and filesystem) given the configuration in DBConfig and returns a DBSystem object.
- createEvent(Runnable) - Method in class com.mckoi.database.Database
-
Creates an event for the database dispatcher.
- createFetchQueryPlanNode() - Method in class com.mckoi.database.interpret.FromTableDirectSource
-
Creates a QueryPlanNode to be added into a query tree that fetches the table source.
- CreateFunction() - Method in class com.mckoi.database.sql.SQL
- CreateFunctionsNode(QueryPlanNode, Expression[], String[]) - Constructor for class com.mckoi.database.QueryPlan.CreateFunctionsNode
-
Constructor.
- createGroupMatrix(Variable[]) - Method in class com.mckoi.database.FunctionTable
-
Creates a grouping matrix for the given tables.
- CreateIndex() - Method in class com.mckoi.database.sql.SQL
- createMutableTableDataSourceAtCommit(MasterTableDataSource) - Method in class com.mckoi.database.Transaction
-
Overwritten from SimpleTransaction.
- createNClob() - Method in class com.mckoi.database.jdbc.MConnection
- createNewConnection(User, DatabaseConnection.CallBack) - Method in class com.mckoi.database.Database
-
Returns a new DatabaseConnection instance that is used against this database.
- createNewLargeObject(byte, long) - Method in class com.mckoi.database.DatabaseConnection
-
Allocates a new large object in the Blob store of this conglomerate of the given type and size.
- createNewWindow(Connection, boolean, boolean) - Static method in class com.mckoi.tools.JDBCQueryTool
-
Creates a new JDBC Query Tool window.
- createNumericColumn(String) - Static method in class com.mckoi.database.DataTableColumnDef
-
Convenience helper - creates a DataTableColumnDef that holds a numeric value.
- createObjectFetchQueryPlan(TableName, TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Creates a QueryPlanNode to fetch the given table object from this connection.
- createRowDataObject(QueryContext) - Method in class com.mckoi.database.DataTable
-
Generates an empty RowData object for 'addRow'ing into the Table.
- createSchema(String, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.createSchema method.
- createSchema(String, String) - Method in class com.mckoi.database.Transaction
-
Create a new schema in this transaction.
- CreateSchema() - Method in class com.mckoi.database.sql.SQL
- CreateSequence() - Method in class com.mckoi.database.sql.SQL
- createSequenceGenerator(TableName, long, long, long, long, long, boolean) - Method in class com.mckoi.database.DatabaseConnection
-
Creates a new sequence generator with the given TableName and initializes it with the given details.
- createSequenceGenerator(TableName, long, long, long, long, long, boolean) - Method in class com.mckoi.database.Transaction
-
Creates a new sequence generator with the given TableName and initializes it with the given details.
- createSQLXML() - Method in class com.mckoi.database.jdbc.MConnection
- createStatement() - Method in class com.mckoi.database.jdbc.MConnection
- createStatement(int, int) - Method in class com.mckoi.database.jdbc.MConnection
- createStatement(int, int, int) - Method in class com.mckoi.database.jdbc.MConnection
- createStoreDataAccessor(String) - Method in interface com.mckoi.store.LoggingBufferManager.StoreDataAccessorFactory
-
Returns a StoreDataAccessor object for the given resource name.
- createStringColumn(String) - Static method in class com.mckoi.database.DataTableColumnDef
-
Convenience helper - creates a DataTableColumnDef that holds a string value.
- createStruct(String, Object[]) - Method in class com.mckoi.database.jdbc.MConnection
- createSubstitution(String) - Method in class com.mckoi.database.sql.SQL
-
Creates and returns a parameter substitution.
- createTable(DataTableDef) - Method in class com.mckoi.database.DatabaseConnection
-
Create a new table within the context of the current connection transaction.
- createTable(DataTableDef) - Method in class com.mckoi.database.Transaction
-
Creates a new table within this transaction.
- createTable(DataTableDef, int, int) - Method in class com.mckoi.database.DatabaseConnection
-
Create a new table with a starting initial sector size.
- createTable(DataTableDef, int, int) - Method in class com.mckoi.database.Transaction
-
Creates a new table within this transaction with the given sector size.
- CreateTable - Class in com.mckoi.database.interpret
-
A parsed state container for the 'create' statement.
- CreateTable() - Constructor for class com.mckoi.database.interpret.CreateTable
- CreateTable() - Method in class com.mckoi.database.sql.SQL
- createTableTrigger(String, String, int, TableName, String, TObject[]) - Method in class com.mckoi.database.ConnectionTriggerManager
-
Creates a new trigger action on a stored procedure and makes the change to the transaction of this DatabaseConnection.
- createTransaction() - Method in class com.mckoi.database.TableDataConglomerate
-
Starts a new transaction.
- createTrigger(String, String, int) - Method in class com.mckoi.database.DatabaseConnection
-
Adds a type of trigger for the given trigger source (usually the name of the table).
- CreateTrigger - Class in com.mckoi.database.interpret
-
A parsed state container for the 'CREATE TRIGGER' statement.
- CreateTrigger() - Constructor for class com.mckoi.database.interpret.CreateTrigger
- CreateTrigger() - Method in class com.mckoi.database.sql.SQL
- createUser(DatabaseQueryContext, String, String) - Method in class com.mckoi.database.Database
-
Creates and adds a new user to this database.
- CreateUser() - Method in class com.mckoi.database.sql.SQL
- createView(SQLQuery, ViewDef) - Method in class com.mckoi.database.DatabaseConnection
-
Creates a new view.
- CreateView() - Method in class com.mckoi.database.sql.SQL
- createViewChildNode(QueryContext) - Method in class com.mckoi.database.QueryPlan.FetchViewNode
-
Returns the QueryPlanNode that resolves to the view.
- createViewQueryPlanNode(TableName) - Method in class com.mckoi.database.DatabaseQueryContext
-
Creates a QueryPlanNode for the view with the given name.
- createViewQueryPlanNode(TableName) - Method in class com.mckoi.database.ViewManager
-
Returns a freshly deserialized QueryPlanNode object for the given view object.
- crop(int, int) - Method in class com.mckoi.util.IntegerVector
-
Crops the IntegerVector so it only contains values between start (inclusive) and end (exclusive).
- CROSS - Static variable in interface com.mckoi.database.sql.SQLConstants
- CTALIAS - Static variable in interface com.mckoi.database.sql.SQLConstants
- curChar - Variable in class com.mckoi.database.sql.SQLTokenManager
- CURRENT_DATE - Static variable in interface com.mckoi.database.sql.SQLConstants
- CURRENT_TIME - Static variable in interface com.mckoi.database.sql.SQLConstants
- CURRENT_TIMESTAMP - Static variable in interface com.mckoi.database.sql.SQLConstants
- currentPath() - Method in class com.mckoi.database.control.AbstractDBConfig
- currentPath() - Method in interface com.mckoi.database.control.DBConfig
-
Returns the current path set for this configuration.
- currentSequenceValue(String) - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns the current sequence value returned for the given sequence generator within the connection defined by this context.
- currentSequenceValue(String) - Method in interface com.mckoi.database.QueryContext
-
Returns the current sequence value returned for the given sequence generator within the connection defined by this context.
- currentToken - Variable in exception com.mckoi.database.sql.ParseException
-
This is the last token that has been consumed successfully.
- currentUniqueID(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns the current unique id for the given table name.
- CYCLE - Static variable in interface com.mckoi.database.sql.SQLConstants
D
- DATA_AREA_OFFSET - Static variable in class com.mckoi.store.AbstractStore
-
The offset into the file that the data areas start.
- database - Variable in class com.mckoi.database.interpret.Statement
-
The Database context.
- Database - Class in com.mckoi.database
-
The representation of a single database in the system.
- Database(DatabaseSystem, String) - Constructor for class com.mckoi.database.Database
-
The Constructor.
- DATABASE_EVENT - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Denotes an event from the database (trigger, etc).
- DatabaseCallBack - Interface in com.mckoi.database.jdbc
-
An interface that is input to the DatabaseInterface as a way to be notified of event information from inside the database.
- DatabaseConnection - Class in com.mckoi.database
-
An object that represents a connection to a Database.
- DatabaseConnection.CallBack - Interface in com.mckoi.database
-
Call back interface for events that occur within the connection instance.
- DatabaseConstants - Interface in com.mckoi.database
-
Contant static values that determine several parameters of the database operation.
- DatabaseConstraintViolationException - Exception in com.mckoi.database
-
A database exception that represents a constraint violation.
- DatabaseConstraintViolationException(int, String) - Constructor for exception com.mckoi.database.DatabaseConstraintViolationException
-
Constructor.
- databaseEvent(int, String) - Method in interface com.mckoi.database.jdbc.DatabaseCallBack
-
Called when the database has generated an event that this user is listening for.
- databaseEvent(int, String) - Method in class com.mckoi.database.jdbc.MConnection
- DatabaseException - Exception in com.mckoi.database
-
Exception thrown where various problems occur within the database.
- DatabaseException(int, String) - Constructor for exception com.mckoi.database.DatabaseException
- DatabaseException(String) - Constructor for exception com.mckoi.database.DatabaseException
- databaseExists(DBConfig) - Method in class com.mckoi.database.control.DBController
-
Returns true if a Mckoi database exists in the given directory of the file system, otherwise returns false if the path doesn't contain a database.
- DatabaseInterface - Interface in com.mckoi.database.jdbc
-
The interface with the Database whether it be remotely via TCP/IP or locally within the current JVM.
- DatabaseProcedure - Interface in com.mckoi.database
-
This interface represents a database procedure that is executed on the server side.
- DatabaseQueryContext - Class in com.mckoi.database
-
An implementation of a QueryContext based on a DatabaseConnection object.
- DatabaseQueryContext(DatabaseConnection) - Constructor for class com.mckoi.database.DatabaseQueryContext
-
Constructs the QueryContext.
- DatabaseSystem - Class in com.mckoi.database
-
This class provides information about shared resources available for the entire database system running in this VM.
- DatabaseSystem() - Constructor for class com.mckoi.database.DatabaseSystem
-
Constructor.
- dataDefinitionCausesTransactionCommit() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- dataDefinitionIgnoredInTransactions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- DataFileConvertTool - Class in com.mckoi.tools
-
A tool for converting between different versions of the database file system.
- DataFileConvertTool() - Constructor for class com.mckoi.tools.DataFileConvertTool
- DataIndexDef - Class in com.mckoi.database
-
Represents index meta-information on a table.
- DataIndexDef(DataIndexDef) - Constructor for class com.mckoi.database.DataIndexDef
- DataIndexDef(String, String[], int, String, boolean) - Constructor for class com.mckoi.database.DataIndexDef
-
Constructor.
- DataIndexSetDef - Class in com.mckoi.database
-
Represents the meta-data for a set of indexes of a table.
- DataIndexSetDef(DataIndexSetDef) - Constructor for class com.mckoi.database.DataIndexSetDef
- DataIndexSetDef(TableName) - Constructor for class com.mckoi.database.DataIndexSetDef
-
Constructor.
- DataTable - Class in com.mckoi.database
-
DataTable is a wrapper for a MutableTableDataSource that fits into the query hierarchy level.
- DataTableColumnDef - Class in com.mckoi.database
-
All the information regarding a column in a table.
- DataTableColumnDef() - Constructor for class com.mckoi.database.DataTableColumnDef
-
Constructs the column definition.
- DataTableColumnDef(DataTableColumnDef) - Constructor for class com.mckoi.database.DataTableColumnDef
-
Creates a copy of the given column definition.
- DataTableDef - Class in com.mckoi.database
-
A definition of a table.
- DataTableDef() - Constructor for class com.mckoi.database.DataTableDef
-
Constructs this DataTableDef file.
- DataTableDef(DataTableDef) - Constructor for class com.mckoi.database.DataTableDef
-
Copy constructor.
- DataTableFilter - Class in com.mckoi.database
-
This object sits on top of a DataTable object filtering out certain types of calls.
- DataTableFilter(AbstractDataTable) - Constructor for class com.mckoi.database.DataTableFilter
-
The Constructor.
- DATE - Static variable in interface com.mckoi.database.global.SQLTypes
- DATE - Static variable in interface com.mckoi.database.sql.SQLConstants
- DATE_TYPE - Static variable in class com.mckoi.database.TType
-
A default date (SQL TIMESTAMP) type.
- dateType(int) - Static method in class com.mckoi.database.TType
-
Returns a TDateType object.
- dateVal(Date) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of DATE type that represents the given time value.
- DAYS - Static variable in class com.mckoi.util.TimeFrame
-
Formatting enum.
- DB_BINARY - Static variable in interface com.mckoi.database.global.Types
- DB_BLOB - Static variable in interface com.mckoi.database.global.Types
- DB_BOOLEAN - Static variable in interface com.mckoi.database.global.Types
- DB_NUMERIC - Static variable in interface com.mckoi.database.global.Types
- DB_NUMERIC_EXTENDED - Static variable in interface com.mckoi.database.global.Types
- DB_OBJECT - Static variable in interface com.mckoi.database.global.Types
- DB_STRING - Static variable in interface com.mckoi.database.global.Types
- DB_TIME - Static variable in interface com.mckoi.database.global.Types
- DB_UNKNOWN - Static variable in interface com.mckoi.database.global.Types
- DBConfig - Interface in com.mckoi.database.control
-
A container object of configuration details of a database system.
- DBConglomerateDiagTool - Class in com.mckoi.tools
-
An interactive tool for diagnosing the contents of a TableDataConglomerate object.
- DBConglomerateDiagTool() - Constructor for class com.mckoi.tools.DBConglomerateDiagTool
- DBConglomerateRepairTool - Class in com.mckoi.tools
-
A command line repair tool for repairing a corrupted conglomerate.
- DBConglomerateRepairTool() - Constructor for class com.mckoi.tools.DBConglomerateRepairTool
- DBController - Class in com.mckoi.database.control
-
An object that provides methods for creating and controlling database systems in the current JVM.
- DBSystem - Class in com.mckoi.database.control
-
An object used to access and control a single database system running in the current JVM.
- Debug - Class in com.mckoi.debug
-
Deprecated.use DebugLogger implementations instead.
- Debug() - Constructor for class com.mckoi.debug.Debug
-
Deprecated.
- Debug() - Method in class com.mckoi.database.Database
-
Returns the DebugLogger implementation from the DatabaseSystem.
- Debug() - Method in class com.mckoi.database.DatabaseConnection
-
Returns a DebugLogger object that we can use to log debug messages to.
- Debug() - Method in class com.mckoi.database.DataTable
-
Convenience - used to log debug messages.
- Debug() - Method in class com.mckoi.database.interpret.Statement
-
Returns a DebugLogger object used to log debug commands.
- Debug() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Returns a DebugLogger object that can be used to log debug messages against.
- Debug() - Method in class com.mckoi.database.jdbcserver.TCPServer
-
Returns a DebugLogger object that we can log debug messages to.
- Debug() - Method in class com.mckoi.database.SelectableScheme
-
Returns the DebugLogger object to log debug messages to.
- Debug() - Method in class com.mckoi.database.SimpleTransaction
-
Returns a DebugLogger object that we use to log debug messages to.
- Debug() - Method in class com.mckoi.database.StatementCache
-
Returns a DebugLogger object we can use to log debug messages.
- Debug() - Method in class com.mckoi.database.Table
-
Returns a DebugLogger object that we can use to log debug messages to.
- Debug() - Method in class com.mckoi.database.TableDataConglomerate
-
Returns the DebugLogger object that we use to log debug messages to.
- Debug() - Method in class com.mckoi.database.TransactionSystem
-
Returns the DebugLogger object that is used to log debug message.
- DEBUG_QUERY - Static variable in class com.mckoi.database.Table
- DebugLogger - Interface in com.mckoi.debug
-
An interface for logging errors, warnings, messages, and exceptions in the Mckoi system.
- debugStream - Variable in class com.mckoi.database.sql.SQLTokenManager
- debugString(int, StringBuffer) - Method in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
- debugString(int, StringBuffer) - Method in class com.mckoi.database.QueryPlan.FetchTableNode
- debugString(int, StringBuffer) - Method in class com.mckoi.database.QueryPlan.FetchViewNode
- debugString(int, StringBuffer) - Method in class com.mckoi.database.QueryPlan.SingleQueryPlanNode
- debugString(int, StringBuffer) - Method in class com.mckoi.database.QueryPlan.SingleRowTableNode
- debugString(int, StringBuffer) - Method in interface com.mckoi.database.QueryPlanNode
-
Writes a textural representation of the node to the StringBuffer at the given indent level.
- DECIMAL - Static variable in interface com.mckoi.database.global.SQLTypes
- DECIMAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- declareAs(TableName) - Method in class com.mckoi.database.DataTable
-
We can declare a DataTable as a new type.
- decodeString(String) - Static method in class com.mckoi.database.TType
-
Decodes a String that has been encoded with the 'asEncodedString' method and returns a TType that represented the type.
- decodeTypes(String) - Static method in class com.mckoi.database.TType
-
Decodes a list (or array) of TType objects that was previously encoded with the 'asEncodedString(Type[])' method.
- decreaseSize() - Method in class com.mckoi.database.FixedRecordList
-
Decreases the size of the list structure.
- decrement(String) - Method in class com.mckoi.util.Stats
-
Decrements a stat property.
- DEFAULT - Static variable in interface com.mckoi.database.sql.SQLConstants
- DEFAULT_SCHEMA - Static variable in class com.mckoi.database.Database
-
The name of the default schema.
- DefaultDataTable - Class in com.mckoi.database
-
This represents a default implementation of a DataTable.
- DefaultDBConfig - Class in com.mckoi.database.control
-
Implements a default database configuration that is useful for setting up a database.
- DefaultDBConfig() - Constructor for class com.mckoi.database.control.DefaultDBConfig
-
Constructs the configuration with the current system path as the configuration path.
- DefaultDBConfig(File) - Constructor for class com.mckoi.database.control.DefaultDBConfig
-
Constructs the configuration.
- DefaultDebugLogger - Class in com.mckoi.debug
-
A default implementation of DebugLogger that logs messages to a PrintWriter object.
- DefaultDebugLogger() - Constructor for class com.mckoi.debug.DefaultDebugLogger
- DefaultLocalBootable - Class in com.mckoi.database.jdbcserver
-
A bootable object that filters through to a JDBCDatabaseInterface but is thread-safe and multi-threaded.
- DefaultLocalBootable() - Constructor for class com.mckoi.database.jdbcserver.DefaultLocalBootable
- DEFERRABLE - Static variable in interface com.mckoi.database.sql.SQLConstants
- deferred - Variable in class com.mckoi.database.Transaction.CheckExpression
-
Whether this is deferred or initially immediate.
- deferred - Variable in class com.mckoi.database.Transaction.ColumnGroup
-
Whether this is deferred or initially immediate.
- deferred - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
Whether this is deferred or initially immediate.
- DEFERRED - Static variable in interface com.mckoi.database.sql.SQLConstants
- defineJavaProcedure(ProcedureName, String, TType, TType[], String) - Method in class com.mckoi.database.ProcedureManager
-
Defines a Java stored procedure.
- defineView(ViewDef, SQLQuery, User) - Method in class com.mckoi.database.ViewManager
-
Defines a view.
- delete() - Method in class com.mckoi.database.FixedSizeDataStore
-
Deletes the data store from the file system.
- delete() - Method in class com.mckoi.database.IndexStore
-
Deletes the store.
- delete() - Method in class com.mckoi.database.TableDataConglomerate
-
Deletes and closes the conglomerate.
- delete() - Method in class com.mckoi.database.VariableSizeDataStore
-
Deletes the store from the file system.
- delete() - Method in class com.mckoi.store.JournalledFileStore
-
Deletes this store from the file system.
- delete() - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- delete() - Method in class com.mckoi.store.StreamFile
-
Deletes the file.
- delete(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Deletes the data at the given index position.
- delete(Table) - Method in class com.mckoi.database.DataTable
- delete(Table, int) - Method in class com.mckoi.database.DataTable
-
This is the public method for removing a given result set from this table.
- delete(File, String) - Static method in class com.mckoi.database.VariableSizeDataStore
-
Convenience for deleting a VariableSizeDataStore store.
- Delete - Class in com.mckoi.database.interpret
-
Logic for the DELETE FROM SQL statement.
- Delete() - Constructor for class com.mckoi.database.interpret.Delete
- Delete() - Method in class com.mckoi.database.sql.SQL
- DELETE - Static variable in class com.mckoi.database.Privileges
-
The priv to DELETE from a database object.
- DELETE - Static variable in interface com.mckoi.database.sql.SQLConstants
- DELETE - Static variable in class com.mckoi.database.TableModificationEvent
-
Event type for delete action.
- DELETE - Static variable in class com.mckoi.database.TriggerEvent
- delete_rule - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
The delete rule.
- deleteAcross(int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Deletes a set of sectors that have been chained together.
- deleteAllSectors() - Method in class com.mckoi.database.FixedSizeDataStore
-
Deletes all sectors in the entire store.
- deleteAllUserGroups(DatabaseQueryContext, String) - Method in class com.mckoi.database.Database
-
Deletes all the groups the user belongs to.
- deleteArea(long) - Method in class com.mckoi.store.AbstractStore
- deleteArea(long) - Method in class com.mckoi.store.HeapStore
- deleteArea(long) - Method in interface com.mckoi.store.Store
-
Deletes an area that was previously allocated by the 'createArea' method by the area id.
- DELETED - Static variable in interface com.mckoi.database.RawDiagnosticTable
-
Statics that represent the various states of a record.
- deleteListBlock(IntegerListBlockInterface) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Called when the class decides this ListBlock is no longer needed.
- deleteListBlock(IntegerListBlockInterface) - Method in class com.mckoi.util.BlockIntegerList
-
Called when the class decides this ListBlock is no longer needed.
- deleteProcedure(ProcedureName) - Method in class com.mckoi.database.ProcedureManager
-
Deletes the procedure with the given name, or generates an error if the procedure doesn't exist.
- deleteRow() - Method in class com.mckoi.database.jdbc.MResultSet
- deleteRows(IntegerVector) - Method in class com.mckoi.database.SimpleTableQuery
-
Deletes all the given indexes in this table.
- deletesAreDetected(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- deleteSector(int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Deletes a sector from the store.
- deleteSingle(int, Object) - Method in class com.mckoi.database.SimpleTableQuery
-
Deletes a single entry from the table where the given column equals the given value.
- deleteTrigger(String) - Method in class com.mckoi.database.DatabaseConnection
-
Removes a type of trigger for the given trigger source (usually the name of the table).
- deleteUser(DatabaseQueryContext, String) - Method in class com.mckoi.database.Database
-
Deletes the user from the system.
- deleteView(TableName) - Method in class com.mckoi.database.ViewManager
-
Deletes the view with the given name, or returns false if no entries were deleted from the view table.
- DESC - Static variable in interface com.mckoi.database.sql.SQLConstants
- Describe() - Method in class com.mckoi.database.sql.SQL
- DESCRIBE - Static variable in interface com.mckoi.database.sql.SQLConstants
- deserialize(ByteLongObject) - Static method in class com.mckoi.database.global.ObjectTranslator
-
Deserializes a ByteLongObject to a Java object.
- deserializeFromBlob(ByteLongObject) - Static method in class com.mckoi.database.jdbc.SQLQuery
-
Deserializes an SQLQuery object from a ByteLongObject.
- deserializeJavaObjects(TObject[]) - Static method in class com.mckoi.database.Caster
-
Find any JAVA_OBJECTs in the args and deserialize them into real Java objects.
- DIGIT - Static variable in interface com.mckoi.database.sql.SQLConstants
- DIRTY_TABLE_SELECT - Static variable in exception com.mckoi.database.TransactionException
-
Thrown when a transaction selects data from a table that has committed changes to it from another transaction.
- disable_tracing() - Method in class com.mckoi.database.sql.SQL
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.Expression
-
Discovers all the correlated variables in this expression.
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
Default implementation that discovers correlated variables for the given offset level.
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.ConstantSelectNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.CreateFunctionsNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.ExhaustiveSelectNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.FetchTableNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.FetchViewNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.FunctionalSelectNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.GroupNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.JoinNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.MultiColumnEquiSelectNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.RangeSelectNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.SimplePatternSelectNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.SimpleSelectNode
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.SingleQueryPlanNode
-
Default implementation that discovers correlated variables for the given offset level.
- discoverCorrelatedVariables(int, ArrayList) - Method in class com.mckoi.database.QueryPlan.SingleRowTableNode
- discoverCorrelatedVariables(int, ArrayList) - Method in interface com.mckoi.database.QueryPlanNode
-
Discovers all the correlated variables in the plan (and plan children) that reference a particular layer.
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.Expression
-
Discovers all the tables in the sub-queries of this expression.
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
Default implementation delegates responsibility to children.
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.ConstantSelectNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.CreateFunctionsNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.ExhaustiveSelectNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.FetchTableNode
-
Adds the table name to the list if it's not already in there.
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.FetchViewNode
-
Adds the table name to the list if it's not already in there.
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.FunctionalSelectNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.GroupNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.JoinNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.MultiColumnEquiSelectNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.RangeSelectNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.SimplePatternSelectNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.SimpleSelectNode
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.SingleQueryPlanNode
-
Default implementation delegates responsibility to child.
- discoverTableNames(ArrayList) - Method in class com.mckoi.database.QueryPlan.SingleRowTableNode
- discoverTableNames(ArrayList) - Method in interface com.mckoi.database.QueryPlanNode
-
Discovers a list of TableName that represent the sources that this query requires to complete itself.
- dispose() - Method in class com.mckoi.database.BlindSearch
-
Disposes and invalidates the BlindSearch.
- dispose() - Method in class com.mckoi.database.CollatedBaseSearch
-
Disposes and invalidates the BlindSearch.
- dispose() - Method in class com.mckoi.database.DatabaseSystem
-
Disposes all the resources associated with this DatabaseSystem and invalidates this object.
- dispose() - Method in class com.mckoi.database.GTSQLTypeInfoDataSource
- dispose() - Method in interface com.mckoi.database.IndexSet
-
Cleans up and disposes the resources associated with this set of index.
- dispose() - Method in class com.mckoi.database.InsertSearch
-
Disposes this scheme.
- dispose() - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Called when the connection is disposed.
- dispose() - Method in class com.mckoi.database.jdbcserver.JDBCDatabaseInterface
- dispose() - Method in interface com.mckoi.database.MutableTableDataSource
-
Disposes this table data source.
- dispose() - Method in class com.mckoi.database.SelectableScheme
-
Dispose and invalidate this scheme.
- dispose() - Method in class com.mckoi.database.SimpleTableQuery
-
Disposes this object and frees any resources associated with it.
- dispose() - Method in class com.mckoi.database.TransactionSystem
-
Disposes this object.
- DISPOSE_RESULT - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Disposes the server-side resources associated with a result.
- DISPOSE_STREAMABLE_OBJECT - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Disposes of the resources associated with a streamable object on the server.
- disposeAllIndices() - Method in class com.mckoi.database.SimpleTransaction
-
Disposes of all IndexSet objects currently accessed by this Transaction.
- disposeResult(int) - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Disposes of a result of a query on the server.
- disposeResult(int) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
- disposeStreamableObject(int, long) - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Disposes a streamable object channel with the given identifier.
- disposeStreamableObject(int, long) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
- distinct - Variable in class com.mckoi.database.interpret.TableSelectExpression
-
True if we only search for distinct elements.
- distinct() - Method in class com.mckoi.database.Table
-
Deprecated.- not a proper SQL distinct.
- distinct(int[]) - Method in class com.mckoi.database.Table
-
Returns a new table that has only distinct rows in it.
- DISTINCT - Static variable in interface com.mckoi.database.global.SQLTypes
- DISTINCT - Static variable in interface com.mckoi.database.sql.SQLConstants
- DistinctNode(QueryPlanNode, Variable[]) - Constructor for class com.mckoi.database.QueryPlan.DistinctNode
- divide(BigNumber) - Method in class com.mckoi.util.BigNumber
- DIVIDE - Static variable in interface com.mckoi.database.sql.SQLConstants
- doesMaxRowSizeIncludeBlobs() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- DoExpression() - Method in class com.mckoi.database.sql.SQL
- DOMAIN - Static variable in class com.mckoi.database.GrantManager
-
Represents a DOMAIN object to grant privs over for the user.
- Done() - Method in class com.mckoi.database.sql.SimpleCharStream
- DoNonBooleanExpression() - Method in class com.mckoi.database.sql.SQL
- dontSynchFileSystem() - Method in class com.mckoi.database.TransactionSystem
-
Returns true if we shouldn't synchronize with the file system when important indexing information is flushed to the disk.
- DOT_DELIMINATED_REF - Static variable in interface com.mckoi.database.sql.SQLConstants
- DOUBLE - Static variable in interface com.mckoi.database.global.SQLTypes
- DOUBLE - Static variable in interface com.mckoi.database.sql.SQLConstants
- doubleVal(double) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of numeric type that represents the given double value.
- doubleValue() - Method in class com.mckoi.util.BigNumber
-
Returns this big number as a double.
- Drop() - Method in class com.mckoi.database.sql.SQL
- DROP - Static variable in class com.mckoi.database.Privileges
-
The priv to drop objects (only applicable for SCHEMA grant objects).
- DROP - Static variable in interface com.mckoi.database.sql.SQLConstants
- DROP_COLUMN_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
Column can't be dropped before of an reference to it.
- DROP_TABLE_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
Tried to drop a table that is referenced by another source.
- dropAllConstraintsForTable(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.dropAllConstraintsForTable method.
- dropAllConstraintsForTable(TableName) - Method in class com.mckoi.database.Transaction
-
Drops all the constraints defined for the given table.
- dropCheckConstraintForTable(TableName, String) - Method in class com.mckoi.database.Transaction
-
Drops a single named check constraint from the given table.
- dropForeignKeyReferenceConstraintForTable(TableName, String) - Method in class com.mckoi.database.Transaction
-
Drops a single named foreign key reference from the given table.
- DropFunction() - Method in class com.mckoi.database.sql.SQL
- DropIndex() - Method in class com.mckoi.database.sql.SQL
- dropNamedConstraint(TableName, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.dropNamedConstraint method.
- dropNamedConstraint(TableName, String) - Method in class com.mckoi.database.Transaction
-
Drops the named constraint from the transaction.
- dropPrimaryKeyConstraintForTable(TableName, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.dropPrimaryKeyConstraintForTable method.
- dropPrimaryKeyConstraintForTable(TableName, String) - Method in class com.mckoi.database.Transaction
-
Drops the primary key constraint for the given table.
- dropSchema(String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.dropSchema method.
- dropSchema(String) - Method in class com.mckoi.database.Transaction
-
Drops a schema from this transaction.
- DropSchema() - Method in class com.mckoi.database.sql.SQL
- DropSequence() - Method in class com.mckoi.database.sql.SQL
- dropSequenceGenerator(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Drops an existing sequence generator with the given name.
- dropSequenceGenerator(TableName) - Method in class com.mckoi.database.Transaction
-
Drops an existing sequence generator with the given name.
- dropTable(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Drops a table from within the context of the current connection transaction.
- dropTable(TableName) - Method in class com.mckoi.database.Transaction
-
Drops a table within this transaction.
- dropTable(String) - Method in class com.mckoi.database.DatabaseConnection
-
Drops a table from within the context of the current connection transaction.
- DropTable - Class in com.mckoi.database.interpret
-
The logic of the 'DROP TABLE' SQL command.
- DropTable() - Constructor for class com.mckoi.database.interpret.DropTable
- DropTable() - Method in class com.mckoi.database.sql.SQL
- dropTrigger(String, String) - Method in class com.mckoi.database.ConnectionTriggerManager
-
Drops a trigger that has previously been defined.
- DropTrigger - Class in com.mckoi.database.interpret
-
A parsed state container for the 'DROP TRIGGER' statement.
- DropTrigger() - Constructor for class com.mckoi.database.interpret.DropTrigger
- DropTrigger() - Method in class com.mckoi.database.sql.SQL
- dropUniqueConstraintForTable(TableName, String) - Method in class com.mckoi.database.Transaction
-
Drops a single named unique constraint from the given table.
- DropUser() - Method in class com.mckoi.database.sql.SQL
- dropView(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Drops the view with the given name and returns true if the drop succeeded.
- DropView() - Method in class com.mckoi.database.sql.SQL
- dump(PrintStream) - Method in class com.mckoi.database.DataTableColumnDef
-
Dumps information about this object to the PrintStream.
- dump(PrintStream) - Method in class com.mckoi.database.DataTableDef
-
Outputs to the PrintStream for debugging.
- dumpTo(PrintStream) - Method in class com.mckoi.database.Table
-
Dumps the contents of the table in a human readable form to the given output stream.
- DUPLICATE_TABLE - Static variable in exception com.mckoi.database.TransactionException
-
Thrown when a transaction conflict occurs and would cause duplicate tables to be created.
E
- EACH - Static variable in interface com.mckoi.database.sql.SQLConstants
- elementAt(int) - Method in class com.mckoi.database.Expression
-
Returns the element at the given position in the postfix list.
- EMPTY_LIST - Static variable in class com.mckoi.database.SelectableScheme
-
Some statics.
- EMPTY_PRIVS - Static variable in class com.mckoi.database.Privileges
-
No privileges.
- emptySelect() - Method in class com.mckoi.database.Table
-
Returns a new Table based on this table with no rows in it.
- enable_tracing() - Method in class com.mckoi.database.sql.SQL
- 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.
- endOfDataAreaPointer() - Method in class com.mckoi.store.AbstractStore
-
Returns a pointer to the end of the current data area.
- endOfDataAreaPointer() - Method in class com.mckoi.store.JournalledFileStore
- EOF - Static variable in interface com.mckoi.database.sql.SQLConstants
- eol - Variable in exception com.mckoi.database.sql.ParseException
-
The end of line string for this machine.
- equals(IntegerVector) - Method in class com.mckoi.util.IntegerVector
-
Returns true if this vector is equal to the given vector.
- equals(Object) - Method in class com.mckoi.database.global.ColumnDescription
-
The 'equals' method, used to determine equality between column descriptions.
- equals(Object) - Method in class com.mckoi.database.jdbc.SQLQuery
-
Returns true if this query is equal to another.
- equals(Object) - Method in class com.mckoi.database.Operator
- equals(Object) - Method in class com.mckoi.database.ParameterSubstitution
-
Equality test.
- equals(Object) - Method in class com.mckoi.database.Privileges
- equals(Object) - Method in class com.mckoi.database.ProcedureName
-
Equality test.
- equals(Object) - Method in class com.mckoi.database.SelectableRange
-
Returns true if this range is equal to the given range.
- equals(Object) - Method in class com.mckoi.database.TableName
-
Equality.
- equals(Object) - Method in class com.mckoi.database.TObject
-
Equality test.
- equals(Object) - Method in class com.mckoi.database.Variable
-
Equality.
- equals(Object) - Method in class com.mckoi.util.BigNumber
-
The equals comparison uses the BigDecimal 'equals' method to compare values.
- equals(Object) - Method in class com.mckoi.util.TimeFrame
-
Returns true if the TimeFrame is equal to another.
- EQUALS - Static variable in interface com.mckoi.database.sql.SQLConstants
- equalsIgnoreCase(TableName) - Method in class com.mckoi.database.TableName
-
Equality but ignore the case.
- EquiJoinNode(QueryPlanNode, QueryPlanNode, Variable[], Variable[]) - Constructor for class com.mckoi.database.QueryPlan.EquiJoinNode
- ERROR - Static variable in class com.mckoi.debug.Debug
-
Deprecated.
- ERROR - Static variable in interface com.mckoi.debug.Lvl
- establishReference(long) - Method in interface com.mckoi.database.BlobStoreInterface
-
Tells the BlobStore that a static reference has been established in a table to the blob referenced by the given id.
- eval(TObject, TObject, GroupResolver, VariableResolver, QueryContext) - Method in class com.mckoi.database.Operator
- evalAggregate(GroupResolver, QueryContext, TObject, TObject) - Method in class com.mckoi.database.AbstractAggregateFunction
-
Evaluates the aggregate function for the given values and returns the result.
- evaluate() - Method in class com.mckoi.database.interpret.AlterTable
- evaluate() - Method in class com.mckoi.database.interpret.Call
- evaluate() - Method in class com.mckoi.database.interpret.Compact
- evaluate() - Method in class com.mckoi.database.interpret.CompleteTransaction
- evaluate() - Method in class com.mckoi.database.interpret.CreateTable
- evaluate() - Method in class com.mckoi.database.interpret.CreateTrigger
- evaluate() - Method in class com.mckoi.database.interpret.Delete
- evaluate() - Method in class com.mckoi.database.interpret.DropTable
- evaluate() - Method in class com.mckoi.database.interpret.DropTrigger
- evaluate() - Method in class com.mckoi.database.interpret.Function
- evaluate() - Method in class com.mckoi.database.interpret.Insert
- evaluate() - Method in class com.mckoi.database.interpret.Misc
- evaluate() - Method in class com.mckoi.database.interpret.NoOp
- evaluate() - Method in class com.mckoi.database.interpret.PrivManager
- evaluate() - Method in class com.mckoi.database.interpret.Schema
- evaluate() - Method in class com.mckoi.database.interpret.Select
-
Evaluates the select statement with the given Database context.
- evaluate() - Method in class com.mckoi.database.interpret.Sequence
- evaluate() - Method in class com.mckoi.database.interpret.Set
- evaluate() - Method in class com.mckoi.database.interpret.Show
- evaluate() - Method in class com.mckoi.database.interpret.Statement
-
Evaluates the statement and returns a table that represents the result set.
- evaluate() - Method in class com.mckoi.database.interpret.UpdateTable
- evaluate() - Method in class com.mckoi.database.interpret.UserManager
- evaluate() - Method in class com.mckoi.database.interpret.ViewManager
- evaluate(GroupResolver, VariableResolver, QueryContext) - Method in class com.mckoi.database.AbstractAggregateFunction
- evaluate(GroupResolver, VariableResolver, QueryContext) - Method in class com.mckoi.database.Expression
-
Evaluates this expression and returns an Object that represents the result of the evaluation.
- evaluate(GroupResolver, VariableResolver, QueryContext) - Method in interface com.mckoi.database.Function
-
Evaluates the function and returns a TObject that represents the result of the function.
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.CachePointNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.CompositeNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.ConstantSelectNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.CreateFunctionsNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.DistinctNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.EquiJoinNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.ExhaustiveSelectNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.FetchTableNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.FetchViewNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.FunctionalSelectNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.GroupNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.JoinNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.LeftOuterJoinNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.LogicalUnionNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.MarkerNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.MultiColumnEquiSelectNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.NaturalJoinNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.NonCorrelatedAnyAllNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.RangeSelectNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.SimplePatternSelectNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.SimpleSelectNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.SingleRowTableNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.SortNode
- evaluate(QueryContext) - Method in class com.mckoi.database.QueryPlan.SubsetNode
- evaluate(QueryContext) - Method in interface com.mckoi.database.QueryPlanNode
-
Evaluates the node and returns the result as a Table.
- evaluate(VariableResolver, QueryContext) - Method in class com.mckoi.database.Expression
-
Evaluation without a grouping table.
- evaluate(Connection, String, String, String) - Method in class com.mckoi.tools.JDBCScriptTool
-
Evaluates the input script and outputs the result to the output stream.
- exactSize(Object) - Static method in class com.mckoi.database.global.ObjectTransfer
-
Returns the exact size an object will take up when serialized.
- EXCEPT - Static variable in class com.mckoi.database.CompositeTable
-
The composite function for finding the difference of the tables.
- EXCEPT - Static variable in interface com.mckoi.database.sql.SQLConstants
- EXCEPTION - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Operation threw an exception.
- EXCLUSIVE_MODE - Static variable in class com.mckoi.database.LockingMechanism
- execQuery(SQLQuery) - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Executes the query and returns a QueryResponse object that describes the result of the query.
- execQuery(SQLQuery) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
- execQuery(SQLQuery) - Method in class com.mckoi.database.jdbcserver.JDBCDatabaseInterface
- execute(DatabaseConnection, SQLQuery) - Method in class com.mckoi.database.interpret.SQLQueryExecutor
-
Executes the given SQLQuery object on the given DatabaseConnection object.
- execute(User, DatabaseConnection, Runnable) - Method in class com.mckoi.database.Database
-
Executes database functions from the 'run' method of the given runnable instance on the first available worker thread.
- execute(User, Object[]) - Method in interface com.mckoi.database.DatabaseProcedure
-
Executes the procudure and returns the resultant table.
- execute(Query) - Static method in class com.mckoi.jfccontrols.QueryAgent
-
Executes a query on the default query agent for this VM.
- EXECUTE - Static variable in interface com.mckoi.database.sql.SQLConstants
- executeQuery(Query) - Method in class com.mckoi.jfccontrols.QueryAgent
-
Executes a query, blocking until a response from the server has been received.
- exhaustiveSelect(QueryContext, Expression) - Method in class com.mckoi.database.Table
-
Exhaustively searches through this table for rows that match the expression given.
- ExhaustiveSelectNode(QueryPlanNode, Expression) - Constructor for class com.mckoi.database.QueryPlan.ExhaustiveSelectNode
- exists() - Method in class com.mckoi.database.Database
-
Returns true if the database exists.
- exists() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns true if the file for this store exists.
- exists() - Method in class com.mckoi.database.IndexStore
-
Returns true if the index store file exists.
- exists() - Method in class com.mckoi.database.TableDescriptions
-
Returns true if the table descriptions file exists.
- exists() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns true if the data store exists.
- exists() - Method in class com.mckoi.store.JournalledFileStore
-
Returns true if this store exists in the file system.
- exists() - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- exists(File, String) - Static method in class com.mckoi.database.VariableSizeDataStore
-
Convenience for checking if a given data store exists or not.
- exists(String) - Method in class com.mckoi.database.TableDataConglomerate
-
Returns true if the conglomerate exists in the file system and can be opened.
- EXISTS - Static variable in interface com.mckoi.database.sql.SQLConstants
- existsSingle(int, Object) - Method in class com.mckoi.database.SimpleTableQuery
-
Returns true if there is a single row in the table where the given column is equal to the given value, otherwise returns false.
- exp - Variable in class com.mckoi.database.interpret.ByColumn
-
The expression that we are ordering by.
- expandDataArea(long) - Method in class com.mckoi.store.AbstractStore
-
Expands the data area by at least the minimum size given.
- expectedTokenSequences - Variable in exception com.mckoi.database.sql.ParseException
-
Each entry in this array is an array of integers.
- expEnd(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
-
Helper for expression parsing.
- expEndParen(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
-
Helper for expression parsing.
- EXPLAIN - Static variable in interface com.mckoi.database.sql.SQLConstants
- explode(String, String) - Static method in class com.mckoi.util.StringUtil
-
Performs an 'explode' operation on the given source string.
- expOperator(Expression, Stack, Operator) - Method in class com.mckoi.database.sql.SQL
-
Helper for expression parsing.
- expression - Variable in class com.mckoi.database.interpret.SelectColumn
-
The expression of this column.
- expression - Variable in class com.mckoi.database.Transaction.CheckExpression
-
The expression to check.
- expression(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
-
Parse an expression.
- Expression - Class in com.mckoi.database
-
An expression that can be evaluated in a statement.
- Expression() - Constructor for class com.mckoi.database.Expression
-
Constructs a new Expression.
- Expression(Expression) - Constructor for class com.mckoi.database.Expression
-
Constructs a copy of the given Expression.
- Expression(Expression, Operator, Expression) - Constructor for class com.mckoi.database.Expression
-
Constructs a new Expression from the concatination of expression1 and expression2 and the operator for them.
- Expression(Object) - Constructor for class com.mckoi.database.Expression
-
Constructs a new Expression with a single object element.
- ExpressionList() - Method in class com.mckoi.database.sql.SQL
- expressionListToString(Expression[]) - Static method in class com.mckoi.database.sql.Util
-
Returns an array of Expression objects as a comma deliminated string.
- ExpressionPreparer - Interface in com.mckoi.database
-
An interface used to prepare an Expression object.
- ExpressionTest() - Method in class com.mckoi.database.sql.SQL
- extGetDate(int) - Method in class com.mckoi.database.jdbc.MResultSet
-
Access column as java.util.Date (which is the native object used in the mckoi database to handle time).
- extGetDate(String) - Method in class com.mckoi.database.jdbc.MResultSet
-
Access column as java.util.Date (which is the native object used in the mckoi database to handle time).
- extQueryTimeMillis() - Method in class com.mckoi.database.jdbc.MResultSet
-
The number of milliseconds it took the server to execute this query.
F
- FAILED - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Operation failed (followed by a UTF String error message).
- fastFindColumnName(String) - Method in class com.mckoi.database.DataTableDef
-
A faster way to find a column index given a string column name.
- fastFindFieldName(Variable) - Method in class com.mckoi.database.Table
-
A faster way to find a column index given a string column name.
- FetchTableNode(TableName, TableName) - Constructor for class com.mckoi.database.QueryPlan.FetchTableNode
- FetchViewNode(TableName, TableName) - Constructor for class com.mckoi.database.QueryPlan.FetchViewNode
- FF_FunctionInfo(String, int, Constructor) - Constructor for class com.mckoi.database.FunctionFactory.FF_FunctionInfo
- FilterTable - Class in com.mckoi.database
-
A table that is a filter for another table.
- FilterTable(Table) - Constructor for class com.mckoi.database.FilterTable
-
The Constructor.
- finalize() - Method in class com.mckoi.database.Database
- finalize() - Method in class com.mckoi.database.DatabaseConnection
- finalize() - Method in class com.mckoi.database.jdbc.MResultSet
- finalize() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Clean up if this object is GC'd.
- finalize() - Method in class com.mckoi.database.LockHandle
-
On garbage collection, this will call 'unlockAll' just in case the program did not use the 'LockingMechanism.unlockTables' method in error.
- finalize() - Method in class com.mckoi.database.SimpleTableQuery
-
To be save we call dispose from the finalize method.
- finalize() - Method in class com.mckoi.database.TableDataConglomerate
- finalize() - Method in class com.mckoi.database.Transaction
-
Finalize, we should close the transaction.
- find(String, String) - Static method in class com.mckoi.util.StringUtil
-
Finds the index of the given string in the source string.
- findAllocatedAreasNotIn(ArrayList) - Method in class com.mckoi.store.AbstractStore
-
Scans the area list, and any areas that aren't deleted and aren't found in the given ArrayList are returned as leaked areas.
- findBestConstructor(Constructor[], TObject[]) - Static method in class com.mckoi.database.Caster
-
Search for the best constructor that we can use with the given argument types.
- findColumn(String) - Method in class com.mckoi.database.jdbc.MResultSet
- findColumnName(String) - Method in class com.mckoi.database.DataTableDef
- findFieldName(Variable) - Method in class com.mckoi.database.CompositeTable
- findFieldName(Variable) - Method in class com.mckoi.database.DataTable
- findFieldName(Variable) - Method in class com.mckoi.database.DataTableFilter
-
Given a fully qualified variable field name, ie.
- findFieldName(Variable) - Method in class com.mckoi.database.DefaultDataTable
-
Given a fully qualified variable field name, ie.
- findFieldName(Variable) - Method in class com.mckoi.database.FilterTable
-
Given a fully qualified variable field name, ie.
- findFieldName(Variable) - Method in class com.mckoi.database.JoinedTable
-
Given a fully qualified variable field name, ie.
- findFieldName(Variable) - Method in class com.mckoi.database.ReferenceTable
-
Given a fully qualified variable field name, ie.
- findFieldName(Variable) - Method in class com.mckoi.database.SubsetColumnTable
-
Given a fully qualified variable field name, ie.
- findFieldName(Variable) - Method in class com.mckoi.database.Table
-
Given a fully qualified variable field name, ie.
- findFieldName(String) - Method in class com.mckoi.database.RowData
-
Finds the field in this RowData with the given name.
- findIndexForColumns(String[]) - Method in class com.mckoi.database.DataIndexSetDef
-
Finds the first index for the given column name list.
- findIndexWithName(String) - Method in class com.mckoi.database.DataIndexSetDef
-
Finds the index with the given name and returns the index in the list of the index (confusing comment!).
- findVisibleTable(TableName, boolean) - Method in class com.mckoi.database.SimpleTransaction
-
Searches through the list of tables visible within this transaction and returns the MasterTableDataSource object with the given name.
- finish() - Method in interface com.mckoi.store.AreaWriter
-
Finishes the area writer object.
- finishMode(int) - Method in class com.mckoi.database.LockingMechanism
-
This must be called when the calls to a Database object have finished.
- fireTrigger(DatabaseConnection, String, TriggerEvent) - Method in class com.mckoi.database.DatabaseConnection
-
Notifies when a trigger has fired for this user.
- fireTrigger(DatabaseConnection, String, TriggerEvent) - Method in interface com.mckoi.database.TriggerListener
-
Notifies that a trigger event fired.
- first() - Method in class com.mckoi.database.jdbc.MResultSet
- FIRST_IN_SET - Static variable in class com.mckoi.database.SelectableRange
-
An object that represents the first value in the set.
- FIRST_VALUE - Static variable in class com.mckoi.database.SelectableRange
-
Represents the various points in the set on the value to represent the set range.
- firstInCollationOrder() - Method in class com.mckoi.database.CollatedBaseSearch
-
Returns the first value of this column (in collated order).
- firstInCollationOrder() - Method in class com.mckoi.database.InsertSearch
- fix(UserTerminal) - Method in class com.mckoi.database.FixedSizeDataStore
-
Attempts to repair this data store to a correct state.
- fix(UserTerminal) - Method in class com.mckoi.database.IndexStore
-
Performs checks to determine that the index store is stable.
- fix(UserTerminal) - Method in class com.mckoi.database.VariableSizeDataStore
-
Attempts to fix a corrupt VariableSizeDataStore object.
- fix(String, UserTerminal) - Method in class com.mckoi.database.TableDataConglomerate
-
Checks the conglomerate state file.
- FIXED_AREA_OFFSET - Static variable in class com.mckoi.store.AbstractStore
-
The offset into the file of the 64 byte fixed area.
- FixedRecordList - Class in com.mckoi.database
-
A structure that provides a fast way to read and write fixed sized nodes in a Store object.
- FixedRecordList(Store, int) - Constructor for class com.mckoi.database.FixedRecordList
-
Constructs the structure.
- FixedSizeDataStore - Class in com.mckoi.database
-
A file format that allows for the very quick retreival of data that is stored within it.
- FixedSizeDataStore(File, int, boolean, DebugLogger) - Constructor for class com.mckoi.database.FixedSizeDataStore
-
Constructs the data store.
- FixedSizeDataStore(File, int, DebugLogger) - Constructor for class com.mckoi.database.FixedSizeDataStore
- FLOAT - Static variable in interface com.mckoi.database.global.SQLTypes
- FLOAT - Static variable in interface com.mckoi.database.sql.SQLConstants
- floatValue() - Method in class com.mckoi.util.BigNumber
-
Returns this big number as a float.
- flush() - Method in class com.mckoi.database.IndexStore
-
Flushes all information in this index store to the file representing this store in the file system.
- flush() - Method in class com.mckoi.store.HeapStore
- flush() - Method in class com.mckoi.util.LogWriter
- flushBlobStore() - Method in class com.mckoi.database.DatabaseConnection
-
Tells the conglomerate to flush the blob store.
- flushCachedFunctionLookup() - Method in class com.mckoi.database.TransactionSystem
-
Flushes the 'FunctionLookup' object returned by the getFunctionLookup method.
- flushIndexChanges() - Method in interface com.mckoi.database.MutableTableDataSource
-
Flushes all changes made on this MutableTableDataSource to the backing index scheme (IndexSet).
- flushOperatorStack(Expression, Stack, int) - Method in class com.mckoi.database.sql.SQL
-
Flush the operator stack until the stack is either empty or the top element is either a "(" or of a precedence lower than the given precedence.
- flushTableCache(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Flushes the table cache and purges the cache of the entry for the given table name.
- FOR - Static variable in interface com.mckoi.database.sql.SQLConstants
- FOREIGN - Static variable in interface com.mckoi.database.sql.SQLConstants
- FOREIGN_COLS_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- FOREIGN_INFO_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- FOREIGN_KEY - Static variable in class com.mckoi.database.interpret.ConstraintDef
-
A FOREIGN_KEY constraint.
- FOREIGN_KEY_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
A Foreign Key constraint violation error code.
- format(int) - Method in class com.mckoi.util.TimeFrame
-
Returns a string that represents this time frame formatted as a string.
- format(int, boolean) - Method in class com.mckoi.util.TimeFrame
-
Returns a string that represents this time frame formatted as a string.
- formatAsText(ResultSet, PrintWriter) - Static method in class com.mckoi.util.ResultOutputUtil
-
Formats the ResultSet as plain mono-spaced text and outputs the result to the PrintWriter.
- formQueryPlan(DatabaseConnection, TableSelectExpression, TableExpressionFromSet, ArrayList) - Static method in class com.mckoi.database.interpret.Planner
-
Forms a query plan (QueryPlanNode) from the given TableSelectExpression and TableExpressionFromSet.
- free_bin_list - Variable in class com.mckoi.store.AbstractStore
-
The free bin list contains 128 entries pointing to the first available block in the bin.
- FROM - Static variable in interface com.mckoi.database.sql.SQLConstants
- from_clause - Variable in class com.mckoi.database.interpret.TableSelectExpression
-
The from clause.
- fromBigDecimal(BigDecimal) - Static method in class com.mckoi.util.BigNumber
-
Creates a BigNumber from a BigDecimal.
- fromClass(Class) - Static method in class com.mckoi.database.TType
-
Given a java class, this will return a default TType object that can encapsulate Java objects of this type.
- FromClause - Class in com.mckoi.database.interpret
-
A container for the From clause of a select statement.
- FromClause() - Constructor for class com.mckoi.database.interpret.FromClause
- FromClauseJoin(FromClause) - Method in class com.mckoi.database.sql.SQL
- fromData(byte[], int, byte) - Static method in class com.mckoi.util.BigNumber
-
Creates a BigNumber from the given data.
- fromDouble(double) - Static method in class com.mckoi.util.BigNumber
-
Creates a BigNumber from a double.
- fromFloat(float) - Static method in class com.mckoi.util.BigNumber
-
Creates a BigNumber from a float.
- fromInt(int) - Static method in class com.mckoi.util.BigNumber
-
Creates a BigNumber from an int.
- fromLong(long) - Static method in class com.mckoi.util.BigNumber
-
Creates a BigNumber from a long.
- fromString(String) - Static method in class com.mckoi.database.global.StringObject
-
Static method that returns a StringObject from the given java.lang.String.
- fromString(String) - Static method in class com.mckoi.util.BigNumber
-
Creates a BigNumber from a string.
- fromString(String) - Method in class com.mckoi.util.StringListBucket
-
Imports from a String into this bucket.
- FromTableDef - Class in com.mckoi.database.interpret
-
Describes a single table declaration in the from clause of a table expression (SELECT).
- FromTableDef(TableSelectExpression) - Constructor for class com.mckoi.database.interpret.FromTableDef
-
A simple sub-query table definition (not aliased).
- FromTableDef(TableSelectExpression, String) - Constructor for class com.mckoi.database.interpret.FromTableDef
-
A table that is a sub-query and given an aliased name.
- FromTableDef(String) - Constructor for class com.mckoi.database.interpret.FromTableDef
-
A simple table definition (not aliased).
- FromTableDef(String, String) - Constructor for class com.mckoi.database.interpret.FromTableDef
-
Constructs the table def.
- FromTableDirectSource - Class in com.mckoi.database.interpret
-
An implementation of FromTableInterface that wraps around an TableName/AbstractDataTable object.
- FromTableDirectSource(DatabaseConnection, TableQueryDef, String, TableName, TableName) - Constructor for class com.mckoi.database.interpret.FromTableDirectSource
-
Constructs the source.
- FromTableInterface - Interface in com.mckoi.database.interpret
-
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.
- FromTableSubQuerySource - Class in com.mckoi.database.interpret
-
An implementation of FromTableInterface that wraps around a TableSelectExpression object as a sub-query source.
- FromTableSubQuerySource(DatabaseConnection, String, TableSelectExpression, TableExpressionFromSet, TableName) - Constructor for class com.mckoi.database.interpret.FromTableSubQuerySource
-
Constructs the source.
- FULL_DECOMPOSITION - Static variable in interface com.mckoi.database.sql.SQLConstants
- FULL_OUTER_JOIN - Static variable in class com.mckoi.database.JoiningSet
- FULL_RANGE - Static variable in class com.mckoi.database.SelectableRange
-
The range that represents the entire range (including null).
- FULL_RANGE_NO_NULLS - Static variable in class com.mckoi.database.SelectableRange
-
The range that represents the entire range (not including null).
- fullPatternMatch(String, String, char) - Static method in class com.mckoi.database.PatternSearch
-
Matches a pattern against a string and returns true if it matches or false otherwise.
- Function - Class in com.mckoi.database.interpret
-
A handler for defining and dropping functions.
- Function - Interface in com.mckoi.database
-
Represents a function that is part of an expression to be evaluated.
- Function() - Constructor for class com.mckoi.database.interpret.Function
- Function() - Method in class com.mckoi.database.sql.SQL
- FUNCTION - Static variable in interface com.mckoi.database.sql.SQLConstants
- FunctionalSelectNode(QueryPlanNode, Expression) - Constructor for class com.mckoi.database.QueryPlan.FunctionalSelectNode
- FunctionDef - Class in com.mckoi.database
-
A definition of a function including its name and parameters.
- FunctionDef(String, Expression[]) - Constructor for class com.mckoi.database.FunctionDef
-
Constructs the FunctionDef.
- functionDefined(String) - Method in class com.mckoi.database.FunctionFactory
-
Returns true if the function name is defined in this factory.
- FunctionFactory - Class in com.mckoi.database
-
A factory that generates Function objects given a function name and a set of expression's that represent parameters.
- FunctionFactory() - Constructor for class com.mckoi.database.FunctionFactory
-
Constructs the FunctionFactory.
- FunctionFactory.FF_FunctionInfo - Class in com.mckoi.database
-
An implementation of FunctionInfo.
- FunctionIdentifier() - Method in class com.mckoi.database.sql.SQL
- FunctionInfo - Interface in com.mckoi.database
-
Meta information about a function.
- FunctionLookup - Interface in com.mckoi.database
-
An interface that resolves and generates a Function objects given a FunctionDef object.
- FunctionName() - Method in class com.mckoi.database.sql.SQL
- FunctionParams() - Method in class com.mckoi.database.sql.SQL
- FunctionTable - Class in com.mckoi.database
-
A table that has a number of columns and as many rows as the refering table.
- FunctionTable(Expression[], String[], DatabaseQueryContext) - Constructor for class com.mckoi.database.FunctionTable
- FunctionTable(Table, Expression[], String[], DatabaseQueryContext) - Constructor for class com.mckoi.database.FunctionTable
-
Constructs the FunctionTable.
G
- GeneralFormatter - Class in com.mckoi.util
-
This class provides several static convenience functions for formatting various types of information such as a time frame.
- GeneralFormatter() - Constructor for class com.mckoi.util.GeneralFormatter
- GeneralParser - Class in com.mckoi.util
-
This class provides several static convenience functions for parsing various types of character sequences.
- GeneralParser() - Constructor for class com.mckoi.util.GeneralParser
- generatedKeyAlwaysReturned() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- generateFunction(FunctionDef) - Method in class com.mckoi.database.FunctionFactory
-
Creates a Function object for the function with the given name with the given arguments.
- generateFunction(FunctionDef) - Method in interface com.mckoi.database.FunctionLookup
-
Generate the Function given a FunctionDef object.
- generateParseException() - Method in class com.mckoi.database.sql.SQL
- get() - Method in interface com.mckoi.store.Area
- get(byte[], int, int) - Method in interface com.mckoi.store.Area
- get(byte[], int, int) - Method in class com.mckoi.util.ByteBuffer
-
Gets a byte array from the buffer.
- get(int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Returns the int at the given position in the list.
- get(int) - Method in interface com.mckoi.util.IntegerListInterface
-
Returns the int at the given position (0 first, 1 second, etc) in the list.
- get(int) - Method in class com.mckoi.util.StringListBucket
-
Returns the string at the given index of the list.
- get(int, int) - Method in class com.mckoi.database.SimpleTableQuery
-
Gets the TObject at the given cell in the table.
- get(Object) - Method in class com.mckoi.util.Cache
-
If the cache contains the cell with the given key, this method will return the object.
- get(Object) - Method in class com.mckoi.util.HashMapList
-
Returns the list of values that are in the map under this key.
- get(String) - Static method in class com.mckoi.database.Operator
-
Returns an Operator with the given string.
- get(String) - Method in class com.mckoi.database.StatementCache
-
Gets a StatementTree for the query string if it is stored in the cache.
- get(String) - Method in class com.mckoi.util.Stats
-
Retrieves the current Object value of a stat property.
- getAction() - Method in class com.mckoi.database.interpret.AlterTableAction
-
Returns the name of this action.
- getAddedRows() - Method in class com.mckoi.database.TableCommitModificationEvent
-
Returns the normalized list of all rows that were inserted or updated in this table of the transaction being committed.
- getAlias() - Method in class com.mckoi.database.interpret.FromTableDef
-
Returns the alias for this table (or null if no alias given).
- getAllAreas() - Method in class com.mckoi.store.AbstractStore
-
Returns a List of Long objects that contain a complete list of all areas in the store.
- getAllAreas() - Method in class com.mckoi.store.HeapStore
- getAllAreas() - Method in interface com.mckoi.store.Store
-
Returns a complete list of pointers to all areas in the Store as Long objects sorted from lowest pointer to highest.
- getAllFunctionInfo() - Method in class com.mckoi.database.FunctionFactory
-
Returns the list of all function names that this FunctionFactory manages.
- getAllTableFileNames() - Method in class com.mckoi.database.TableDataConglomerate
-
Returns the list of file names for all tables in this conglomerate.
- GetAlterTableAction() - Method in class com.mckoi.database.sql.SQL
- getArea(long) - Method in class com.mckoi.store.AbstractStore
- getArea(long) - Method in class com.mckoi.store.HeapStore
- getArea(long) - Method in interface com.mckoi.store.Store
-
Returns an object that allows for the contents of an area (represented by the 'id' parameter) to be read.
- getAreaHeader(long, long[]) - Method in class com.mckoi.store.AbstractStore
-
Sets the 'header' array with information from the header of the given pointer.
- getAreaInputStream(long) - Method in class com.mckoi.store.AbstractStore
- getAreaInputStream(long) - Method in class com.mckoi.store.HeapStore
- getAreaInputStream(long) - Method in interface com.mckoi.store.Store
-
Returns an InputStream implementation that allows for the area with the given identifier to be read sequentially.
- getArgTypesString(TObject[]) - Static method in class com.mckoi.database.Caster
-
Get a string giving the database types of all of the arguments.
- getArray(boolean) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Returns the int[] array for this block.
- getArray(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getArray(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getArrayLength() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Returns the count of int's in this block.
- getAsciiStream(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getAsciiStream(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getAttributes(String, String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getAutoCommit() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the auto-commit status of this connection.
- getAutoCommit() - Method in class com.mckoi.database.jdbc.MConnection
- getBeginColumn() - Method in class com.mckoi.database.sql.SimpleCharStream
- getBeginLine() - Method in class com.mckoi.database.sql.SimpleCharStream
- getBestRowIdentifier(String, String, String, int, boolean) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getBigDecimal(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getBigDecimal(int, int) - Method in class com.mckoi.database.jdbc.MResultSet
-
Deprecated.
- getBigDecimal(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getBigDecimal(String, int) - Method in class com.mckoi.database.jdbc.MResultSet
-
Deprecated.
- GetBinarySQLType() - Method in class com.mckoi.database.sql.SQL
- getBinaryStream(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getBinaryStream(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getBlob(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getBlob(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getBoolean(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getBoolean(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getBoolean(String) - Method in class com.mckoi.database.StatementTree
-
Gets a boolean entry from the statement tree.
- GetBooleanOperator() - Method in class com.mckoi.database.sql.SQL
- GetBooleanSQLType() - Method in class com.mckoi.database.sql.SQL
- getBufferManager() - Method in class com.mckoi.database.TransactionSystem
-
Returns the LoggingBufferManager object enabling us to create no file stores in the file system.
- getByte() - Method in class com.mckoi.util.ByteBuffer
- getByte(int) - Method in class com.mckoi.database.global.ByteLongObject
-
Returns the byte at offset 'n' into the binary object.
- getByte(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getByte(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getByteArray() - Method in class com.mckoi.database.CellBufferOutputStream
-
Returns the underlying stream you should not use the stream while you have a handle on this reference.
- getByteArray() - Method in class com.mckoi.database.global.ByteLongObject
-
Returns the internal byte[] of this binary object.
- getBytes(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getBytes(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getCachedNode(long) - Method in class com.mckoi.database.AbstractQueryContext
-
Returns a cached table or null if it isn't cached.
- getCachedNode(long) - Method in interface com.mckoi.database.QueryContext
-
Returns a cached table or null if it isn't cached.
- getCatalog() - Method in class com.mckoi.database.jdbc.MConnection
- getCatalogName(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getCatalogs() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getCatalogSeparator() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getCatalogTerm() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getCellContents(int) - Method in class com.mckoi.database.SelectableScheme
-
Obtains the given cell in the row from the table.
- getCellContents(int, int) - Method in class com.mckoi.database.CompositeTable
- getCellContents(int, int) - Method in class com.mckoi.database.DataTable
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in class com.mckoi.database.DataTableFilter
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in class com.mckoi.database.FilterTable
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in class com.mckoi.database.FunctionTable
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in class com.mckoi.database.GTPrivMapDataSource
- getCellContents(int, int) - Method in class com.mckoi.database.GTSQLTypeInfoDataSource
- getCellContents(int, int) - Method in class com.mckoi.database.JoinedTable
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in interface com.mckoi.database.RawDiagnosticTable
-
Returns the contents of the given cell in this table.
- getCellContents(int, int) - Method in class com.mckoi.database.SubsetColumnTable
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in class com.mckoi.database.Table
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in class com.mckoi.database.TableAccessState
-
Returns the cell at the given row/column coordinates in the table.
- getCellContents(int, int) - Method in interface com.mckoi.database.TableDataSource
-
Returns an object that represents the information in the given cell in the table.
- getCellContents(int, int) - Method in class com.mckoi.database.TemporaryTable
-
Returns an object that represents the information in the given cell in the table.
- getCellData(int) - Method in class com.mckoi.database.RowData
-
Returns the TObject that represents the information in the given column of the row.
- getChar() - Method in interface com.mckoi.store.Area
- getChar(byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Returns the chart at the given offset of the byte array.
- getCharacterStream(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getCharacterStream(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getClassConstraint() - Method in class com.mckoi.database.DataTableColumnDef
-
If this column represents a Java Object, this returns the name of the class the objects stored in the column must be derived from.
- getClassConstraintAsClass() - Method in class com.mckoi.database.DataTableColumnDef
-
If this column represents a Java Object, this returns the class object that is the constraining class for the column.
- getClassName() - Method in class com.mckoi.database.StatementTree
-
Gets the interpreter class that services this tree.
- getClientInfo() - Method in class com.mckoi.database.jdbc.MConnection
- getClientInfo(String) - Method in class com.mckoi.database.jdbc.MConnection
- getClientInfoProperties() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getClob(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getClob(String) - Method in class com.mckoi.database.jdbc.MResultSet
- GetCollateDecomposition() - Method in class com.mckoi.database.sql.SQL
- GetCollateStrength() - Method in class com.mckoi.database.sql.SQL
- getColumn() - Method in class com.mckoi.database.SelectableScheme
-
Returns the column this scheme is indexing in the table.
- getColumn() - Method in class com.mckoi.database.sql.SimpleCharStream
-
Deprecated.
- getColumnClassName(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getColumnCount() - Method in class com.mckoi.database.CompositeTable
- getColumnCount() - Method in class com.mckoi.database.DataTable
- getColumnCount() - Method in class com.mckoi.database.DataTableFilter
-
Returns the number of columns in the table.
- getColumnCount() - Method in class com.mckoi.database.DefaultDataTable
-
Returns the number of columns in the table.
- getColumnCount() - Method in class com.mckoi.database.FilterTable
-
Returns the number of columns in the table.
- getColumnCount() - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getColumnCount() - Method in interface com.mckoi.database.jdbc.QueryResponse
-
The number of columns in the query result.
- getColumnCount() - Method in class com.mckoi.database.JoinedTable
-
Returns the number of columns in the table.
- getColumnCount() - Method in class com.mckoi.database.RowData
-
Returns the number of columns (cells) in this row.
- getColumnCount() - Method in class com.mckoi.database.SubsetColumnTable
-
Returns the number of columns in the table.
- getColumnCount() - Method in class com.mckoi.database.Table
-
Returns the number of columns in the table.
- getColumnCount() - Method in class com.mckoi.jfccontrols.ResultSetTableModel
- getColumnDefAt(int) - Method in class com.mckoi.database.Table
-
Returns the DataTableColumnDef object for the given column index.
- getColumnDescription(int) - Method in interface com.mckoi.database.jdbc.QueryResponse
-
The ColumnDescription object that describes column 'n' in the result.
- getColumnDisplaySize(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getColumnLabel(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getColumnList() - Method in class com.mckoi.database.interpret.ConstraintDef
-
Returns the first column list as a string array.
- getColumnList2() - Method in class com.mckoi.database.interpret.ConstraintDef
-
Returns the first column list as a string array.
- getColumnName(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getColumnName(int) - Method in class com.mckoi.database.RowData
-
Returns the name of the given column number.
- getColumnName(int) - Method in class com.mckoi.jfccontrols.ResultSetTableModel
- getColumnNames() - Method in class com.mckoi.database.DataIndexDef
-
Returns the column names that make up this index.
- getColumnPrivileges(String, String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getColumns(String, String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getColumnScheme(int) - Method in class com.mckoi.database.GTPrivMapDataSource
- getColumnScheme(int) - Method in class com.mckoi.database.Table
-
Returns the SelectableScheme that indexes the given column in this table.
- getColumnScheme(int) - Method in interface com.mckoi.database.TableDataSource
-
Returns the SelectableScheme that we use as an index for rows in the given column of this source.
- getColumnType(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getColumnTypeName(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getCommandsLog() - Method in class com.mckoi.database.Database
-
Returns the log file where commands are recorded.
- GetComposite() - Method in class com.mckoi.database.sql.SQL
- getConcurrency() - Method in class com.mckoi.database.jdbc.MResultSet
- getConfig() - Method in class com.mckoi.database.control.DBSystem
-
Returns an immutable version of the database system configuration.
- getConfigBoolean(String, boolean) - Method in class com.mckoi.database.TransactionSystem
-
Returns a configuration value, or the default if it's not found.
- getConfigInt(String, int) - Method in class com.mckoi.database.TransactionSystem
-
Returns a configuration value, or the default if it's not found.
- getConfigString(String, String) - Method in class com.mckoi.database.TransactionSystem
-
Returns a configuration value, or the default if it's not found.
- getConnection() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getConnection(String, String) - Method in class com.mckoi.database.control.DBSystem
-
Makes a connection to the database and returns a java.sql.Connection object that can be used to execute queries on the database.
- getConnection(String, String, String) - Method in class com.mckoi.database.control.DBSystem
-
Makes a connection to the database and returns a java.sql.Connection object that can be used to execute queries on the database.
- getConnectionString() - Method in class com.mckoi.database.User
-
Returns the string that describes how this user is connected to the engine.
- getConnectionTriggerManager() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the connection trigger manager for this connection.
- getConstructor() - Method in class com.mckoi.database.FunctionFactory.FF_FunctionInfo
- getContents() - Method in class com.mckoi.database.jdbc.StreamableObjectPart
-
Returns the contents of this ResultCellPart.
- getCount() - Method in class com.mckoi.database.TriggerEvent
-
Returns the number of times this event was fired.
- getCount() - Method in class com.mckoi.util.SearchResults
-
Functions for querying information in the results.
- getCrossReference(String, String, String, String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getCurrentSchema() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the name of the schema that this connection is within.
- getCursorName() - Method in class com.mckoi.database.jdbc.MResultSet
- getDatabase() - Method in class com.mckoi.database.CompositeTable
- getDatabase() - Method in class com.mckoi.database.control.DBSystem
-
Returns the com.mckoi.database.Database object for this control.
- getDatabase() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the Database object for this connection.
- getDatabase() - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns the Database object that this context is a child of.
- getDatabase() - Method in class com.mckoi.database.DataTableFilter
-
Returns the Database context for this filtered table.
- getDatabase() - Method in class com.mckoi.database.DefaultDataTable
-
Returns the Database object this table is part of.
- getDatabase() - Method in class com.mckoi.database.FilterTable
-
Returns the parent Database object.
- getDatabase() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Returns the Database that is the context of this interface.
- getDatabase() - Method in class com.mckoi.database.JoinedTable
-
We simply pick the first table to resolve the Database object.
- getDatabase() - Method in interface com.mckoi.database.ProcedureConnection
-
Returns the Database object for this database providing access to various general database features including backing up replication and configuration.
- getDatabase() - Method in class com.mckoi.database.Table
-
Returns the Database object that this table is derived from.
- getDatabase() - Method in class com.mckoi.database.User
-
Returns the Database object that this user belongs to.
- getDatabaseConnection() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Returns the DatabaseConnection objcet for this connection.
- getDatabaseConnection() - Method in class com.mckoi.database.TableModificationEvent
-
Returns the DatabaseConnection that this event fired in.
- getDatabaseMajorVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDatabaseMinorVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDatabasePath() - Method in class com.mckoi.database.TransactionSystem
-
Returns the path of the database in the local file system if the database exists within the local file system.
- getDatabaseProductName() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDatabaseProductVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDataCellCache() - Method in class com.mckoi.database.Database
-
Returns the system DataCellCache.
- getDataTableDef() - Method in class com.mckoi.database.CompositeTable
- getDataTableDef() - Method in class com.mckoi.database.DataTable
-
Returns the DataTableDef object for this table.
- getDataTableDef() - Method in class com.mckoi.database.DataTableFilter
-
Returns a DataTableDef object that defines the name of the table and the layout of the columns of the table.
- getDataTableDef() - Method in class com.mckoi.database.FilterTable
-
Returns a DataTableDef object that defines the name of the table and the layout of the columns of the table.
- getDataTableDef() - Method in class com.mckoi.database.FunctionTable
-
Returns the DataTableDef object that represents the columns in this function table.
- getDataTableDef() - Method in class com.mckoi.database.GTPrivMapDataSource
- getDataTableDef() - Method in class com.mckoi.database.GTSQLTypeInfoDataSource
- getDataTableDef() - Method in class com.mckoi.database.JoinedTable
-
Returns the DataTableDef object that describes the columns in this table.
- getDataTableDef() - Method in interface com.mckoi.database.RawDiagnosticTable
-
Returns the DataTableDef object that describes the logical topology of the columns in this table.
- getDataTableDef() - Method in class com.mckoi.database.ReferenceTable
-
Returns the 'modified' DataTableDef object for this reference.
- getDataTableDef() - Method in class com.mckoi.database.SubsetColumnTable
-
Returns the DataTableDef object that describes the columns and name of this table.
- getDataTableDef() - Method in class com.mckoi.database.Table
-
Returns a DataTableDef object that defines the name of the table and the layout of the columns of the table.
- getDataTableDef() - Method in class com.mckoi.database.TableAccessState
-
Returns the DataTableDef object that contains information on the columns of the table.
- getDataTableDef() - Method in interface com.mckoi.database.TableDataSource
-
Returns a DataTableDef object that defines the layout of the table that this data is in.
- getDataTableDef() - Method in interface com.mckoi.database.TableQueryDef
-
Returns an immutable DataTableDef object that describes the columns in this table source, and the name of the table.
- getDataTableDef() - Method in class com.mckoi.database.TemporaryTable
- getDataTableDef() - Method in class com.mckoi.database.ViewDef
-
Returns the DataTableDef for this view.
- getDataTableDef(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Returns the DataTableDef for the table with the given name.
- getDataTableDef(TableName) - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns a DataTableDef for the given table name.
- getDataTableDef(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns the DataTableDef for the table with the given name that is visible within this transaction.
- getDate(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getDate(int, Calendar) - Method in class com.mckoi.database.jdbc.MResultSet
- getDate(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getDate(String, Calendar) - Method in class com.mckoi.database.jdbc.MResultSet
- GetDateSQLType() - Method in class com.mckoi.database.sql.SQL
- getDBProcedure(String, DatabaseConnection) - Method in class com.mckoi.database.Database
-
Resolves a procedure name into a DBProcedure object.
- getDBType() - Method in class com.mckoi.database.DataTableColumnDef
- getDBTypeString() - Method in class com.mckoi.database.DataTableColumnDef
-
Returns the type as a String.
- getDecomposition() - Method in class com.mckoi.database.DataTableColumnDef
- getDecomposition() - Method in class com.mckoi.database.TStringType
-
Returns the decomposition of this string type as defined in java.text.Collator.
- getDef(String) - Method in class com.mckoi.database.TableDescriptions
-
Returns the DataTableDef object for the table with the given name.
- getDefault() - Static method in class com.mckoi.database.control.DBController
-
Returns the static controller for this JVM.
- getDefaultAgent() - Static method in class com.mckoi.jfccontrols.QueryAgent
-
Returns the QueryAgent for this VM.
- getDefaultExpression(TransactionSystem) - Method in class com.mckoi.database.DataTableColumnDef
- getDefaultExpressionString() - Method in class com.mckoi.database.DataTableColumnDef
- getDefaultTransactionIsolation() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDefaultValue(String) - Method in class com.mckoi.database.control.AbstractDBConfig
-
Returns the default value for the configuration property with the given key.
- getDefaultValue(String) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Gets the default value for the given property value.
- getDeleteRule() - Method in class com.mckoi.database.interpret.ConstraintDef
-
Returns the delete rule if this is a foreign key reference.
- getDiagnosticTable(String) - Method in class com.mckoi.database.TableDataConglomerate
-
Returns a RawDiagnosticTable object that is used for diagnostics of the table with the given file name.
- getDouble(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getDouble(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getDriverMajorVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDriverMinorVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDriverName() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDriverVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getDynamicDataTableDef(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns the DataTableDef for a dynamic table defined in this transaction.
- getDynamicDataTableDef(TableName) - Method in class com.mckoi.database.Transaction
-
Returns the DataTableDef for the given internal table.
- getDynamicTable(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
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.
- getDynamicTable(TableName) - Method in class com.mckoi.database.Transaction
-
Returns an instance of MutableDataTableSource that represents the contents of the internal table with the given name.
- getDynamicTableList() - Method in class com.mckoi.database.SimpleTransaction
-
Returns a list of all dynamic table names.
- getDynamicTableList() - Method in class com.mckoi.database.Transaction
-
Returns a list of all dynamic table names.
- getDynamicTableType(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns a string type describing the type of the dynamic table.
- getDynamicTableType(TableName) - Method in class com.mckoi.database.Transaction
-
Returns a string type describing the type of the dynamic table.
- getElement(int) - Method in class com.mckoi.database.interpret.AlterTableAction
-
Returns element 'n'.
- getElements() - Method in class com.mckoi.database.interpret.AlterTableAction
-
Returns the ArrayList that represents the parameters of this action.
- getEnd() - Method in class com.mckoi.database.SelectableRange
-
Returns the end of the range.
- getEndColumn() - Method in class com.mckoi.database.sql.SimpleCharStream
- getEndExpression() - Method in class com.mckoi.database.Expression
-
Returns the end Expression of this expression.
- getEndFlag() - Method in class com.mckoi.database.SelectableRange
-
Returns the place for the range to end (either BEFORE_FIRST_VALUE or LAST VALUE).
- getEndLine() - Method in class com.mckoi.database.sql.SimpleCharStream
- getErrorCode() - Method in exception com.mckoi.database.DatabaseConstraintViolationException
-
Returns the violation error code.
- getErrorCode() - Method in exception com.mckoi.database.DatabaseException
-
Returns the error code.
- getEvalResult() - Method in class com.mckoi.database.CorrelatedVariable
-
Returns the value this correlated variable evaluates to.
- getExportedKeys(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getExpression() - Method in class com.mckoi.database.Assignment
-
Returns the Expression for this assignment.
- getExtraNameCharacters() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getFetchDirection() - Method in class com.mckoi.database.jdbc.MResultSet
- getFetchSize() - Method in class com.mckoi.database.jdbc.MResultSet
- getFirstCellContent(int) - Method in class com.mckoi.database.Table
-
Returns the TObject value that represents the first item in the set or null if there are no items in the column set.
- getFirstCellContent(int[]) - Method in class com.mckoi.database.Table
-
Returns the TObject value that represents the first item in the set or null if there are no items in the column set.
- getFirstTable() - Method in class com.mckoi.database.JoiningSet
-
Returns the first table in the join set.
- getFloat(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getFloat(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getForeignKey() - Method in class com.mckoi.database.DataTableColumnDef
-
Deprecated.
- getFromExpression() - Method in class com.mckoi.database.interpret.SearchExpression
-
Returns the search expression as an Expression object.
- getFunction(QueryContext) - Method in class com.mckoi.database.FunctionDef
-
Returns a Function object from this FunctionDef.
- getFunctionColumns(String, String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getFunctionFactoryName() - Method in class com.mckoi.database.FunctionFactory.FF_FunctionInfo
- getFunctionFactoryName() - Method in interface com.mckoi.database.FunctionInfo
-
The name of the function factory class that this function is handled by.
- getFunctionInfo(String) - Method in class com.mckoi.database.FunctionFactory
-
Returns a FunctionInfo instance of the function with the given name that this FunctionFactory manages.
- getFunctionLookup() - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns the system FunctionLookup object.
- getFunctionLookup() - Method in interface com.mckoi.database.QueryContext
-
Returns a FunctionLookup object used to convert FunctionDef objects to Function objects when evaluating an expression.
- getFunctionLookup() - Method in class com.mckoi.database.TransactionSystem
-
Returns a FunctionLookup object that will search through the function factories in this database system and find and resolve a function.
- getFunctions(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getGivenTableName() - Method in class com.mckoi.database.interpret.FromTableDirectSource
-
Returns the given name of the table.
- getGrantManager() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the GrantManager object that manages grants for tables in the database for this connection/user.
- getGrantManager() - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns the GrantManager object that is used to determine grant information for the database.
- getHashSize() - Method in class com.mckoi.util.Cache
-
Deprecated.
- getHoldability() - Method in class com.mckoi.database.jdbc.MConnection
- getHoldability() - Method in class com.mckoi.database.jdbc.MResultSet
- getID() - Method in interface com.mckoi.database.global.Ref
-
An id used to reference this object in the context of the database.
- getID() - Method in class com.mckoi.database.ParameterSubstitution
-
Returns the number of this parameter id.
- getID() - Method in interface com.mckoi.store.Area
-
Returns the unique identifier that represents this area.
- getID() - Method in interface com.mckoi.store.AreaWriter
-
Returns the unique identifier that represents this area in the store.
- getIdentifier() - Method in class com.mckoi.database.global.StreamableObject
-
Returns an identifier that can identify this object within some context.
- getIdentifierQuoteString() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- GetImage() - Method in class com.mckoi.database.sql.SimpleCharStream
- getImportedKeys(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getIndex() - Method in class com.mckoi.util.SearchResults
- getIndex(int) - Method in interface com.mckoi.database.IndexSet
-
Returns a mutable object that implements IntegerListInterface for the given index number in this set of indices.
- getIndexInfo(String, String, String, boolean, boolean) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getIndexScheme() - Method in class com.mckoi.database.DataTableColumnDef
-
Returns the name of the scheme we use to index this column.
- getInputStream() - Method in interface com.mckoi.database.global.BlobAccessor
-
Returns an InputStream that allows us to read the contents of the blob from start to finish.
- getInputStream() - Method in class com.mckoi.database.global.ByteLongObject
-
Returns an InputStream that allows us to read the entire byte long object.
- getInputStream() - Method in class com.mckoi.store.StreamFile
-
Returns an InputStream to the file that allows us to read from the start to the end of the file.
- getInt() - Method in interface com.mckoi.store.Area
- getInt() - Method in class com.mckoi.util.ByteBuffer
- getInt(byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Returns the int at the given offset of the byte array.
- getInt(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getInt(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getInt(String) - Method in class com.mckoi.database.StatementTree
-
Gets an integer entry from the statement tree.
- getJavaClassTypeString() - Method in class com.mckoi.database.TJavaObjectType
-
Returns the java class type of this type.
- getJDBCConnection() - Method in class com.mckoi.database.DatabaseConnection
-
Returns a java.sql.Connection object that can be used as a JDBC interface to access the current transaction of this DatabaseConnection.
- getJDBCConnection() - Method in interface com.mckoi.database.ProcedureConnection
-
Returns a JDBC Connection implementation for executing queries on this connection.
- getJDBCMajorVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getJDBCMinorVersion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getJDBCPort() - Method in class com.mckoi.database.jdbcserver.TCPServer
-
Returns the port the JDBC server is on.
- getJoinSet() - Method in class com.mckoi.database.interpret.FromClause
-
Returns the JoiningSet object for the FROM clause.
- getJoinType(int) - Method in class com.mckoi.database.interpret.FromClause
-
Returns the type of join after table 'n' in the set of tables in the from clause.
- getJoinType(int) - Method in class com.mckoi.database.JoiningSet
-
Returns the type of join after table 'n' in the set.
- getJournal() - Method in interface com.mckoi.database.MutableTableDataSource
-
Returns a journal that details the changes to this data source since it was created.
- getLargeObject(long) - Method in interface com.mckoi.database.BlobStoreInterface
-
Given a large object reference identifier, generates a Ref implementation that provides access to the information in the large object.
- getLastCellContent(int) - Method in class com.mckoi.database.Table
-
Returns the TObject value that represents the last item in the set or null if there are no items in the column set.
- getLastCellContent(int[]) - Method in class com.mckoi.database.Table
-
Returns the TObject value that represents the last item in the set or null if there are no items in the column set.
- getLastCommandTime() - Method in class com.mckoi.database.User
-
Returnst the last time a command was executed by this user.
- getLengthOfLastOutputStream() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns the number of bytes that were written out by the last closed output stream returned by 'getSectorOutputStream'.
- getLine() - Method in class com.mckoi.database.sql.SimpleCharStream
-
Deprecated.
- getLocale() - Method in class com.mckoi.database.TStringType
-
Returns the locale of the string.
- getLocaleString() - Method in class com.mckoi.database.DataTableColumnDef
- getLocaleString() - Method in class com.mckoi.database.TStringType
-
Returns the locale information as a formatted string.
- getLockingMechanism() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the LockingMechanism object that is within the context of this database connection.
- getLockingMode() - Method in interface com.mckoi.database.DatabaseProcedure
-
Returns the locking mode in which the database operates.
- getLogDirectory() - Method in class com.mckoi.database.TransactionSystem
-
Returns the current log directory or null if no logging should occur.
- getLong() - Method in interface com.mckoi.store.Area
- getLong(byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Returns the long at the given offset of the byte array.
- getLong(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getLong(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getMajorVersion() - Method in class com.mckoi.database.jdbc.MDriver
- getMarkedTable(String) - Method in class com.mckoi.database.AbstractQueryContext
-
Returns a table that was marked in a query plan or null if no mark was found.
- getMarkedTable(String) - Method in interface com.mckoi.database.QueryContext
-
Returns a table that was marked in a query plan or null if no mark was found.
- getMaxBinaryLiteralLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxCatalogNameLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxCharLiteralLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxColumnNameLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxColumnsInGroupBy() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxColumnsInIndex() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxColumnsInOrderBy() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxColumnsInSelect() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxColumnsInTable() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxConnections() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxCursorNameLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaximumSize() - Method in class com.mckoi.database.TBinaryType
-
Returns the maximum size of this binary type.
- getMaximumSize() - Method in class com.mckoi.database.TStringType
-
Returns the maximum size of the string (-1 is don't care).
- getMaxIndexLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxProcedureNameLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxRowSize() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxSchemaNameLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxStatementLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxStatements() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxTableNameLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxTablesInSelect() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMaxUserNameLength() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getMessage() - Method in exception com.mckoi.database.sql.ParseException
-
This method has the standard behavior when this object has been created using the standard constructors.
- getMessage() - Method in error com.mckoi.database.sql.TokenMgrError
-
You can also modify the body of this method to customize your error messages.
- getMetaData() - Method in class com.mckoi.database.jdbc.MConnection
- getMetaData() - Method in class com.mckoi.database.jdbc.MResultSet
- getMinorVersion() - Method in class com.mckoi.database.jdbc.MDriver
- getMutableArea(long) - Method in class com.mckoi.store.AbstractStore
- getMutableArea(long) - Method in class com.mckoi.store.HeapStore
- getMutableArea(long) - Method in interface com.mckoi.store.Store
-
Returns an object that allows for the contents of an area (represented by the 'id' parameter) to be read and written.
- getName() - Method in class com.mckoi.database.AbstractFunction
-
Returns the name of the function.
- getName() - Method in class com.mckoi.database.Database
-
Returns the name of this database.
- getName() - Method in class com.mckoi.database.DataIndexDef
-
Returns the name of this index.
- getName() - Method in class com.mckoi.database.DataTableColumnDef
- getName() - Method in class com.mckoi.database.DataTableDef
- getName() - Method in interface com.mckoi.database.Function
-
Returns the name of the function.
- getName() - Method in class com.mckoi.database.FunctionDef
-
The name of the function.
- getName() - Method in class com.mckoi.database.FunctionFactory.FF_FunctionInfo
- getName() - Method in interface com.mckoi.database.FunctionInfo
-
The name of the function as used by the SQL grammar to reference it.
- getName() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns the name of the field.
- getName() - Method in class com.mckoi.database.interpret.FromTableDef
-
Returns the name of the table.
- getName() - Method in class com.mckoi.database.ProcedureName
-
Returns the name of this procedure.
- getName() - Method in class com.mckoi.database.SchemaDef
-
Returns the case correct name of the schema.
- getName() - Method in class com.mckoi.database.TableName
-
Returns the table name.
- getName() - Method in class com.mckoi.database.Variable
-
Returns the column name context.
- getNCharacterStream(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getNCharacterStream(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getNClob(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getNClob(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getNetworkTimeout() - Method in class com.mckoi.database.jdbc.MConnection
- getNewColumnNames() - Method in class com.mckoi.database.QueryPlan.SubsetNode
-
Returns the list of new column names that represent the new columns in this subset.
- getNextAreaHeader(long, long[]) - Method in class com.mckoi.store.AbstractStore
-
Sets the 'header' array with information from the next header to the given pointer, and returns a pointer to the next area.
- getNextToken() - Method in class com.mckoi.database.sql.SQL
- getNextToken() - Method in class com.mckoi.database.sql.SQLTokenManager
- getNString(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getNString(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getNumericFunctions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- GetNumericOperator() - Method in class com.mckoi.database.sql.SQL
- GetNumericSQLType() - Method in class com.mckoi.database.sql.SQL
- getObject() - Method in class com.mckoi.database.TObject
-
Returns a java.lang.Object that is the data behind this object.
- getObject(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getObject(int, Class) - Method in class com.mckoi.database.jdbc.MResultSet
- getObject(int, Map) - Method in class com.mckoi.database.jdbc.MResultSet
- getObject(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getObject(String) - Method in class com.mckoi.database.StatementTree
-
Gets an object entry from the statement tree.
- getObject(String, Class) - Method in class com.mckoi.database.jdbc.MResultSet
- getObject(String, Map) - Method in class com.mckoi.database.jdbc.MResultSet
- getOnExpression(int) - Method in class com.mckoi.database.interpret.FromClause
-
Returns the ON Expression for the type of join after table 'n' in the set.
- getOnExpression(int) - Method in class com.mckoi.database.JoiningSet
-
Returns the ON Expression for the type of join after table 'n' in the set.
- getOriginalColumns() - Method in class com.mckoi.database.QueryPlan.SubsetNode
-
Returns the list of original columns that represent the mappings from the columns in this subset.
- getOutputStream() - Method in interface com.mckoi.store.AreaWriter
-
Returns an OutputStream that can be used to write to this area.
- getOutputStream() - Method in class com.mckoi.store.StreamFile
-
Opens an OutputStream to the file.
- getParameter(int) - Method in class com.mckoi.database.AbstractFunction
-
Returns the parameter at the given index in the parameters list.
- getParameter(int) - Method in class com.mckoi.jfccontrols.Query
-
Returns parameters number 'n' where 0 is the first parameters, etc.
- getParameters() - Method in class com.mckoi.database.FunctionDef
-
The list of parameters that are passed to the function.
- getParent() - Method in class com.mckoi.database.FilterTable
-
Returns the parent table.
- getParentLogger() - Method in class com.mckoi.database.jdbc.MDriver
- getPeriod() - Method in class com.mckoi.util.TimeFrame
-
Returns the number of milliseconds for the period of this time frame.
- getPersistantVar(String) - Method in class com.mckoi.database.Transaction
-
Returns the value of the persistent variable with the given name or null if it doesn't exist.
- getPersistentVar(String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.getPersistentVar method.
- getPointer() - Method in class com.mckoi.database.DataIndexDef
-
Returns the pointer to the index in the IndexSet.
- getPrecision(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getPreviousAreaHeader(long, long[]) - Method in class com.mckoi.store.AbstractStore
-
Sets the 'header' array with information from the previous header to the given pointer, and returns a pointer to the previous area.
- getPrimaryKeys(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getProcedureColumns(String, String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getProcedureManager() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the ProcedureManager object that manages database functions and procedures in the database for this connection/user.
- getProcedures(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getProcedureTerm() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getPropertyInfo(String, Properties) - Method in class com.mckoi.database.jdbc.MDriver
- getPseudoColumns(String, String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getQuery() - Method in class com.mckoi.database.jdbc.SQLQuery
-
Returns the query string.
- getQueryLevelOffset() - Method in class com.mckoi.database.CorrelatedVariable
-
Returns the number of sub-query branches back that the reference for this variable can be found.
- getQueryPlanNode() - Method in class com.mckoi.database.Expression
-
Returns the QueryPlanNode object in this expression if it evaluates to a single QueryPlanNode, otherwise returns null.
- getQueryPlanNode() - Method in interface com.mckoi.database.TableQueryDef
-
Returns a QueryPlanNode that can be put into a plan tree and can be evaluated to find the result of the table.
- getQueryPlanNode() - Method in class com.mckoi.database.ViewDef
-
Returns the QueryPlanNode for this view.
- getQueryTimeMillis() - Method in interface com.mckoi.database.jdbc.QueryResponse
-
The time, in milliseconds, that the query took to execute.
- getRawSize() - Method in interface com.mckoi.database.global.Ref
-
The 'raw' size of this large object in bytes when it is in its byte[] form.
- getReader() - Method in interface com.mckoi.database.global.StringAccessor
-
Returns a Reader that allows the string to be read sequentually from start to finish.
- getReader() - Method in class com.mckoi.database.global.StringObject
-
Returns a Reader that can read from the string.
- getReadTables(DatabaseConnection) - Method in interface com.mckoi.database.DatabaseProcedure
-
This returns a DataTable[] array that lists the DataTables that are read during this procedure.
- getRecordInputStream(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns an InputStream that is used to read a record in this store with the given index.
- getRecordOutputStream() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns an OutputStream object that can be used to write data into the store.
- getRef(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getRef(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getReferenceRows() - Method in class com.mckoi.database.VirtualTable
-
Returns the list of IntegerVector that represents the rows that this VirtualTable references.
- getReferenceTable() - Method in class com.mckoi.database.FunctionTable
-
Returns the Table this function is based on.
- getReferenceTables() - Method in class com.mckoi.database.JoinedTable
-
Returns the list of Table objects that represent this VirtualTable.
- getRegexLibrary() - Method in class com.mckoi.database.TransactionSystem
-
Returns the regular expression library from the configuration file.
- getRemovedRows() - Method in class com.mckoi.database.TableCommitModificationEvent
-
Returns the normalized list of all rows that were deleted or updated in this table of the transaction being committed.
- getReservedLong() - Method in class com.mckoi.database.FixedRecordList
-
Returns the 8 byte long that is reserved for storing the delete chain (if there is one).
- getResolvedVariable(int) - Method in class com.mckoi.database.CompositeTable
- getResolvedVariable(int) - Method in class com.mckoi.database.DataTable
- getResolvedVariable(int) - Method in class com.mckoi.database.DataTableFilter
-
Returns a fully qualified Variable object that represents the name of the column at the given index.
- getResolvedVariable(int) - Method in class com.mckoi.database.DefaultDataTable
-
Returns a fully qualified Variable object that represents the name of the column at the given index.
- getResolvedVariable(int) - Method in class com.mckoi.database.FilterTable
-
Returns a fully qualified Variable object that represents the name of the column at the given index.
- getResolvedVariable(int) - Method in class com.mckoi.database.JoinedTable
-
Returns a fully qualified Variable object that represents the name of the column at the given index.
- getResolvedVariable(int) - Method in class com.mckoi.database.ReferenceTable
-
Returns a fully qualified Variable object that represents the name of the column at the given index.
- getResolvedVariable(int) - Method in class com.mckoi.database.SubsetColumnTable
-
Returns a fully qualified Variable object that represents the name of the column at the given index.
- getResolvedVariable(int) - Method in class com.mckoi.database.Table
-
Returns a fully qualified Variable object that represents the name of the column at the given index.
- getResolvedVariable(int) - Method in class com.mckoi.database.TableAccessState
-
Returns the TableName of the given column of this table.
- getResultID() - Method in interface com.mckoi.database.jdbc.QueryResponse
-
Returns a number that identifies this query within the set of queries executed on the connection.
- getResultPart(int, int, int) - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Returns a part of a result set.
- getResultPart(int, int, int) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
- getResultSetHoldability() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getRootColumnScheme(int) - Method in class com.mckoi.database.DataTable
-
Returns the SelectableScheme for the given column.
- getRootColumnScheme(int) - Method in class com.mckoi.database.DefaultDataTable
-
Returns the SelectableScheme for the given column.
- getRootTableName() - Method in class com.mckoi.database.interpret.FromTableDirectSource
-
Returns the root name of the table.
- getRow() - Method in class com.mckoi.database.jdbc.MResultSet
- getRowCache() - Method in class com.mckoi.database.jdbc.MConnection
-
Returns the row Cache object for this connection.
- getRowCount() - Method in class com.mckoi.database.CompositeTable
- getRowCount() - Method in class com.mckoi.database.DataTable
-
Returns the current row count.
- getRowCount() - Method in class com.mckoi.database.DataTableFilter
-
Returns the number of rows stored in the table.
- getRowCount() - Method in class com.mckoi.database.DefaultDataTable
-
Returns the number of rows stored in the table.
- getRowCount() - Method in class com.mckoi.database.FilterTable
-
Returns the number of rows stored in the table.
- getRowCount() - Method in class com.mckoi.database.GTPrivMapDataSource
- getRowCount() - Method in class com.mckoi.database.GTSQLTypeInfoDataSource
- getRowCount() - Method in interface com.mckoi.database.jdbc.QueryResponse
-
The total number of rows in the query result.
- getRowCount() - Method in class com.mckoi.database.NaturallyJoinedTable
- getRowCount() - Method in class com.mckoi.database.SimpleTableQuery
-
Returns the total number of rows in this table.
- getRowCount() - Method in class com.mckoi.database.Table
-
Returns the number of rows stored in the table.
- getRowCount() - Method in interface com.mckoi.database.TableDataSource
-
Returns the number of rows in this data source.
- getRowCount() - Method in class com.mckoi.database.VirtualTable
-
Returns the number of rows stored in the table.
- getRowCount() - Method in class com.mckoi.jfccontrols.ResultSetTableModel
- getRowData() - Method in class com.mckoi.database.TableModificationEvent
-
Returns the RowData object that represents the change that is being made to the table either by an INSERT or UPDATE.
- getRowId(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getRowId(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getRowIdLifetime() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getRowIndex() - Method in class com.mckoi.database.TableModificationEvent
-
Returns the index of the row in the table that was affected by this event or -1 if event type is INSERT.
- getScale() - Method in class com.mckoi.database.DataTableColumnDef
- getScale() - Method in class com.mckoi.database.global.ColumnDescription
-
If this is a number, returns the scale of the field.
- getScale() - Method in class com.mckoi.database.TNumericType
-
Returns the scale of the number (-1 is don't care).
- getScale() - Method in class com.mckoi.util.BigNumber
-
Returns the scale of this number, or -1 if the number has no scale (if it -inf, +inf or NaN).
- getScale(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getSchema() - Method in class com.mckoi.database.DataTable
-
Returns the schema that this table is within.
- getSchema() - Method in class com.mckoi.database.DataTableDef
- getSchema() - Method in class com.mckoi.database.jdbc.MConnection
- getSchema() - Method in class com.mckoi.database.ProcedureName
-
Returns the schema of this procedure.
- getSchema() - Method in class com.mckoi.database.TableName
-
Returns the schema name or null if the schema name is unknown.
- getSchemaList() - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.getSchemaList method.
- getSchemaList() - Method in class com.mckoi.database.Transaction
-
Returns an array of SchemaDef objects for each schema currently setup in the database.
- getSchemaName(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getSchemas() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSchemas(String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSchemaTerm() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSearchStringEscape() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSector(int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Gets the contents of the sector at the given index.
- getSector(int, byte[]) - Method in class com.mckoi.database.FixedSizeDataStore
-
Gets the contents of the sector at the given index.
- getSector(int, byte[], int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Gets the contents of the sector at the given index.
- getSectorAsIntArray(int, int[]) - Method in class com.mckoi.database.FixedSizeDataStore
-
Gets the contents of the sector at the given index as an int[] array.
- getSectorChain(int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Traverses a sector chain and returns an array of all sectors that are part of the chain.
- getSectorChain(int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Traverses a sector chain and returns an array of all sectors that are part of the chain.
- getSectorInputStream(int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns an InputStream implementation that is used to read a stream of information from the store.
- getSectorOfLastOutputStream() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns the first sector the OutputStream returned by 'getSectorOutputStream' wrote to.
- getSectorOutputStream() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns an OutputStream implementation that is used to write a stream of information into this data store.
- getSectorSize() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns the number of bytes that the user may store in a sector.
- getSectorUseCount() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns the number of sectors in the store that are being used (as opposed to being deleted).
- getServerErrorMsg() - Method in exception com.mckoi.database.jdbc.MSQLException
-
Returns the error message that generated this exception.
- getServerErrorStackTrace() - Method in exception com.mckoi.database.jdbc.MSQLException
-
Returns the server side stack trace for this error.
- getShort() - Method in interface com.mckoi.store.Area
- getShort() - Method in class com.mckoi.util.ByteBuffer
- getShort(byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Returns the short at the given offset of the byte array.
- getShort(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getShort(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getSingleCellContent(int) - Method in class com.mckoi.database.Table
-
If the given column contains all items of the same value, this method returns the value.
- getSingleCellContent(int[]) - Method in class com.mckoi.database.Table
-
If the given column contains all items of the same value, this method returns the value.
- getSingleRowTable() - Method in class com.mckoi.database.Database
-
Returns a static table that has a single row but no columns.
- getSize() - Method in class com.mckoi.database.DataTableColumnDef
- getSize() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns the size of the given field.
- getSize() - Method in class com.mckoi.database.global.StreamableObject
-
Returns the size of the object stream, or -1 if the size is unknown.
- getSize() - Method in class com.mckoi.database.TNumericType
-
Returns the size of the number (-1 is don't care).
- getSize() - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- getSize() - Method in class com.mckoi.util.IntegerVector
-
Returns the size of the vector.
- getSnapshotIndexSet() - Method in class com.mckoi.database.IndexStore
-
Returns a current snapshot of the current indexes that are committed in this store.
- getSource() - Method in class com.mckoi.database.TriggerEvent
-
Returns the source of this event.
- getSQLKeywords() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSQLStateType() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSqlType(TObject) - Static method in class com.mckoi.database.Caster
-
Get the SQL type for a database argument.
- getSQLType() - Method in class com.mckoi.database.DataTableColumnDef
- getSQLType() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns a value from java.sql.Type that is the SQL type defined for this column.
- getSQLType() - Method in class com.mckoi.database.TType
-
Returns the SQL type of this.
- getSQLTypeName() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns the name (as a string) of the SQL type or null if the type is not understood.
- getSqlTypes(TObject[]) - Static method in class com.mckoi.database.Caster
-
Get the SQL types for the given database arguments.
- getSQLTypeString() - Method in class com.mckoi.database.DataTableColumnDef
-
Returns the type as a String.
- getSQLXML(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getSQLXML(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getStart() - Method in class com.mckoi.database.SelectableRange
-
Returns the start of the range.
- getStartFlag() - Method in class com.mckoi.database.SelectableRange
-
Returns the place for the range to start (either FIRST_VALUE or AFTER_LAST_VALUE)
- getState() - Method in class com.mckoi.util.BigNumber
-
Returns the state of this number.
- getStatement() - Method in class com.mckoi.database.jdbc.MResultSet
- getStatementCache() - Method in class com.mckoi.database.DatabaseSystem
-
Returns the StatementCache that is used to cache StatementTree objects that are being queried by the database.
- getStreamableObjectPart(int, long, long, int) - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Returns a section of a large binary or character stream in a result set.
- getStreamableObjectPart(int, long, long, int) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
- getStrength() - Method in class com.mckoi.database.DataTableColumnDef
- getStrength() - Method in class com.mckoi.database.TStringType
-
Returns the strength of this string type as defined in java.text.Collator.
- getString() - Method in class com.mckoi.jfccontrols.Query
-
Returns the query string.
- getString(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getString(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getStringFunctions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- GetStringOperator() - Method in class com.mckoi.database.sql.SQL
- GetStringSQLType() - Method in class com.mckoi.database.sql.SQL
- GetSubQueryBooleanOperator() - Method in class com.mckoi.database.sql.SQL
- getSubQueryForm(int) - Method in class com.mckoi.database.Operator
-
Returns the ANY or ALL form of this operator.
- getSubQueryForm(String) - Method in class com.mckoi.database.Operator
-
Same as above only it handles the type as a string.
- getSubsetScheme(Table, int) - Method in class com.mckoi.database.SelectableScheme
-
Asks the Scheme for a SelectableScheme abject that describes a sub-set of the set handled by this Scheme.
- GetSuffix(int) - Method in class com.mckoi.database.sql.SimpleCharStream
- getSuperTables(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSuperTypes(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getSystem() - Method in class com.mckoi.database.Database
-
Returns the DatabaseSystem that this Database is from.
- getSystem() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the DatabaseSystem object for this connection.
- getSystem() - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns a TransactionSystem object that is used to determine information about the transactional system.
- getSystem() - Method in interface com.mckoi.database.QueryContext
-
Returns a TransactionSystem object that is used to determine information about the transactional system.
- getSystem() - Method in class com.mckoi.database.SelectableScheme
-
Returns the global transaction system.
- getSystem() - Method in class com.mckoi.database.SimpleTransaction
-
Returns the TransactionSystem that this Transaction is part of.
- getSystem() - Method in class com.mckoi.database.Table
-
Returns the TransactionSystem object that this table is part of.
- getSystem() - Method in class com.mckoi.database.TableDataConglomerate
-
Returns the TransactionSystem that this conglomerate is part of.
- getSystem() - Method in interface com.mckoi.database.TableDataSource
-
Returns the TransactionSystem object that describes global properties about the data source that generated this object.
- getSystemFunctions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getTable() - Method in class com.mckoi.database.SelectableScheme
-
Returns the Table.
- getTable(int) - Method in class com.mckoi.database.JoiningSet
-
Returns table 'n' in the result set where table 0 is the first table in the join set.
- getTable(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Returns a DataTable that represents the table from the given schema, name in the database.
- getTable(TableName) - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns a DataTable from the database with the given table name.
- getTable(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns a MutableTableDataSource object that represents the table with the given name within this transaction.
- getTable(String) - Method in class com.mckoi.database.DatabaseConnection
-
Returns a DataTable that represents the table with the given name in the database from the current connection schema.
- getTableAccessState() - Method in class com.mckoi.database.Table
-
This returns an object that can only access the cells that are in this table, and has no other access to the 'Table' class's functionality.
- getTableClass() - Method in class com.mckoi.database.DataTableDef
- getTableCount() - Method in class com.mckoi.database.JoiningSet
-
Returns the number of tables that are in this set.
- getTableDataSource(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns a TableDataSource object that represents the table with the given name within this transaction.
- getTableList() - Method in class com.mckoi.database.DatabaseConnection
-
Returns a TableName[] array that contains the list of database tables that are visible by this transaction.
- getTableList() - Method in class com.mckoi.database.SimpleTransaction
-
Returns a list of table names that are visible within this transaction.
- getTableList() - Method in class com.mckoi.database.TableDescriptions
-
Returns a list of table name's sorted in alphebetical order.
- getTableName() - Method in class com.mckoi.database.AbstractDataTable
-
Returns the fully resolved table name.
- getTableName() - Method in class com.mckoi.database.DataTableDef
- getTableName() - Method in class com.mckoi.database.ReferenceTable
-
Filters the name of the table.
- getTableName() - Method in class com.mckoi.database.TableCommitModificationEvent
-
Returns the name of the table.
- getTableName() - Method in class com.mckoi.database.TableModificationEvent
-
Returns the name of the table of this modification.
- getTableName() - Method in class com.mckoi.database.Variable
-
Returns the TableName context.
- getTableName(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- getTablePrivileges(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getTableQueryDef(TableName, TableName) - Method in class com.mckoi.database.DatabaseConnection
-
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).
- getTables(String, String, String, String[]) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getTableSelectExpression() - Method in class com.mckoi.database.interpret.FromTableDef
-
Returns the TableSelectExpression if this is a subquery table.
- GetTableSelectExpression() - Method in class com.mckoi.database.sql.SQL
- getTableType(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Returns the type of the table object.
- getTableType(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns the type of the table object with the given name.
- getTableTypes() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getTime(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getTime(int, Calendar) - Method in class com.mckoi.database.jdbc.MResultSet
- getTime(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getTime(String, Calendar) - Method in class com.mckoi.database.jdbc.MResultSet
- getTimeConnected() - Method in class com.mckoi.database.User
-
Returns the time the user connected.
- getTimeDateFunctions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getTimestamp(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getTimestamp(int, Calendar) - Method in class com.mckoi.database.jdbc.MResultSet
- getTimestamp(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getTimestamp(String, Calendar) - Method in class com.mckoi.database.jdbc.MResultSet
- getToken(int) - Method in class com.mckoi.database.sql.SQL
- getTransaction() - Method in class com.mckoi.database.TableCommitModificationEvent
-
Returns the Transaction that represents the view of the database when the changes to the table have been committed.
- getTransactionIsolation() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the transaction isolation level of this connection.
- getTransactionIsolation() - Method in class com.mckoi.database.jdbc.MConnection
- getTransactionIsolationAsString() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the transaction isolation level of this connection as a string.
- getTriggerManager() - Method in class com.mckoi.database.Database
-
Returns the system trigger manager.
- getTType() - Method in class com.mckoi.database.DataTableColumnDef
-
Returns the TType for this column.
- getTType() - Method in class com.mckoi.database.TObject
-
Returns the type of this object.
- GetTType() - Method in class com.mckoi.database.sql.SQL
- getTTypeForColumn(int) - Method in class com.mckoi.database.Table
-
Returns a TType object that would represent values at the given column index.
- getTTypeForColumn(Variable) - Method in class com.mckoi.database.Table
-
Returns a TType object that would represent values in the given column.
- getType() - Method in class com.mckoi.database.DataIndexDef
-
Returns a String that describes the type of index this is.
- getType() - Method in class com.mckoi.database.FunctionFactory.FF_FunctionInfo
- getType() - Method in interface com.mckoi.database.FunctionInfo
-
The type of function, either STATIC, AGGREGATE or STATE_BASED (eg.
- getType() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns an integer representing the type of the field.
- getType() - Method in interface com.mckoi.database.global.Ref
-
The type of large object that is being referenced.
- getType() - Method in class com.mckoi.database.global.StreamableObject
-
Returns the type of object this stub represents.
- getType() - Method in class com.mckoi.database.jdbc.MResultSet
- getType() - Method in class com.mckoi.database.SchemaDef
-
Returns the type of this schema.
- getType() - Method in class com.mckoi.database.TableModificationEvent
-
Returns the event type.
- getType() - Method in exception com.mckoi.database.TransactionException
-
Returns the type of transaction error this is.
- getType() - Method in class com.mckoi.database.TriggerEvent
-
Returns the type of this event.
- getTypeInfo() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getTypeMap() - Method in class com.mckoi.database.jdbc.MConnection
- getUDTs(String, String, String, int[]) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getUnicodeStream(int) - Method in class com.mckoi.database.jdbc.MResultSet
-
Deprecated.
- getUnicodeStream(String) - Method in class com.mckoi.database.jdbc.MResultSet
-
Deprecated.
- getUniqueGroup() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns the unique group that this column is in.
- getUniqueKey() - Method in class com.mckoi.database.interpret.FromTableDef
-
Returns the unique key.
- getUniqueKey() - Method in class com.mckoi.database.interpret.FromTableSubQuerySource
-
Returns the unique name of this source.
- getUniqueName() - Method in class com.mckoi.database.interpret.FromTableDirectSource
- getUniqueName() - Method in interface com.mckoi.database.interpret.FromTableInterface
-
Returns a unique name given to this table source.
- getUniqueName() - Method in class com.mckoi.database.interpret.FromTableSubQuerySource
- getUpdateRule() - Method in class com.mckoi.database.interpret.ConstraintDef
-
Returns the update rule if this is a foreign key reference.
- getURL() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getURL(int) - Method in class com.mckoi.database.jdbc.MResultSet
- getURL(String) - Method in class com.mckoi.database.jdbc.MResultSet
- getUser() - Method in class com.mckoi.database.DatabaseConnection
-
Returns the User object for this connection.
- getUser() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Returns the User object for this connection.
- getUserManager() - Method in class com.mckoi.database.Database
-
Returns the system user manager.
- getUserName() - Method in class com.mckoi.database.DatabaseQueryContext
-
Returns the user name of the connection.
- getUserName() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getUserName() - Method in interface com.mckoi.database.QueryContext
-
Returns the user name of the connection.
- getUserName() - Method in class com.mckoi.database.User
-
Returns the name of the user.
- getValue(String) - Method in class com.mckoi.database.control.AbstractDBConfig
- getValue(String) - Method in interface com.mckoi.database.control.DBConfig
-
Returns the value that was set for the configuration property with the given name.
- getValueAt(int, int) - Method in class com.mckoi.jfccontrols.ResultSetTableModel
- getVar(int, int, Object) - Method in class com.mckoi.database.SimpleTableQuery
-
Assuming the table stores a key/value mapping, this returns the contents of value_column for any rows where key_column is equal to the key_value.
- getVariable() - Method in class com.mckoi.database.Assignment
-
Returns the variable for this assignment.
- getVariable() - Method in class com.mckoi.database.CorrelatedVariable
-
Returns the wrapped Variable.
- getVariable() - Method in class com.mckoi.database.Expression
-
Returns the Variable if this expression evaluates to a single variable, otherwise returns null.
- getVariableResolver(int) - Method in interface com.mckoi.database.GroupResolver
-
Returns a VariableResolver that can be used to resolve variable in the get set of the group.
- getVars() - Method in class com.mckoi.database.jdbc.SQLQuery
-
Returns the array of all objects that are to be used as substitutions for '?' in the query.
- getVersionColumns(String, String, String) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- getVisibleTable(int) - Method in class com.mckoi.database.SimpleTransaction
-
Returns a MasterTableDataSource object representing table 'n' in the set of tables visible in this transaction.
- getVisibleTableCount() - Method in class com.mckoi.database.SimpleTransaction
-
Returns the number of visible tables being managed by this transaction.
- getVisibleTables() - Method in class com.mckoi.database.SimpleTransaction
-
Returns a list of all visible tables.
- getWarnings() - Method in class com.mckoi.database.jdbc.MConnection
- getWarnings() - Method in class com.mckoi.database.jdbc.MResultSet
- getWarnings() - Method in interface com.mckoi.database.jdbc.QueryResponse
-
Returns any warnings about the query.
- getWidestType(TType, TType) - Static method in class com.mckoi.database.TType
-
Assuming that the two types are numeric types, this will return the 'widest' of the two types.
- getWriteTables(DatabaseConnection) - Method in interface com.mckoi.database.DatabaseProcedure
-
Returns a DataTable[] array that lists the DataTables that are written to during this procedure.
- GLOB_LIST - Static variable in class com.mckoi.database.FunctionFactory
-
Represents a function argument * for glob's such as 'count(*)'
- glob_name - Variable in class com.mckoi.database.interpret.SelectColumn
-
If the column represents a glob of columns (eg.
- GLOBVARIABLE - Static variable in interface com.mckoi.database.sql.SQLConstants
- GR - Static variable in interface com.mckoi.database.sql.SQLConstants
- Grant() - Method in class com.mckoi.database.sql.SQL
- GRANT - Static variable in interface com.mckoi.database.sql.SQLConstants
- grantHostAccessToUser(DatabaseQueryContext, String, String, String) - Method in class com.mckoi.database.Database
-
Grants the given user access to connect to the database from the given host address.
- GrantManager - Class in com.mckoi.database
-
A class that manages the grants on a database for a given database connection and user.
- GREQ - Static variable in interface com.mckoi.database.sql.SQLConstants
- group_by - Variable in class com.mckoi.database.interpret.TableSelectExpression
-
The list of columns to group by.
- group_max - Variable in class com.mckoi.database.interpret.TableSelectExpression
-
The group max variable or null if no group max.
- GROUPBY - Static variable in interface com.mckoi.database.sql.SQLConstants
- groupID() - Method in interface com.mckoi.database.GroupResolver
-
A number that uniquely identifies this group from all the others in the set of groups.
- GROUPMAX - Static variable in interface com.mckoi.database.sql.SQLConstants
- GroupMaxColumn() - Method in class com.mckoi.database.sql.SQL
-
NOTE: This is an extension, allows for us to specify a column to return the max value for each row representing a group.
- GroupNode(QueryPlanNode, Variable[], Variable, Expression[], String[]) - Constructor for class com.mckoi.database.QueryPlan.GroupNode
-
Groups over the given columns from the child.
- GroupNode(QueryPlanNode, Variable, Expression[], String[]) - Constructor for class com.mckoi.database.QueryPlan.GroupNode
-
Groups over the entire child (always ends in 1 result in set).
- GroupResolver - Interface in com.mckoi.database
-
Similar to VariableResolver, this method is used by grouping Functions to find information about the current group being evaluated (used for evaluating aggregate functions).
- groupRows(int) - Method in class com.mckoi.database.FunctionTable
-
Returns an IntegerVector that represents the list of all rows in the group the index is at.
- GROUPS - Static variable in interface com.mckoi.database.sql.SQLConstants
- groupSize(int) - Method in class com.mckoi.database.FunctionTable
-
The size of the group with the given number.
- groupsUserBelongsTo(DatabaseQueryContext, String) - Method in class com.mckoi.database.Database
-
Returns the list of all user groups the user belongs to.
- GTPrivMapDataSource - Class in com.mckoi.database
-
A GTDataSource that maps a Privs 11-bit set to strings that represent the priv in human understandable string.
- GTPrivMapDataSource(DatabaseConnection) - Constructor for class com.mckoi.database.GTPrivMapDataSource
-
Constructor.
- GTSQLTypeInfoDataSource - Class in com.mckoi.database
-
A GTDataSource that models all SQL types that are available.
- GTSQLTypeInfoDataSource(DatabaseConnection) - Constructor for class com.mckoi.database.GTSQLTypeInfoDataSource
-
Constructor.
H
- handleExecuteThrowable(Throwable, SQLQuery) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
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.
- hardSynch() - Method in class com.mckoi.database.FixedSizeDataStore
-
Performs a hard synchronization of this store.
- hardSynch() - Method in class com.mckoi.database.IndexStore
-
Performs a hard synchronization of this index store.
- hardSynch() - Method in class com.mckoi.database.VariableSizeDataStore
-
Hard synchronizes the data from memory into the hard copy on disk.
- hasAggregateFunction(QueryContext) - Method in class com.mckoi.database.Expression
-
Cascades through the expression and if any aggregate functions are found returns true, otherwise returns false.
- hasChanged() - Method in class com.mckoi.util.IntegerListBlockInterface
-
Returns true if this store has been modified.
- hashCode() - Method in class com.mckoi.database.ProcedureName
-
The hash key.
- hashCode() - Method in class com.mckoi.database.TableName
-
Hash code.
- hashCode() - Method in class com.mckoi.database.Variable
-
Hash code.
- HashMapList - Class in com.mckoi.util
-
A HashMap that maps from a source to a list of items for that source.
- HashMapList() - Constructor for class com.mckoi.util.HashMapList
-
Constructs the map.
- hasMoreRows() - Method in interface com.mckoi.database.RowEnumeration
-
Determines if there are any rows left in the enumeration.
- hasMoreRows() - Method in class com.mckoi.database.SimpleRowEnumeration
- hasNext() - Method in interface com.mckoi.util.IntegerIterator
-
Returns true if this list iterator has more elements when traversing the list in the forward direction.
- hasPrevious() - Method in interface com.mckoi.util.IntegerIterator
-
Returns true if this list iterator has more elements when traversing the list in the reverse direction.
- hasRootsLocked() - Method in class com.mckoi.database.CompositeTable
- hasRootsLocked() - Method in class com.mckoi.database.DataTable
-
Returns true if the table has its row roots locked (via the lockRoot(int) method.
- hasRootsLocked() - Method in class com.mckoi.database.DataTableFilter
-
Returns true if the table has its row roots locked (via the lockRoot(int) method.
- hasRootsLocked() - Method in class com.mckoi.database.FilterTable
-
Returns true if the table has its row roots locked (via the lockRoot(int) method.
- hasRootsLocked() - Method in class com.mckoi.database.FunctionTable
-
Returns true if the table has its row roots locked (via the lockRoot(int) method.
- hasRootsLocked() - Method in class com.mckoi.database.JoinedTable
-
Returns true if the table has its row roots locked (via the lockRoot(int) method.
- hasRootsLocked() - Method in class com.mckoi.database.Table
-
Returns true if the table has its row roots locked (via the lockRoot(int) method.
- hasRootsLocked() - Method in class com.mckoi.database.TemporaryTable
-
Returns true if the table has its row roots locked (via the lockRoot(int) method.
- hasShutDown() - Method in class com.mckoi.database.Database
-
Returns true if the database has shut down.
- hasSubQuery() - Method in class com.mckoi.database.Expression
-
Returns true if the expression has a subquery (eg 'in ( select ...
- HAVING - Static variable in interface com.mckoi.database.sql.SQLConstants
- having_clause - Variable in class com.mckoi.database.interpret.TableSelectExpression
-
The having clause.
- header_buf - Variable in class com.mckoi.store.AbstractStore
- HeapStore - Class in com.mckoi.store
-
An implementation of the Store interface that persists information in the volatile JVM heap memory.
- HeapStore() - Constructor for class com.mckoi.store.HeapStore
-
Defaults heap size to 257 elements.
- HeapStore(int) - Constructor for class com.mckoi.store.HeapStore
-
Creates the HeapStore.
- HOURS - Static variable in class com.mckoi.util.TimeFrame
-
Formatting enum.
I
- IDENTICAL_STRENGTH - Static variable in interface com.mckoi.database.sql.SQLConstants
- IDENTIFIER - Static variable in interface com.mckoi.database.sql.SQLConstants
- IF - Static variable in interface com.mckoi.database.sql.SQLConstants
- IGNORE - Static variable in interface com.mckoi.database.sql.SQLConstants
- ignoreIdentifierCase() - Method in class com.mckoi.database.TransactionSystem
-
Returns true if the parser should ignore case when searching for schema/table/column identifiers.
- image - Variable in class com.mckoi.database.sql.Token
-
The string image of the token.
- IMMEDIATE - Static variable in interface com.mckoi.database.sql.SQLConstants
- immutable() - Method in class com.mckoi.database.DataTableDef
-
Returns true if this is immutable.
- immutableCopy() - Method in class com.mckoi.database.control.AbstractDBConfig
- immutableCopy() - Method in interface com.mckoi.database.control.DBConfig
-
Makes an immutable copy of this configuration.
- implode(List, String) - Static method in class com.mckoi.util.StringUtil
-
This is the inverse of 'explode'.
- IN - Static variable in interface com.mckoi.database.sql.SQLConstants
- increaseSize() - Method in class com.mckoi.database.FixedRecordList
-
Increases the size of the list structure so it may accomodate more record entries.
- increment(String) - Method in class com.mckoi.util.Stats
-
Increments a stat property.
- INCREMENT - Static variable in interface com.mckoi.database.sql.SQLConstants
- index - Variable in class com.mckoi.util.IntegerVector
-
The index of the last value of the array.
- INDEX - Static variable in interface com.mckoi.database.sql.SQLConstants
- INDEX_BLIST - Static variable in interface com.mckoi.database.sql.SQLConstants
- INDEX_NONE - Static variable in interface com.mckoi.database.sql.SQLConstants
- indexAt(int) - Method in class com.mckoi.database.DataIndexSetDef
-
Returns the DataIndexDef at the given index in this list.
- IndexComparator - Interface in com.mckoi.util
-
A comparator that is used within BlockIntegerList that compares two int values which are indices to data that is being compared.
- indexCount() - Method in class com.mckoi.database.DataIndexSetDef
-
Returns the total number of index in this table.
- IndexName() - Method in class com.mckoi.database.sql.SQL
- indexOf(int) - Method in class com.mckoi.util.IntegerVector
-
Returns the first index of the given row in the array, or -1 if not found.
- indexOfVar(String) - Method in class com.mckoi.util.StringListBucket
-
Returns the index of the given string in the bucket, or -1 if not found.
- IndexSet - Interface in com.mckoi.database
-
A set of list of indexes.
- IndexStore - Class in com.mckoi.database
-
A class that manages the storage of a set of transactional index lists in a way that is fast to modify.
- IndexStore(File, DebugLogger) - Constructor for class com.mckoi.database.IndexStore
-
Constructs the IndexStore.
- indexWithName(String) - Method in class com.mckoi.database.DataIndexSetDef
-
Returns the DataIndexDef with the given name or null if it couldn't be found.
- INFORMATION - Static variable in class com.mckoi.debug.Debug
-
Deprecated.Some sample debug levels.
- INFORMATION - Static variable in interface com.mckoi.debug.Lvl
-
Some sample debug levels.
- init() - Method in class com.mckoi.database.Database
-
Initializes the database.
- init() - Method in class com.mckoi.database.FunctionFactory
-
Initializes this FunctionFactory.
- init() - Method in class com.mckoi.database.GTSQLTypeInfoDataSource
-
Initialize the data source.
- init() - Method in class com.mckoi.database.IndexStore
-
Initializes the IndexStore.
- init(long) - Method in class com.mckoi.database.FixedRecordList
-
Initializes the structure from the store.
- init(DBConfig) - Method in class com.mckoi.database.DatabaseSystem
-
Inits the DatabaseSystem with the configuration properties of the system.
- init(DBConfig) - Method in class com.mckoi.database.TransactionSystem
-
Inits the TransactionSystem with the configuration properties of the system.
- init(DatabaseConnection, StatementTree, SQLQuery) - Method in class com.mckoi.database.interpret.Statement
-
Sets up internal variables for this statement for derived classes to use.
- init(Table[]) - Method in class com.mckoi.database.JoinedTable
-
Helper function for initializing the variables in the joined table.
- init(Table[]) - Method in class com.mckoi.database.VirtualTable
-
Helper function for the constructor.
- init(User, DatabaseConnection) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Initializes this database interface with a User and DatabaseConnection object.
- init(VariableResolver) - Method in class com.mckoi.database.AbstractFunction
-
The init function.
- initAgent(Connection) - Static method in class com.mckoi.jfccontrols.QueryAgent
-
Initialises the QueryAgent with the given JDBC Connection.
- INITIALLY - Static variable in interface com.mckoi.database.sql.SQLConstants
- INITIALLY_DEFERRED - Static variable in class com.mckoi.database.Transaction
-
The type of deferrance.
- INITIALLY_IMMEDIATE - Static variable in class com.mckoi.database.Transaction
- initTTypeInfo() - Method in class com.mckoi.database.DataTableColumnDef
-
Initializes the TType information for a column.
- INNER - Static variable in interface com.mckoi.database.sql.SQLConstants
- INNER_JOIN - Static variable in class com.mckoi.database.JoiningSet
-
Statics for Join Types.
- insert(int) - Method in class com.mckoi.database.BlindSearch
-
This scheme doesn't take any notice of insertions or removals.
- insert(int) - Method in class com.mckoi.database.CollatedBaseSearch
-
This scheme doesn't take any notice of insertions or removals.
- insert(int) - Method in class com.mckoi.database.InsertSearch
-
Inserts a row into the list.
- Insert - Class in com.mckoi.database.interpret
-
The instance class that stores all the information about an insert statement for processing.
- Insert() - Constructor for class com.mckoi.database.interpret.Insert
- Insert() - Method in class com.mckoi.database.sql.SQL
- INSERT - Static variable in class com.mckoi.database.Privileges
-
The priv to INSERT to a database object.
- INSERT - Static variable in interface com.mckoi.database.sql.SQLConstants
- INSERT - Static variable in class com.mckoi.database.TableModificationEvent
-
Event type for insert action.
- INSERT - Static variable in class com.mckoi.database.TriggerEvent
-
Statics that represent the different types of high layer trigger events.
- InsertDataList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- InsertElement() - Method in class com.mckoi.database.sql.SQL
- InsertExpressionList() - Method in class com.mckoi.database.sql.SQL
- insertIntAt(int, int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Inserts an int at the given position.
- insertIntAt(int, int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Inserts an int at the given position.
- insertIntAt(int, int) - Method in class com.mckoi.util.IntegerVector
-
Inserts an int at the given position.
- insertRow() - Method in class com.mckoi.database.jdbc.MResultSet
- insertsAreDetected(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- InsertSearch - Class in com.mckoi.database
-
This is a SelectableScheme similar in some ways to the binary tree.
- InsertSearch(TableDataSource, int) - Constructor for class com.mckoi.database.InsertSearch
-
The Constructor.
- InsertSearch(TableDataSource, int, IntegerVector) - Constructor for class com.mckoi.database.InsertSearch
-
Constructor sets the scheme with a pre-sorted list.
- insertSort(int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Inserts plain 'int' values into the list in sorted order.
- insertSort(int) - Method in interface com.mckoi.util.IntegerListInterface
-
Inserts plain 'int' values into the list in sorted order.
- insertSort(Object, int, IndexComparator) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Inserts the key/index pair into the list at the correct sorted position (determine by the IndexComparator).
- insertSort(Object, int, IndexComparator) - Method in interface com.mckoi.util.IntegerListInterface
-
Inserts the key/index pair into the list at the correct sorted position (determine by the IndexComparator).
- INT - Static variable in interface com.mckoi.database.sql.SQLConstants
- IntArrayListBlock() - Constructor for class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Blank protected constructor.
- IntArrayListBlock(int) - Constructor for class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Constructs the block to a specific size.
- intAt(int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Returns the int at the given position in the array.
- intAt(int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Returns the int at the given position in the array.
- intAt(int) - Method in class com.mckoi.util.IntegerVector
-
Returns the Int at the given position.
- INTEGER - Static variable in interface com.mckoi.database.global.SQLTypes
- INTEGER - Static variable in interface com.mckoi.database.sql.SQLConstants
- IntegerIterator - Interface in com.mckoi.util
-
An iterator for a list of integer's.
- IntegerListBlockInterface - Class in com.mckoi.util
-
A block of an AbstractBlockIntegerList.
- IntegerListBlockInterface() - Constructor for class com.mckoi.util.IntegerListBlockInterface
- IntegerListInterface - Interface in com.mckoi.util
-
An interface for querying and accessing a list of primitive integers.
- IntegerVector - Class in com.mckoi.util
-
Similar to the Vector class, except this can only store integer values.
- IntegerVector() - Constructor for class com.mckoi.util.IntegerVector
-
The Constructors.
- IntegerVector(int) - Constructor for class com.mckoi.util.IntegerVector
- IntegerVector(IntegerListInterface) - Constructor for class com.mckoi.util.IntegerVector
- IntegerVector(IntegerVector) - Constructor for class com.mckoi.util.IntegerVector
- internal_name - Variable in class com.mckoi.database.interpret.SelectColumn
-
The name of this column used internally to reference it.
- INTERNAL_SECURE_USERNAME - Static variable in class com.mckoi.database.Database
-
The username of the internal secure user.
- internalClose() - Method in class com.mckoi.database.jdbc.MConnection
-
Closes this connection by calling the 'dispose' method in the database interface.
- internalClose() - Method in class com.mckoi.store.AbstractStore
-
Internally closes the backing area.
- internalClose() - Method in class com.mckoi.store.JournalledFileStore
-
Internally closes the backing area.
- internalDispose() - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
-
Disposes all resources associated with this object.
- internalOpen(boolean) - Method in class com.mckoi.store.AbstractStore
-
Internally opens the backing area.
- internalOpen(boolean) - Method in class com.mckoi.store.JournalledFileStore
-
Internally opens the backing area.
- internalOrderIndexSet(IntegerVector) - Method in class com.mckoi.database.SelectableScheme
-
Returns a BlockIntegerList that represents the given row_set sorted in the order of this scheme.
- intersect(Operator, TObject) - Method in class com.mckoi.database.SelectableRangeSet
-
Intersects this range with the given Operator and value constraint.
- INTERSECT - Static variable in class com.mckoi.database.CompositeTable
-
The composite function for finding the interestion of the tables.
- INTERSECT - Static variable in interface com.mckoi.database.sql.SQLConstants
- INTO - Static variable in interface com.mckoi.database.sql.SQLConstants
- intVal(int) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of numeric type that represents the given int value.
- intValue() - Method in class com.mckoi.util.BigNumber
-
Returns this big number as an int.
- inverse() - Method in class com.mckoi.database.Operator
-
Returns the inverse operator of this operator.
- invoke(ProcedureConnection, String) - Static method in class com.mckoi.database.procedure.SystemBackup
-
The stored procedure invokation method.
- invokeProcedure(ProcedureName, TObject[]) - Method in class com.mckoi.database.ProcedureManager
-
Invokes the procedure with the given name and the given parameters and returns the procedure return value.
- is(String) - Method in class com.mckoi.database.Operator
-
Returns true if this operator is equal to the operator string.
- IS - Static variable in interface com.mckoi.database.sql.SQLConstants
- isAfter() - Method in class com.mckoi.database.TableModificationEvent
-
Returns true if this is a AFTER event.
- isAfterLast() - Method in class com.mckoi.database.jdbc.MResultSet
- isAggregate(FunctionDef) - Method in class com.mckoi.database.FunctionFactory
-
Returns true if the function defined by FunctionDef is an aggregate function, or false otherwise.
- isAggregate(FunctionDef) - Method in interface com.mckoi.database.FunctionLookup
-
Returns true if the function defined by FunctionDef is an aggregate function, or false otherwise.
- isAggregate(QueryContext) - Method in class com.mckoi.database.AbstractFunction
-
Returns whether the function is an aggregate function or not.
- isAggregate(QueryContext) - Method in interface com.mckoi.database.Function
-
Returns true if this function is an aggregate function.
- isAggregate(QueryContext) - Method in class com.mckoi.database.FunctionDef
-
Returns true if this function is an aggregate, or the parameters are aggregates.
- isAutoIncrement(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isBefore() - Method in class com.mckoi.database.TableModificationEvent
-
Returns true if this is a BEFORE event.
- isBeforeFirst() - Method in class com.mckoi.database.jdbc.MResultSet
- isBooted() - Method in interface com.mckoi.database.jdbc.LocalBootable
-
Returns true if there is a database currently booted in the current JVM.
- isBooted() - Method in class com.mckoi.database.jdbcserver.DefaultLocalBootable
-
Returns true if a database has successfully been booted in this JVM.
- isCaseInsensitiveIdentifiers() - Method in class com.mckoi.database.jdbc.MConnection
-
Returns true if the database has case insensitive identifiers.
- isCaseSensitive(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isCatalogAtStart() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- isClosed() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns true if the store is closed.
- isClosed() - Method in class com.mckoi.database.jdbc.MConnection
- isClosed() - Method in class com.mckoi.database.jdbc.MResultSet
- isClosed() - Method in class com.mckoi.database.TableDataConglomerate
-
Returns true if the conglomerate is closed.
- isCompressed(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns true if the given record is compressed.
- isCondition() - Method in class com.mckoi.database.Operator
- isConstant() - Method in class com.mckoi.database.Expression
-
Returns true if the expression doesn't include any variables or non constant functions (is constant).
- isCurrency(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isDefinitelyWritable(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isDelete() - Method in class com.mckoi.database.TableModificationEvent
-
Returns true if this is an DELETE event.
- isDynamicTable(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
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.
- isDynamicTable(TableName) - Method in class com.mckoi.database.Transaction
-
Returns true if the given table name represents a dynamically generated system table.
- isEmpty() - Method in class com.mckoi.database.Privileges
-
Returns true if this Privileges object contains no priv entries.
- isEmpty() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Returns true if the block is empty.
- isEmpty() - Method in class com.mckoi.util.IntegerListBlockInterface
-
Returns true if the block is empty.
- isFirst() - Method in class com.mckoi.database.jdbc.MResultSet
- isFull() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Returns true if the block is full.
- isFull() - Method in class com.mckoi.util.IntegerListBlockInterface
-
Returns true if the block is full.
- isGlob() - Method in class com.mckoi.database.AbstractFunction
-
Returns true if the param is the special case glob parameter (*).
- isImmutable() - Method in class com.mckoi.database.SelectableScheme
-
Returns true if this scheme is immutable.
- isImmutable() - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Returns true if this interface is immutable.
- isImmutable() - Method in interface com.mckoi.util.IntegerListInterface
-
Returns true if this interface is immutable.
- isInCaseInsensitiveMode() - Method in class com.mckoi.database.DatabaseConnection
-
Returns true if the connection is in case insensitive mode.
- isIndexableType() - Method in class com.mckoi.database.DataTableColumnDef
-
Returns true if this type of column is able to be indexed.
- isInExclusiveMode() - Method in class com.mckoi.database.LockingMechanism
-
Returns true if we are locked into exclusive mode.
- isInitialized() - Method in class com.mckoi.database.Database
-
Returns true if the database is initialised.
- isInsert() - Method in class com.mckoi.database.TableModificationEvent
-
Returns true if this is an INSERT event.
- isInterestedIn(int) - Static method in class com.mckoi.debug.Debug
-
Deprecated.Queries the current debug level.
- isInterestedIn(int) - Method in interface com.mckoi.debug.DebugLogger
-
Queries the current debug level.
- isInterestedIn(int) - Method in class com.mckoi.debug.DefaultDebugLogger
- isLast() - Method in class com.mckoi.database.jdbc.MResultSet
- isLogical() - Method in class com.mckoi.database.Operator
- isMathematical() - Method in class com.mckoi.database.Operator
- isNot() - Method in class com.mckoi.database.Operator
- isNoTime() - Method in class com.mckoi.util.TimeFrame
-
Returns true if this time frame represents no time.
- isNotInversible() - Method in class com.mckoi.database.Operator
-
Returns true if this operator is not inversible.
- isNotNull() - Method in class com.mckoi.database.DataTableColumnDef
- isNotNull() - Method in class com.mckoi.database.global.ColumnDescription
-
Determines whether the field can contain a null value or not.
- isNotNull() - Method in class com.mckoi.database.interpret.ColumnDef
-
Returns true if this column has the not null constraint set for it.
- isNull() - Method in class com.mckoi.database.TObject
-
Returns true if the object is null.
- isNullable(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isNumericType() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns true if this column is a numeric type.
- isPattern() - Method in class com.mckoi.database.Operator
- isPrimaryKey() - Method in class com.mckoi.database.interpret.ColumnDef
-
Returns true if this column has a primary key constraint set on it.
- isQuantifiable() - Method in class com.mckoi.database.global.ColumnDescription
-
Returns true if the type of the field is searchable.
- isReadOnly() - Method in class com.mckoi.database.Database
-
Returns true if this database is in read only mode.
- isReadOnly() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns true if the store has been opened in read only mode.
- isReadOnly() - Method in class com.mckoi.database.IndexStore
-
Returns true if this store is read only.
- isReadOnly() - Method in class com.mckoi.database.jdbc.MConnection
- isReadOnly() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- isReadOnly() - Method in class com.mckoi.database.SimpleTransaction
-
Returns true if the transaction is read-only, otherwise returns false.
- isReadOnly() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns true if the store was openned in read only mode.
- isReadOnly(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isSearchable(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isSectorDeleted(int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns true if the sector number is flagged as deleted.
- isSigned(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isSorted() - Method in class com.mckoi.util.IntegerVector
-
Test routine to check vector is sorted.
- isStrictGetObject() - Method in class com.mckoi.database.jdbc.MConnection
-
Returns true if strict get object is enabled (default).
- isSubQuery() - Method in class com.mckoi.database.Operator
- isSubQueryForm(int) - Method in class com.mckoi.database.Operator
-
Given a parameter of either NONE, ANY, ALL or SINGLE, this returns true if this operator is of the given type.
- isSubQueryTable() - Method in class com.mckoi.database.interpret.FromTableDef
-
Returns true if this item in the FROM clause is a subquery table.
- isUnique() - Method in class com.mckoi.database.global.ColumnDescription
-
Determines whether the field can contain two items that are identical.
- isUnique() - Method in class com.mckoi.database.interpret.ColumnDef
-
Returns true if this column has the unique constraint set for it.
- isUniqueIndex() - Method in class com.mckoi.database.DataIndexDef
-
Returns true if this is a unique index.
- isUpdate() - Method in class com.mckoi.database.TableModificationEvent
-
Returns true if this is an UPDATE event.
- isValid(int) - Method in class com.mckoi.database.jdbc.MConnection
- isValidBoundarySize(long) - Static method in class com.mckoi.store.AbstractStore
-
Returns true if the given area size is valid.
- isWrapperFor(Class) - Method in class com.mckoi.database.jdbc.MConnection
- isWrapperFor(Class) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- isWrapperFor(Class) - Method in class com.mckoi.database.jdbc.MResultSet
- isWrapperFor(Class) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- isWritable(int) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- iterativeSearch(int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Performs an iterative search through the int values in the list.
- iterativeSearch(int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Performs an iterative search through the int values in the list.
- iterativeSearch(int, int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Performs an iterative search from the given position to the end of the list in the block.
- iterativeSearch(int, int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Performs an iterative search from the given position to the end of the list in the block.
- iterator() - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Returns an IntegerIterator that will walk from the start to the end this list.
- iterator() - Method in interface com.mckoi.util.IntegerListInterface
-
Returns an IntegerIterator that will walk from the start to the end this list.
- iterator(int, int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Returns an IntegerIterator that will walk from the start offset (inclusive) to the end offset (inclusive) of this list.
- iterator(int, int) - Method in interface com.mckoi.util.IntegerListInterface
-
Returns an IntegerIterator that will walk from the start offset (inclusive) to the end offset (inclusive) of this list.
J
- JAVA - Static variable in interface com.mckoi.database.sql.SQLConstants
- JAVA_OBJECT - Static variable in interface com.mckoi.database.global.SQLTypes
- JAVA_OBJECT - Static variable in interface com.mckoi.database.sql.SQLConstants
- JAVA_OBJECT_ARRAY_REF - Static variable in interface com.mckoi.database.sql.SQLConstants
- JAVA_TYPE_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
Java type constraint violation error code (tried to insert a Java object that wasn't derived from the java object type defined for the column).
- javaClass() - Method in class com.mckoi.database.TArrayType
- javaClass() - Method in class com.mckoi.database.TBinaryType
- javaClass() - Method in class com.mckoi.database.TBooleanType
- javaClass() - Method in class com.mckoi.database.TDateType
- javaClass() - Method in class com.mckoi.database.TJavaObjectType
- javaClass() - Method in class com.mckoi.database.TNullType
- javaClass() - Method in class com.mckoi.database.TNumericType
- javaClass() - Method in class com.mckoi.database.TQueryPlanType
- javaClass() - Method in class com.mckoi.database.TStringType
- javaClass() - Method in class com.mckoi.database.TType
-
Returns the Java Class that is used to represent this type of object.
- JavaInstantiation() - Method in class com.mckoi.database.sql.SQL
- javaObjectType(String) - Static method in class com.mckoi.database.TType
-
Returns a TBinaryType constrained for the given class.
- javaProcedureMethod(String, TType[]) - Static method in class com.mckoi.database.ProcedureManager
-
Given a Java location_str and a list of parameter types, returns an immutable 'Method' object that can be used to invoke a Java stored procedure.
- JavaRegex - Class in com.mckoi.database.regexbridge
-
A bridge to the internal Java regular expression library that was introduced in Java 1.4.
- JavaRegex() - Constructor for class com.mckoi.database.regexbridge.JavaRegex
- JDBC_SCHEMA - Static variable in class com.mckoi.database.Database
-
The name of the schema that contains JDBC helper tables.
- jdbcCompliant() - Method in class com.mckoi.database.jdbc.MDriver
- JDBCDatabaseInterface - Class in com.mckoi.database.jdbcserver
-
An implementation of jdbc.DatabaseInterface on the server-side.
- JDBCDatabaseInterface(Database, String) - Constructor for class com.mckoi.database.jdbcserver.JDBCDatabaseInterface
-
Sets up the processor.
- JDBCDriver - Class in com.mckoi
-
Instance class that registers the mckoi JDBC driver with the JDBC Driver Manager.
- JDBCDriver() - Constructor for class com.mckoi.JDBCDriver
-
Constructor.
- JDBCQueryTool - Class in com.mckoi.tools
-
A graphical interactive SQL query tool that allows for queries to be executed to a JDBC driver.
- JDBCQueryTool(QueryAgent) - Constructor for class com.mckoi.tools.JDBCQueryTool
-
Constructs the JComponent.
- JDBCQueryTool(Connection) - Constructor for class com.mckoi.tools.JDBCQueryTool
-
Constructs the JComponent.
- JDBCScriptTool - Class in com.mckoi.tools
-
A tool that reads an input SQL script and output information for the result either to an output file or through System.out.
- JDBCScriptTool(Reader, PrintWriter) - Constructor for class com.mckoi.tools.JDBCScriptTool
-
Constructs the tool.
- jj_nt - Variable in class com.mckoi.database.sql.SQL
- jjstrLiteralImages - Static variable in class com.mckoi.database.sql.SQLTokenManager
- join(Table) - Method in class com.mckoi.database.Table
-
Performs a natural join of this table with the given table.
- JOIN - Static variable in interface com.mckoi.database.sql.SQLConstants
- JoinedTable - Class in com.mckoi.database
-
A Table that represents the result of one or more other tables joined together.
- JoinedTable() - Constructor for class com.mckoi.database.JoinedTable
-
Protected constructor.
- JoiningSet - Class in com.mckoi.database
-
Used in TableSet to describe how we naturally join the tables together.
- JoiningSet() - Constructor for class com.mckoi.database.JoiningSet
-
Constructs the JoiningSet.
- JoiningSet.JoinPart - Class in com.mckoi.database
- JoinNode(QueryPlanNode, QueryPlanNode, Variable, Operator, Expression) - Constructor for class com.mckoi.database.QueryPlan.JoinNode
- JoinPart(int) - Constructor for class com.mckoi.database.JoiningSet.JoinPart
- JoinPart(int, Expression) - Constructor for class com.mckoi.database.JoiningSet.JoinPart
-
Constructs the JoinPart.
- JournalledFileStore - Class in com.mckoi.store
-
An implementation of AbstractStore that persists to an underlying data format via a robust journalling system that supports check point and crash recovery.
- JournalledFileStore(String, LoggingBufferManager, boolean) - Constructor for class com.mckoi.store.JournalledFileStore
-
Constructs the ScatteringFileStore.
K
- KEY - Static variable in interface com.mckoi.database.sql.SQLConstants
- key_columns - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
The list of columns that make up the key.
- key_table_name - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
The key table name.
- keyList() - Method in class com.mckoi.util.Stats
-
Return a String array of all stat keys sorted in order from lowest to highest.
- keySet() - Method in class com.mckoi.util.HashMapList
-
The Set of all keys.
- kind - Variable in class com.mckoi.database.sql.Token
-
An integer that describes the kind of this token.
L
- LANGUAGE - Static variable in interface com.mckoi.database.sql.SQLConstants
- last() - Method in class com.mckoi.database.Expression
-
Returns the element at the end of the postfix list (the last element).
- last() - Method in class com.mckoi.database.jdbc.MResultSet
- LAST_IN_SET - Static variable in class com.mckoi.database.SelectableRange
-
An object that represents the last value in the set.
- LAST_VALUE - Static variable in class com.mckoi.database.SelectableRange
-
Represents the various points in the set on the value to represent the set range.
- lastCloseClean() - Method in class com.mckoi.store.AbstractStore
- lastCloseClean() - Method in class com.mckoi.store.HeapStore
- lastCloseClean() - Method in interface com.mckoi.store.Store
-
Returns true if the store was closed cleanly.
- lastInCollationOrder() - Method in class com.mckoi.database.CollatedBaseSearch
-
Returns the last value of this column (in collated order).
- lastInCollationOrder() - Method in class com.mckoi.database.InsertSearch
- lastSequenceValue(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns the sequence value for the given sequence generator that was last returned by a call to 'nextSequenceValue'.
- lastSequenceValue(String) - Method in class com.mckoi.database.DatabaseConnection
-
Returns the current sequence value for the given sequence generator that was last returned by a call to 'nextSequenceValue'.
- LE - Static variable in interface com.mckoi.database.sql.SQLConstants
- LEADING - Static variable in interface com.mckoi.database.sql.SQLConstants
- LEEQ - Static variable in interface com.mckoi.database.sql.SQLConstants
- left - Variable in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
The left and right node.
- left() - Method in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
Returns the left node.
- LEFT - Static variable in interface com.mckoi.database.sql.SQLConstants
- LEFT_OUTER_JOIN - Static variable in class com.mckoi.database.JoiningSet
- LeftOuterJoinNode(QueryPlanNode, String) - Constructor for class com.mckoi.database.QueryPlan.LeftOuterJoinNode
- length() - Method in interface com.mckoi.database.global.BlobAccessor
-
Returns the size of the BLOB.
- length() - Method in class com.mckoi.database.global.ByteLongObject
-
Returns the size of the data in this object.
- length() - Method in interface com.mckoi.database.global.StringAccessor
-
Returns the number of characters in the string.
- length() - Method in class com.mckoi.database.global.StringObject
-
Returns the length of the string.
- length() - Method in class com.mckoi.store.StreamFile
-
Returns the current length of the data.
- LengthMarkedBufferedInputStream - Class in com.mckoi.util
-
Reads a command block on the underlying stream that is constrained by a length marker preceeding the command.
- LengthMarkedBufferedInputStream(InputStream) - Constructor for class com.mckoi.util.LengthMarkedBufferedInputStream
-
The Constructor.
- LETTER - Static variable in interface com.mckoi.database.sql.SQLConstants
- lexStateNames - Static variable in class com.mckoi.database.sql.SQLTokenManager
- LIKE - Static variable in interface com.mckoi.database.sql.SQLConstants
- limit() - Method in class com.mckoi.util.ByteBuffer
-
Returns the limit of this buffer.
- LIMIT - Static variable in interface com.mckoi.database.sql.SQLConstants
- list - Variable in class com.mckoi.util.IntegerVector
-
The int array.
- LIST - Static variable in class com.mckoi.database.Privileges
-
The priv to view objects in a schema (only applicable for SCHEMA grant objects).
- listBlockCount() - Method in class com.mckoi.database.FixedRecordList
-
Returns the number of block elements in this list structure.
- listBlockFirstPosition(int) - Method in class com.mckoi.database.FixedRecordList
-
Returns the index of the first node in the given block number.
- listBlockNodeCount(int) - Method in class com.mckoi.database.FixedRecordList
-
Returns the number of nodes that can be stored in the given block, where block 0 is the first block (32 addressable nodes).
- listenedBy(int) - Method in class com.mckoi.database.TableModificationEvent
-
Returns true if the given listener type should be notified of this type of table modification event.
- listenToEventDispatcher() - Static method in class com.mckoi.debug.Debug
-
Deprecated.Sets up the system so that the debug messenger will intercept event dispatch errors and output the event to the debug stream.
- listenToEventDispatcher() - Method in class com.mckoi.debug.DefaultDebugLogger
-
Sets up the system so that the debug messenger will intercept event dispatch errors and output the event to the debug stream.
- liveCopyTo(TableDataConglomerate) - Method in class com.mckoi.database.TableDataConglomerate
-
Makes a complete copy of this database to the position represented by the given TableDataConglomerate object.
- liveCopyTo(File) - Method in class com.mckoi.database.Database
-
Copies all the persistent data in this database (the conglomerate) to the given destination path.
- load() - Method in class com.mckoi.database.TableDescriptions
-
Load the entire list of table descriptions for this database.
- loadFromFile(File) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Loads all the configuration settings from a configuration file.
- loadFromStream(InputStream) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Loads all the configuration values from the given InputStream.
- loadFromURL(URL) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Loads all the configuration values from the given URL.
- LocalBootable - Interface in com.mckoi.database.jdbc
-
An interface that is implemented by an object that boots up the database.
- locatorsUpdateCopy() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- lock() - Method in class com.mckoi.database.FixedSizeDataStore
-
Locks the store by some process so that we may not reclaim deleted sectors.
- lock() - Method in class com.mckoi.database.VariableSizeDataStore
-
Locks the store so that not deleted elements may be overwritten.
- Lock - Class in com.mckoi.database
-
This is a lock on a table in the LockingMechanism class.
- LOCK - Static variable in interface com.mckoi.database.sql.SQLConstants
- LOCK_GROUP - Static variable in class com.mckoi.database.Database
-
The name of the lock group.
- locked() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns true if we are locked.
- lockForWrite() - Method in class com.mckoi.store.HeapStore
- lockForWrite() - Method in class com.mckoi.store.JournalledFileStore
- lockForWrite() - Method in class com.mckoi.store.LoggingBufferManager
-
Obtains a write lock on the buffer.
- lockForWrite() - Method in interface com.mckoi.store.Store
-
It is often useful to guarentee that a certain sequence of updates to a store is completed and not broken in the middle.
- LockHandle - Class in com.mckoi.database
-
This represents a handle for a series of locks that a query has over the tables in a database.
- LockingMechanism - Class in com.mckoi.database
-
This class represents a model for locking the tables in a database during any sequence of concurrent read/write accesses.
- LockingMechanism(DebugLogger) - Constructor for class com.mckoi.database.LockingMechanism
-
Constructor.
- lockRoot(int) - Method in class com.mckoi.database.CompositeTable
- lockRoot(int) - Method in class com.mckoi.database.DataTable
-
Locks the root table(s) of this table so that it is impossible to overwrite the underlying rows that may appear in this table.
- lockRoot(int) - Method in class com.mckoi.database.DataTableFilter
-
Locks the root table(s) of this table so that it is impossible to overwrite the underlying rows that may appear in this table.
- lockRoot(int) - Method in class com.mckoi.database.FilterTable
-
Locks the root table(s) of this table so that it is impossible to overwrite the underlying rows that may appear in this table.
- lockRoot(int) - Method in class com.mckoi.database.FunctionTable
-
Locks the root table(s) of this table so that it is impossible to overwrite the underlying rows that may appear in this table.
- lockRoot(int) - Method in class com.mckoi.database.JoinedTable
-
Locks the root table(s) of this table so that it is impossible to overwrite the underlying rows that may appear in this table.
- lockRoot(int) - Method in class com.mckoi.database.Table
-
Locks the root table(s) of this table so that it is impossible to overwrite the underlying rows that may appear in this table.
- lockRoot(int) - Method in class com.mckoi.database.TableAccessState
-
Locks the root rows of the table.
- lockRoot(int) - Method in class com.mckoi.database.TemporaryTable
-
Locks the root table(s) of this table so that it is impossible to overwrite the underlying rows that may appear in this table.
- lockTables(DataTable[], DataTable[]) - Method in class com.mckoi.database.LockingMechanism
-
This method locks the given tables for either reading or writing.
- log(String) - Method in class com.mckoi.util.Log
-
Writes an entry to the log file.
- Log - Class in com.mckoi.util
-
A log file/stream that logs some information generated by the system.
- Log() - Constructor for class com.mckoi.util.Log
- Log(File) - Constructor for class com.mckoi.util.Log
- Log(File, int, int) - Constructor for class com.mckoi.util.Log
- Log(String) - Constructor for class com.mckoi.util.Log
- LoggingBufferManager - Class in com.mckoi.store
-
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).
- LoggingBufferManager(File, boolean, int, int, LoggingBufferManager.StoreDataAccessorFactory, DebugLogger, boolean) - Constructor for class com.mckoi.store.LoggingBufferManager
-
Constructs the manager.
- LoggingBufferManager(File, File, boolean, int, int, String, long, DebugLogger, boolean) - Constructor for class com.mckoi.store.LoggingBufferManager
-
Constructs the manager with a scattering store implementation that converts the resource to a file in the given path.
- LoggingBufferManager.StoreDataAccessorFactory - Interface in com.mckoi.store
-
A factory interface for creating StoreDataAccessor objects from resource names.
- LogicalUnionNode(QueryPlanNode, QueryPlanNode) - Constructor for class com.mckoi.database.QueryPlan.LogicalUnionNode
- login(String, String, String) - Method in class com.mckoi.database.jdbc.MConnection
-
Attempts to login to the database interface with the given default schema, username and password.
- login(String, String, String, DatabaseCallBack) - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Attempts to log in to the database as the given username with the given password.
- login(String, String, String, DatabaseCallBack) - Method in class com.mckoi.database.jdbcserver.JDBCDatabaseInterface
- logln(String) - Method in class com.mckoi.util.Log
- logout() - Method in class com.mckoi.database.User
-
Logs out this user object.
- logQueries() - Method in class com.mckoi.database.DatabaseSystem
-
If query logging is enabled (all queries are output to 'commands.log' in the log directory), this returns true.
- LogWriter - Class in com.mckoi.util
-
A Writer that writes information to a log file that archives old log entries when it goes above a certain size.
- LogWriter(File, long, int) - Constructor for class com.mckoi.util.LogWriter
-
Constructs the log writer.
- LONG - Static variable in interface com.mckoi.database.sql.SQLConstants
- longVal(long) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of numeric type that represents the given long value.
- longValue() - Method in class com.mckoi.util.BigNumber
-
Returns this big number as a long.
- LONGVARBINARY - Static variable in interface com.mckoi.database.global.SQLTypes
- LONGVARBINARY - Static variable in interface com.mckoi.database.sql.SQLConstants
- LONGVARCHAR - Static variable in interface com.mckoi.database.global.SQLTypes
- LONGVARCHAR - Static variable in interface com.mckoi.database.sql.SQLConstants
- lookingAhead - Variable in class com.mckoi.database.sql.SQL
- lookupComparisonListEnabled() - Method in class com.mckoi.database.TransactionSystem
-
Returns true if we should generate lookup caches in InsertSearch otherwise returns false.
- Lvl - Interface in com.mckoi.debug
-
Debug level static values.
M
- MAGIC - Static variable in class com.mckoi.store.AbstractStore
-
The magic value.
- main(String[]) - Static method in class com.mckoi.database.PatternSearch
- main(String[]) - Static method in class com.mckoi.database.SelectableRangeSet
-
A test application.
- main(String[]) - Static method in class com.mckoi.database.sql.SQL
- main(String[]) - Static method in class com.mckoi.runtime.McKoiDBMain
-
The McKoi Database application starting point.
- main(String[]) - Static method in class com.mckoi.tools.DataFileConvertTool
-
Application start point.
- main(String[]) - Static method in class com.mckoi.tools.DBConglomerateDiagTool
-
Application start point.
- main(String[]) - Static method in class com.mckoi.tools.DBConglomerateRepairTool
-
Application start point.
- main(String[]) - Static method in class com.mckoi.tools.JDBCQueryTool
-
Application start point.
- main(String[]) - Static method in class com.mckoi.tools.JDBCScriptTool
-
The application start point.
- mark(int) - Method in class com.mckoi.database.jdbc.AsciiReader
- mark(int) - Method in class com.mckoi.database.jdbc.BinaryToUnicodeReader
- mark(int) - Method in class com.mckoi.util.PagedInputStream
- MarkerNode(QueryPlanNode, String) - Constructor for class com.mckoi.database.QueryPlan.MarkerNode
-
Constructor.
- markSupported() - Method in class com.mckoi.util.LengthMarkedBufferedInputStream
- markSupported() - Method in class com.mckoi.util.PagedInputStream
- matchesReference(String, String, String) - Method in class com.mckoi.database.interpret.FromTableDirectSource
- matchesReference(String, String, String) - Method in interface com.mckoi.database.interpret.FromTableInterface
-
Returns true if this source will match the given catalog, schema and table.
- matchesReference(String, String, String) - Method in class com.mckoi.database.interpret.FromTableSubQuerySource
- MAX_DATABASE_NAME_LENGTH - Static variable in interface com.mckoi.database.DatabaseConstants
-
The maximum length in characters of the string that represents the name of the database.
- MAX_DAYS - Static variable in class com.mckoi.util.GeneralFormatter
- MAX_HOURS - Static variable in class com.mckoi.util.GeneralFormatter
- MAX_MILLISECONDS - Static variable in class com.mckoi.util.GeneralFormatter
- MAX_MINUTES - Static variable in class com.mckoi.util.GeneralFormatter
- MAX_PASSWORD_LENGTH - Static variable in interface com.mckoi.database.DatabaseConstants
-
The maximum length in character of the string that holds a users password.
- MAX_PRIVGROUP_NAME_LENGTH - Static variable in interface com.mckoi.database.DatabaseConstants
-
The maximum length in characters of the string that represents the name of a privaledge group.
- MAX_SECONDS - Static variable in class com.mckoi.util.GeneralFormatter
- MAX_TABLE_NAME_LENGTH - Static variable in interface com.mckoi.database.DatabaseConstants
-
The maximum length in characters of the string that holds the table name.
- MAX_USER_NAME_LENGTH - Static variable in interface com.mckoi.database.DatabaseConstants
-
The maximum length in characters of the string that holds the user name.
- MAX_WEEKS - Static variable in class com.mckoi.util.GeneralFormatter
-
These statics represent switches for the visual formatting of the time frame.
- MAXVALUE - Static variable in interface com.mckoi.database.sql.SQLConstants
- MckoiConnection - Class in com.mckoi.database.jdbc
-
Wraps a Connection and provides Mckoi specific extensions that are outside the JDBC specification.
- MckoiConnection(Connection) - Constructor for class com.mckoi.database.jdbc.MckoiConnection
-
Constructs the Mckoi specific extension access object.
- McKoiDBMain - Class in com.mckoi.runtime
-
The start point of the Mckoi SQL database server.
- McKoiDBMain() - Constructor for class com.mckoi.runtime.McKoiDBMain
- MConnection - Class in com.mckoi.database.jdbc
-
JDBC implementation of the connection object to a Mckoi database.
- MConnection(String, DatabaseInterface, int, int) - Constructor for class com.mckoi.database.jdbc.MConnection
-
Constructor.
- MDatabaseMetaData - Class in com.mckoi.database.jdbc
-
An implementation of JDBC's DatabaseMetaData.
- MDriver - Class in com.mckoi.database.jdbc
-
JDBC implementation of the driver for the Mckoi database.
- MDriver() - Constructor for class com.mckoi.database.jdbc.MDriver
-
Constructor is public so that instances of the JDBC driver can be created by developers.
- merge(Privileges) - Method in class com.mckoi.database.Privileges
-
Merges privs from the given privilege object with this set of privs.
- mergeWithReference(Variable) - Method in class com.mckoi.database.FunctionTable
-
Returns a Table that is this function table merged with the cross reference table.
- MESSAGE - Static variable in class com.mckoi.debug.Debug
-
Deprecated.
- MESSAGE - Static variable in interface com.mckoi.debug.Lvl
- MINUTES - Static variable in class com.mckoi.util.TimeFrame
-
Formatting enum.
- MINVALUE - Static variable in interface com.mckoi.database.sql.SQLConstants
- Misc - Class in com.mckoi.database.interpret
-
Misc statements that I couldn't be bothered to roll a new Statement class for.
- Misc() - Constructor for class com.mckoi.database.interpret.Misc
- moveTo(IntegerListBlockInterface, int, int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Moves a set of values from the end of this block and inserts it into the given block at the destination index specified.
- moveTo(IntegerListBlockInterface, int, int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Moves a set of values from the end of this block and inserts it into the given block at the destination index specified.
- moveToCurrentRow() - Method in class com.mckoi.database.jdbc.MResultSet
- moveToInsertRow() - Method in class com.mckoi.database.jdbc.MResultSet
- MResultSet - Class in com.mckoi.database.jdbc
-
Implementation of a ResultSet.
- MResultSetMetaData - Class in com.mckoi.database.jdbc
-
An implementation of JDBC's ResultSetmetaData.
- MSQLException - Exception in com.mckoi.database.jdbc
-
SQLException used by the McKoi database engine.
- MSQLException() - Constructor for exception com.mckoi.database.jdbc.MSQLException
- MSQLException(String) - Constructor for exception com.mckoi.database.jdbc.MSQLException
- MSQLException(String, String) - Constructor for exception com.mckoi.database.jdbc.MSQLException
- MSQLException(String, String, int) - Constructor for exception com.mckoi.database.jdbc.MSQLException
- MSQLException(String, String, int, String) - Constructor for exception com.mckoi.database.jdbc.MSQLException
-
MSQL Specific.
- MSQLException(String, String, int, Throwable) - Constructor for exception com.mckoi.database.jdbc.MSQLException
-
MSQL Specific.
- MultiColumnEquiSelectNode(QueryPlanNode, Variable[], Expression[]) - Constructor for class com.mckoi.database.QueryPlan.MultiColumnEquiSelectNode
- multiply(BigNumber) - Method in class com.mckoi.util.BigNumber
- MutableArea - Interface in com.mckoi.store
-
An interface for an area that can be modified.
- MutableTableDataSource - Interface in com.mckoi.database
-
A mutable data source that allows for the addition and removal of rows.
N
- name - Variable in class com.mckoi.database.interpret.ByColumn
-
The name of the column in the 'by'.
- name - Variable in class com.mckoi.database.Transaction.CheckExpression
-
The name of the check expression (the constraint name).
- name - Variable in class com.mckoi.database.Transaction.ColumnGroup
-
The name of the group (the constraint name).
- name - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
The name of the group (the constraint name).
- NAME - Static variable in class com.mckoi.database.global.StandardMessages
-
The global name of the system.
- NAME - Static variable in interface com.mckoi.database.sql.SQLConstants
- NaN - Static variable in class com.mckoi.util.BigNumber
- nativeSQL(String) - Method in class com.mckoi.database.jdbc.MConnection
- NATURAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- NaturalJoinNode(QueryPlanNode, QueryPlanNode) - Constructor for class com.mckoi.database.QueryPlan.NaturalJoinNode
- NaturallyJoinedTable - Class in com.mckoi.database
-
A table that is the cartesian product of two tables.
- NaturallyJoinedTable(Table, Table) - Constructor for class com.mckoi.database.NaturallyJoinedTable
-
Constructs the table.
- NEGATIVE_INFINITY - Static variable in class com.mckoi.util.BigNumber
-
Statics for negative infinity, positive infinity and NaN.
- NEW - Static variable in interface com.mckoi.database.sql.SQLConstants
- NEW_TRIGGER_TABLE - Static variable in class com.mckoi.database.Database
-
The NEW table used inside a triggered procedure to represent a triggered row after the operation occurs.
- newListBlock() - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Creates a new ListBlock for the given implementation.
- newListBlock() - Method in class com.mckoi.util.BlockIntegerList
-
Creates a new ListBlock to fill with ints.
- newRow() - Method in class com.mckoi.database.TemporaryTable
-
Creates a new row where cells can be inserted into.
- newToken(int) - Static method in class com.mckoi.database.sql.Token
-
Returns a new Token object, by default.
- next - Variable in class com.mckoi.database.sql.Token
-
A reference to the next regular (non-special) token from the input stream.
- next - Variable in class com.mckoi.util.IntegerListBlockInterface
-
The next block in the chain.
- next() - Method in class com.mckoi.database.jdbc.MResultSet
- next() - Method in interface com.mckoi.util.IntegerIterator
-
Returns the next element in the list.
- nextRowIndex() - Method in interface com.mckoi.database.RowEnumeration
-
Returns the next row index from the enumeration.
- nextRowIndex() - Method in class com.mckoi.database.SimpleRowEnumeration
- nextSequenceValue(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Requests of the sequence generator the next value from the sequence.
- nextSequenceValue(String) - Method in class com.mckoi.database.DatabaseConnection
-
Requests of the sequence generator the next value from the sequence.
- nextSequenceValue(String) - Method in class com.mckoi.database.DatabaseQueryContext
-
Increments the sequence generator and returns the next unique key.
- nextSequenceValue(String) - Method in interface com.mckoi.database.QueryContext
-
Increments the sequence generator and returns the next unique key.
- nextUniqueID(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Returns the next unique identifier for the given table from the schema.
- nextUniqueID(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Atomically returns a unique id that can be used as a seed for a set of unique identifiers for a table.
- nextUniqueID(String) - Method in class com.mckoi.database.DatabaseConnection
-
Returns the next unique identifier for the given table in the connection schema.
- NO - Static variable in interface com.mckoi.database.sql.SQLConstants
- NO_ACTION - Static variable in class com.mckoi.database.Transaction
-
Foreign key referential trigger actions.
- NO_DECOMPOSITION - Static variable in interface com.mckoi.database.sql.SQLConstants
- noColumnCopy() - Method in class com.mckoi.database.DataTableDef
-
Returns a copy of this object, except with no columns or constraints.
- nodeCount() - Method in class com.mckoi.util.Cache
-
Returns the number of nodes that are currently being stored in the cache.
- nonBooleanExpression(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
-
Parses a non-boolean expression.
- NonCorrelatedAnyAllNode(QueryPlanNode, QueryPlanNode, Variable[], Operator) - Constructor for class com.mckoi.database.QueryPlan.NonCorrelatedAnyAllNode
- NONE - Static variable in class com.mckoi.database.Operator
-
The ANY and ALL enumerator.
- NoOp - Class in com.mckoi.database.interpret
-
A no operation statement.
- NoOp() - Constructor for class com.mckoi.database.interpret.NoOp
- normalize(Expression) - Static method in class com.mckoi.database.sql.Util
-
Normalizes the Expression by removing all NOT operators and altering the expression as appropriate.
- NOT - Static variable in interface com.mckoi.database.sql.SQLConstants
- NOT_DEFERRABLE - Static variable in class com.mckoi.database.Transaction
- NOTEQ - Static variable in interface com.mckoi.database.sql.SQLConstants
- notifyGetWalks(long, long) - Method in class com.mckoi.util.Cache
-
Notifies that some statistical information about the hash map has updated.
- notifyTriggerEvent(TriggerEvent) - Method in class com.mckoi.database.DatabaseConnection
-
Informs the underlying transaction that a high level transaction event has occurred and should be dispatched to any listeners occordingly.
- notifyWipingNode(Object) - Method in class com.mckoi.util.Cache
-
Notifies that the given object has been wiped from the cache by the clean up procedure.
- NULL - Static variable in interface com.mckoi.database.global.SQLTypes
- NULL_LITERAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- NULL_OBJ - Static variable in class com.mckoi.database.global.NullObject
-
Deprecated.
- NULL_OBJECT - Static variable in class com.mckoi.database.TObject
- NULL_TYPE - Static variable in class com.mckoi.database.TType
-
A default NULL type.
- NULLABLE_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
A Nullable constraint violation error code (data added to not null columns that was null).
- nullLog() - Static method in class com.mckoi.util.Log
-
Returns a Log that won't actually store a log.
- NullObject - Class in com.mckoi.database.global
-
Deprecated.do not use. Nulls are now handled via TObject and TType. This method is only kept around for legacy with older databases.
- NullObject() - Constructor for class com.mckoi.database.global.NullObject
-
Deprecated.
- nullPlusNonNullIsNull() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- nullsAreSortedAtEnd() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- nullsAreSortedAtStart() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- nullsAreSortedHigh() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- nullsAreSortedLow() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- nullVal() - Static method in class com.mckoi.database.TObject
-
Returns a TObject of NULL type that represents a null value.
- NUMBER_LITERAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- NUMERIC - Static variable in interface com.mckoi.database.global.SQLTypes
- NUMERIC - Static variable in interface com.mckoi.database.sql.SQLConstants
- NUMERIC_TYPE - Static variable in class com.mckoi.database.TType
-
A default numeric (SQL NUMERIC) type of unlimited size and scale.
- NumericOperator(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- numericType(int, int, int) - Static method in class com.mckoi.database.TType
-
Returns a TNumericType object of the given size and scale.
O
- OBJECT_COST - Static variable in class com.mckoi.database.Caster
-
The cost to cast to the closes Java object type.
- ObjectTransfer - Class in com.mckoi.database.global
-
Provides static methods for transfering different types of objects over a Data input/output stream.
- ObjectTransfer() - Constructor for class com.mckoi.database.global.ObjectTransfer
- ObjectTranslator - Class in com.mckoi.database.global
-
This object compliments ObjectTransfer and provides a method to translate any object into a type the database engine can process.
- ObjectTranslator() - Constructor for class com.mckoi.database.global.ObjectTranslator
- objectVal(Object) - Static method in class com.mckoi.database.TObject
-
Returns a TObject from the given Java value.
- OLD - Static variable in interface com.mckoi.database.sql.SQLConstants
- OLD_TRIGGER_TABLE - Static variable in class com.mckoi.database.Database
-
The OLD table used inside a triggered procedure to represent a triggered row before the operation occurs.
- ON - Static variable in interface com.mckoi.database.sql.SQLConstants
- ONE_LIST - Static variable in class com.mckoi.database.SelectableScheme
- open() - Method in class com.mckoi.store.AbstractStore
-
Opens the data store.
- open(boolean) - Method in class com.mckoi.database.FixedSizeDataStore
-
Opens the data store.
- open(boolean) - Method in class com.mckoi.database.IndexStore
-
Opens this index store.
- open(boolean) - Method in class com.mckoi.database.VariableSizeDataStore
-
Opens the data store.
- open(boolean) - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- open(String) - Method in class com.mckoi.database.TableDataConglomerate
-
Opens a conglomerate.
- open(String) - Method in class com.mckoi.database.V2MasterTableDataSource
-
Opens an existing master table from the file system at the path of the conglomerate this belongs to.
- openScanAndFix(UserTerminal) - Method in class com.mckoi.store.AbstractStore
-
Opens/scans the store looking for any errors with the layout.
- Operand(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- Operator - Class in com.mckoi.database
-
An operator for an expression.
- Operator(String) - Constructor for class com.mckoi.database.Operator
-
Constructs the Operator.
- Operator(String, int) - Constructor for class com.mckoi.database.Operator
- Operator(String, int, int) - Constructor for class com.mckoi.database.Operator
- operatorAdd(TObject) - Method in class com.mckoi.database.TObject
-
Mathematical addition of this object to the given object.
- operatorConcat(TObject) - Method in class com.mckoi.database.TObject
-
String concat of this object to the given object.
- operatorDivide(TObject) - Method in class com.mckoi.database.TObject
-
Mathematical division of this object to the given object.
- operatorEquals(TObject) - Method in class com.mckoi.database.TObject
-
Comparison of this object and the given object.
- operatorGreater(TObject) - Method in class com.mckoi.database.TObject
-
Comparison of this object and the given object.
- operatorGreaterEquals(TObject) - Method in class com.mckoi.database.TObject
-
Comparison of this object and the given object.
- operatorIs(TObject) - Method in class com.mckoi.database.TObject
-
Comparison of this object and the given object.
- operatorLess(TObject) - Method in class com.mckoi.database.TObject
-
Comparison of this object and the given object.
- operatorLessEquals(TObject) - Method in class com.mckoi.database.TObject
-
Comparison of this object and the given object.
- operatorMultiply(TObject) - Method in class com.mckoi.database.TObject
-
Mathematical multiply of this object to the given object.
- operatorNot() - Method in class com.mckoi.database.TObject
-
Performs a logical NOT on this value.
- operatorNotEquals(TObject) - Method in class com.mckoi.database.TObject
-
Comparison of this object and the given object.
- operatorOr(TObject) - Method in class com.mckoi.database.TObject
-
Bitwise OR operation of this object with the given object.
- operatorSubtract(TObject) - Method in class com.mckoi.database.TObject
-
Mathematical subtraction of this object to the given object.
- OpPart(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- OPTIMIZE - Static variable in interface com.mckoi.database.sql.SQLConstants
- OPTION - Static variable in interface com.mckoi.database.sql.SQLConstants
- OR - Static variable in interface com.mckoi.database.sql.SQLConstants
- ORDERBY - Static variable in interface com.mckoi.database.sql.SQLConstants
- orderByColumn(int, boolean) - Method in class com.mckoi.database.Table
-
Returns a Table which is identical to this table, except it is sorted by the given column name.
- orderByColumn(Variable) - Method in class com.mckoi.database.Table
- orderByColumn(Variable, boolean) - Method in class com.mckoi.database.Table
- orderByColumns(int[]) - Method in class com.mckoi.database.Table
-
Returns a table that is ordered by the given column numbers.
- orderedRowList(int[]) - Method in class com.mckoi.database.Table
-
Returns an IntegerVector that represents the list of rows in this table in sorted order by the given column map.
- OrderingSpec() - Method in class com.mckoi.database.sql.SQL
- OTHER - Static variable in interface com.mckoi.database.global.SQLTypes
- othersDeletesAreVisible(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- othersInsertsAreVisible(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- othersUpdatesAreVisible(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- OUTER - Static variable in interface com.mckoi.database.sql.SQLConstants
- outside(Table) - Method in class com.mckoi.database.Table
-
Finds all rows in this table that are 'outside' the result in the given table.
- overwriteSector(int, byte[]) - Method in class com.mckoi.database.FixedSizeDataStore
-
Writes the contents of a sector into the store overwritting any other information that may be stored there.
- overwriteSector(int, byte[], int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Writes the contents of a sector into the store overwritting any other information that may be stored there.
- ownDeletesAreVisible(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- ownInsertsAreVisible(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- ownUpdatesAreVisible(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
P
- PagedInputStream - Class in com.mckoi.util
-
An implementation of InputStream that reads data from an underlying representation in fixed sized pages.
- PagedInputStream(int, long) - Constructor for class com.mckoi.util.PagedInputStream
-
Constructs the input stream.
- PARAMETER_REF - Static variable in interface com.mckoi.database.sql.SQLConstants
- parameterCount() - Method in class com.mckoi.database.AbstractFunction
-
Returns the number of parameters for this function.
- parameterCount() - Method in class com.mckoi.jfccontrols.Query
-
Returns the number of parameters.
- ParameterSubstitution - Class in com.mckoi.database
-
An object that represents a constant value that is to be lately binded to a constant value in an Expression.
- ParameterSubstitution(int) - Constructor for class com.mckoi.database.ParameterSubstitution
-
Creates the substitution.
- parent - Variable in class com.mckoi.database.DataTableFilter
-
The parent DataTable object.
- parent - Variable in class com.mckoi.database.FilterTable
-
The Table we are filtering the columns from.
- parse(String) - Static method in class com.mckoi.database.Expression
-
Static method that parses the given string which contains an expression into an Expression object.
- parse(String) - Static method in class com.mckoi.util.TimeFrame
-
Parses the given String and returns a TimeFrame object that represents the date.
- parseBigDecimal(CharacterIterator) - Static method in class com.mckoi.util.GeneralParser
-
This assumes there is a decimal number waiting on the iterator.
- parseDigitString(CharacterIterator, StringBuffer) - Static method in class com.mckoi.util.GeneralParser
-
Parses a string of 0 or more digits and appends the digits into the string buffer.
- ParseException - Exception in com.mckoi.database.sql
-
This exception is thrown when parse errors are encountered.
- ParseException() - Constructor for exception com.mckoi.database.sql.ParseException
-
The following constructors are for use by you for whatever purpose you can think of.
- ParseException(Token, int[][], String[]) - Constructor for exception com.mckoi.database.sql.ParseException
-
This constructor is used by the method "generateParseException" in the generated parser.
- ParseException(String) - Constructor for exception com.mckoi.database.sql.ParseException
- parseExpression() - Method in class com.mckoi.database.sql.SQL
- parseJavaLocationString(String) - Static method in class com.mckoi.database.ProcedureManager
-
Given a location string as defined for a Java stored procedure, this parses the string into the various parts.
- parseNumberToken(Token, boolean) - Static method in class com.mckoi.database.sql.Util
-
Parses a NUMBER_LITERAL Token with a sign boolean.
- parseString(String) - Static method in class com.mckoi.database.Privileges
-
Given a string, returns the priv bit for it.
- parseTimeMeasure(CharacterIterator) - Static method in class com.mckoi.util.GeneralParser
-
Parses a time grammer waiting on the character iterator.
- parseWordString(CharacterIterator, StringBuffer) - Static method in class com.mckoi.util.GeneralParser
-
Parses a string of 0 or more words and appends the characters into the string buffer.
- PASSWORD - Static variable in interface com.mckoi.database.sql.SQLConstants
- patternMatch(String, String, char) - Static method in class com.mckoi.database.PatternSearch
-
This is the pattern match recurrsive method.
- PatternSearch - Class in com.mckoi.database
-
This is a static class that performs the operations to do a pattern search on a given column of a table.
- PatternSearch() - Constructor for class com.mckoi.database.PatternSearch
- permits(int) - Method in class com.mckoi.database.Privileges
-
Returns true if this privileges permits the given priv.
- PERSISTENT_VAR_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- physicalRecordCount() - Method in interface com.mckoi.database.RawDiagnosticTable
-
Returns the number of physical records in the table.
- PING - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Ping command.
- placeIntAt(int, int) - Method in class com.mckoi.util.IntegerVector
-
Places an int at the given position, overwriting anything that was previously there.
- planForOrderBy(QueryPlanNode, ArrayList, TableExpressionFromSet, ArrayList) - Static method in class com.mckoi.database.interpret.Planner
-
Plans an ORDER BY set.
- Planner - Class in com.mckoi.database.interpret
-
Various methods for forming query plans on SQL queries.
- Planner() - Constructor for class com.mckoi.database.interpret.Planner
- pollForCommand(int) - Method in class com.mckoi.util.LengthMarkedBufferedInputStream
-
Checks to see if there is a complete command waiting on the input stream.
- position() - Method in interface com.mckoi.store.Area
-
Returns the current position of the pointer within the area.
- position() - Method in class com.mckoi.util.ByteBuffer
-
Returns the current position.
- position(int) - Method in interface com.mckoi.store.Area
-
Sets the position within the area.
- position(int) - Method in class com.mckoi.util.ByteBuffer
-
Sets the position in to the buffer.
- positionOnNode(long) - Method in class com.mckoi.database.FixedRecordList
-
Returns an Area object from the list block area with the position over the record entry requested.
- POSITIVE_INFINITY - Static variable in class com.mckoi.util.BigNumber
- PositiveIntegerConstant() - Method in class com.mckoi.database.sql.SQL
- postEvalAggregate(GroupResolver, QueryContext, TObject) - Method in class com.mckoi.database.AbstractAggregateFunction
-
Called just before the value is returned to the parent.
- postEvent(int, Object) - Method in class com.mckoi.database.Database
-
Posts an event on the database dispatcher.
- precedence() - Method in class com.mckoi.database.Operator
- prepare() - Method in class com.mckoi.database.interpret.AlterTable
- prepare() - Method in class com.mckoi.database.interpret.Call
- prepare() - Method in class com.mckoi.database.interpret.Compact
- prepare() - Method in class com.mckoi.database.interpret.CompleteTransaction
- prepare() - Method in class com.mckoi.database.interpret.CreateTable
- prepare() - Method in class com.mckoi.database.interpret.CreateTrigger
- prepare() - Method in class com.mckoi.database.interpret.Delete
- prepare() - Method in class com.mckoi.database.interpret.DropTable
- prepare() - Method in class com.mckoi.database.interpret.DropTrigger
- prepare() - Method in class com.mckoi.database.interpret.Function
- prepare() - Method in class com.mckoi.database.interpret.Insert
- prepare() - Method in class com.mckoi.database.interpret.Misc
- prepare() - Method in class com.mckoi.database.interpret.NoOp
- prepare() - Method in class com.mckoi.database.interpret.PrivManager
- prepare() - Method in class com.mckoi.database.interpret.Schema
- prepare() - Method in class com.mckoi.database.interpret.Select
-
Prepares the select statement with a Database object.
- prepare() - Method in class com.mckoi.database.interpret.Sequence
- prepare() - Method in class com.mckoi.database.interpret.Set
- prepare() - Method in class com.mckoi.database.interpret.Show
- prepare() - Method in class com.mckoi.database.interpret.Statement
-
Prepares the statement with the given Database object.
- prepare() - Method in class com.mckoi.database.interpret.UpdateTable
- prepare() - Method in class com.mckoi.database.interpret.UserManager
- prepare() - Method in class com.mckoi.database.interpret.ViewManager
- prepare(boolean) - Method in class com.mckoi.database.jdbc.SQLQuery
-
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.
- prepare(DatabaseConnection) - Method in class com.mckoi.database.JoiningSet
-
Resolves the schema of tables in this joining set.
- prepare(ExpressionPreparer) - Method in class com.mckoi.database.Expression
-
A general prepare that cascades through the expression and its parents and substitutes an elements that the preparer wants to substitute.
- prepare(ExpressionPreparer) - Method in class com.mckoi.database.interpret.SearchExpression
-
Prepares the expression.
- prepare(Object) - Method in interface com.mckoi.database.ExpressionPreparer
-
Returns the new translated object to be mutated from the given element.
- prepareAllExpressions(ExpressionPreparer) - Method in class com.mckoi.database.StatementTree
-
For each expression in this StatementTree this method will call the 'prepare' method in each expression.
- prepareCall(String) - Method in class com.mckoi.database.jdbc.MConnection
- prepareCall(String, int, int) - Method in class com.mckoi.database.jdbc.MConnection
- prepareCall(String, int, int, int) - Method in class com.mckoi.database.jdbc.MConnection
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.Assignment
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.AlterTableAction
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.ByColumn
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.ColumnDef
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.ConstraintDef
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.FromClause
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.FromTableDef
-
Prepares the expressions in this table def.
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.SearchExpression
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.SelectColumn
- prepareExpressions(ExpressionPreparer) - Method in class com.mckoi.database.interpret.TableSelectExpression
- prepareExpressions(ExpressionPreparer) - Method in interface com.mckoi.database.StatementTreeObject
-
Prepares all expressions in this statement tree object by passing the ExpressionPreparer object to the 'prepare' method of the expression.
- prepareParameters(ExpressionPreparer) - Method in class com.mckoi.database.AbstractFunction
-
Prepares the parameters of the function.
- prepareParameters(ExpressionPreparer) - Method in interface com.mckoi.database.Function
-
Prepares the exressions that are the parameters of this function.
- prepareStatement(String) - Method in class com.mckoi.database.jdbc.MConnection
- prepareStatement(String, int) - Method in class com.mckoi.database.jdbc.MConnection
- prepareStatement(String, int[]) - Method in class com.mckoi.database.jdbc.MConnection
- prepareStatement(String, int, int) - Method in class com.mckoi.database.jdbc.MConnection
- prepareStatement(String, int, int, int) - Method in class com.mckoi.database.jdbc.MConnection
- prepareStatement(String, String[]) - Method in class com.mckoi.database.jdbc.MConnection
- prepareTransactionCheckConstraint(DataTableDef, Transaction.CheckExpression) - Method in class com.mckoi.database.DatabaseSystem
-
Given a Transaction.CheckExpression, this will prepare the expression and return a new prepared CheckExpression.
- prepareTransactionCheckConstraint(DataTableDef, Transaction.CheckExpression) - Method in class com.mckoi.database.TransactionSystem
-
Given a Transaction.CheckExpression, this will prepare the expression and return a new prepared CheckExpression.
- previous - Variable in class com.mckoi.util.IntegerListBlockInterface
-
The previous block in the chain.
- previous() - Method in class com.mckoi.database.jdbc.MResultSet
- previous() - Method in interface com.mckoi.util.IntegerIterator
-
Returns the previous element in the list.
- PRIMARY - Static variable in interface com.mckoi.database.sql.SQLConstants
- PRIMARY_COLS_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- PRIMARY_INFO_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- PRIMARY_KEY - Static variable in class com.mckoi.database.interpret.ConstraintDef
-
A PRIMARY_KEY constraint.
- PRIMARY_KEY_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
A Primary Key constraint violation error code.
- PRIMARY_STRENGTH - Static variable in interface com.mckoi.database.sql.SQLConstants
- PRIMITIVE_COST - Static variable in class com.mckoi.database.Caster
-
The cost to cast to the closest Java primitive type.
- print(String) - Method in class com.mckoi.util.ShellUserTerminal
- print(String) - Method in interface com.mckoi.util.UserTerminal
-
Outputs a string of information to the terminal.
- printGraph(PrintStream, int) - Method in class com.mckoi.database.FilterTable
-
Prints a graph of the table hierarchy to the stream.
- printGraph(PrintStream, int) - Method in class com.mckoi.database.JoinedTable
-
Prints a graph of the table hierarchy to the stream.
- printGraph(PrintStream, int) - Method in class com.mckoi.database.Table
-
Prints a graph of the table hierarchy to the stream.
- println(String) - Method in class com.mckoi.util.ShellUserTerminal
- println(String) - Method in interface com.mckoi.util.UserTerminal
-
Outputs a string of information and a newline to the terminal.
- printStackTrace() - Method in exception com.mckoi.database.jdbc.MSQLException
-
Overwrites the print stack trace information with some more detailed information about the error.
- printStackTrace(PrintStream) - Method in exception com.mckoi.database.jdbc.MSQLException
-
Overwrites the print stack trace information with some more detailed information about the error.
- printStackTrace(PrintWriter) - Method in exception com.mckoi.database.jdbc.MSQLException
-
Overwrites the print stack trace information with some more detailed information about the error.
- printTo(PrintStream) - Method in class com.mckoi.util.Stats
-
Outputs the stats to a print stream.
- Privileges - Class in com.mckoi.database
-
A set of privileges to grant a user for an object.
- Privileges() - Constructor for class com.mckoi.database.Privileges
- PRIVILEGES - Static variable in interface com.mckoi.database.sql.SQLConstants
- PrivList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- PrivListItem(ArrayList) - Method in class com.mckoi.database.sql.SQL
- PrivManager - Class in com.mckoi.database.interpret
-
Handler for grant/revoke queries for setting up grant information in the database.
- PrivManager() - Constructor for class com.mckoi.database.interpret.PrivManager
- PrivObject() - Method in class com.mckoi.database.sql.SQL
- ProcArgumentName() - Method in class com.mckoi.database.sql.SQL
- PROCEDURE - Static variable in interface com.mckoi.database.sql.SQLConstants
- PROCEDURE_ALL_PRIVS - Static variable in class com.mckoi.database.Privileges
-
All access (execute/update/delete/etc) privs for a procedure object.
- PROCEDURE_EXECUTE_PRIVS - Static variable in class com.mckoi.database.Privileges
-
Execute access privs for a procedure object.
- ProcedureConnection - Interface in com.mckoi.database
-
An interface for accessing a database connection inside a stored procedure.
- ProcedureException - Exception in com.mckoi.database
-
An exception that is generated from a stored procedure when some erronious condition occurs.
- ProcedureException(String) - Constructor for exception com.mckoi.database.ProcedureException
-
Construct the exception.
- procedureExists(ProcedureName) - Method in class com.mckoi.database.ProcedureManager
-
Returns true if the procedure with the given name exists.
- procedureExists(TableName) - Method in class com.mckoi.database.ProcedureManager
-
Returns true if the procedure with the given table name exists.
- ProcedureManager - Class in com.mckoi.database
-
A DatabaseConnection procedure manager.
- ProcedureName - Class in com.mckoi.database
-
The name of a procedure as understood by a ProcedureManager.
- ProcedureName(TableName) - Constructor for class com.mckoi.database.ProcedureName
-
Constructs the ProcedureName from a TableName.
- ProcedureName(String, String) - Constructor for class com.mckoi.database.ProcedureName
-
Constructs the ProcedureName.
- ProcedureName() - Method in class com.mckoi.database.sql.SQL
- ProcParameterList(ArrayList, ArrayList) - Method in class com.mckoi.database.sql.SQL
- ProtocolConstants - Interface in com.mckoi.database.jdbc
-
Constants used in the JDBC database communication protocol.
- PUBLIC - Static variable in interface com.mckoi.database.sql.SQLConstants
- PUBLIC_USERNAME - Static variable in class com.mckoi.database.GrantManager
-
The name of the 'public' username.
- PUBLIC_USERNAME_STR - Static variable in class com.mckoi.database.GrantManager
-
The string representing the public user (privs granted to all users).
- PUSH_STREAMABLE_OBJECT_PART - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
For pushing a part of a streamable object onto the server from the client.
- pushStreamableObjectPart(byte, long, long, byte[], long, int) - Method in interface com.mckoi.database.jdbc.DatabaseInterface
-
Pushes a part of a streamable object from the client onto the server.
- pushStreamableObjectPart(byte, long, long, byte[], long, int) - Method in class com.mckoi.database.jdbcserver.AbstractJDBCDatabaseInterface
- put(byte) - Method in interface com.mckoi.store.AreaWriter
- put(byte) - Method in interface com.mckoi.store.MutableArea
- put(byte[]) - Method in interface com.mckoi.store.AreaWriter
- put(byte[]) - Method in interface com.mckoi.store.MutableArea
- put(byte[]) - Method in class com.mckoi.util.ByteBuffer
- put(byte[], int, int) - Method in interface com.mckoi.store.AreaWriter
- put(byte[], int, int) - Method in interface com.mckoi.store.MutableArea
- put(byte[], int, int) - Method in class com.mckoi.util.ByteBuffer
-
Puts a byte array into the buffer.
- put(ByteBuffer) - Method in class com.mckoi.util.ByteBuffer
-
Puts a ByteBuffer in to this buffer.
- put(Object, Object) - Method in class com.mckoi.util.Cache
-
Puts an Object into the cache with the given key.
- put(Object, Object) - Method in class com.mckoi.util.HashMapList
-
Puts a value into the map list.
- put(String, StatementTree) - Method in class com.mckoi.database.StatementCache
-
Puts a new query string/StatementTree into the cache.
- putBoolean(String, boolean) - Method in class com.mckoi.database.StatementTree
-
Puts a boolean into the statement tree map.
- putByte(byte) - Method in class com.mckoi.util.ByteBuffer
-
Puts/Gets a byte into the buffer at the current position.
- putCachedNode(long, Table) - Method in class com.mckoi.database.AbstractQueryContext
-
Put a Table into the cache.
- putCachedNode(long, Table) - Method in interface com.mckoi.database.QueryContext
-
Put a Table into the cache.
- putChar(char) - Method in interface com.mckoi.store.AreaWriter
- putChar(char) - Method in interface com.mckoi.store.MutableArea
- putInt(int) - Method in interface com.mckoi.store.AreaWriter
- putInt(int) - Method in interface com.mckoi.store.MutableArea
- putInt(int) - Method in class com.mckoi.util.ByteBuffer
-
Puts/Gets an integer into the buffer at the current position.
- putInt(String, int) - Method in class com.mckoi.database.StatementTree
-
Puts an integer into the statement tree map.
- putLong(long) - Method in interface com.mckoi.store.AreaWriter
- putLong(long) - Method in interface com.mckoi.store.MutableArea
- putObject(String, Object) - Method in class com.mckoi.database.StatementTree
-
Puts a new entry into the statement tree map.
- putShort(short) - Method in interface com.mckoi.store.AreaWriter
- putShort(short) - Method in interface com.mckoi.store.MutableArea
- putShort(short) - Method in class com.mckoi.util.ByteBuffer
-
Puts/Gets a short into the buffer at the current position.
Q
- qualify(String, String) - Static method in class com.mckoi.database.ProcedureName
-
Returns a version of this procedure qualified to the given schema (unless the schema is present).
- query - Variable in class com.mckoi.database.interpret.Statement
-
The SQLQuery object that was used to produce this statement.
- Query - Class in com.mckoi.jfccontrols
-
Encapsulates the information in a query to the database.
- Query(String) - Constructor for class com.mckoi.jfccontrols.Query
-
Constructs the query.
- QUERY - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Query sent to the server for processing.
- QUERY_PLAN_TYPE - Static variable in class com.mckoi.database.TType
-
A type that represents a query plan (sub-select).
- QueryAgent - Class in com.mckoi.jfccontrols
-
A class that is an agent for queries from the client environment to the server.
- QueryAgent(Connection) - Constructor for class com.mckoi.jfccontrols.QueryAgent
-
Constructs the query agent.
- QueryContext - Interface in com.mckoi.database
-
Facts about a particular query including the root table sources, user name of the controlling context, sequence state, etc.
- QueryPlan - Class in com.mckoi.database
-
Various helper methods for constructing a plan tree, and the plan node implementations themselves.
- QueryPlan() - Constructor for class com.mckoi.database.QueryPlan
- QueryPlan.BranchQueryPlanNode - Class in com.mckoi.database
-
A QueryPlanNode that is a branch with two child nodes.
- QueryPlan.CachePointNode - Class in com.mckoi.database
-
A cache point node that only evaluates the child if the result can not be found in the cache with the given unique id.
- QueryPlan.CompositeNode - Class in com.mckoi.database
-
A branch node for performing a composite function on two child nodes.
- QueryPlan.ConstantSelectNode - Class in com.mckoi.database
-
The node for evaluating an expression that contains entirely constant values (no variables).
- QueryPlan.CreateFunctionsNode - Class in com.mckoi.database
-
The node for merging the child node with a set of new function columns over the entire result.
- QueryPlan.DistinctNode - Class in com.mckoi.database
-
The node for performing a distinct operation on the given columns of the child node.
- QueryPlan.EquiJoinNode - Class in com.mckoi.database
-
A branch node for equi-joining two tables together given two sets of columns.
- QueryPlan.ExhaustiveSelectNode - Class in com.mckoi.database
-
The node for performing a exhaustive select operation on the child node.
- QueryPlan.FetchTableNode - Class in com.mckoi.database
-
The node for fetching a table from the current transaction.
- QueryPlan.FetchViewNode - Class in com.mckoi.database
-
The node that fetches a view from the current connection.
- QueryPlan.FunctionalSelectNode - Class in com.mckoi.database
-
The node for performing a functional select operation on the child node.
- QueryPlan.GroupNode - Class in com.mckoi.database
-
The node for performing a grouping operation on the columns of the child node.
- QueryPlan.JoinNode - Class in com.mckoi.database
-
A branch node for a non-equi join between two tables.
- QueryPlan.LeftOuterJoinNode - Class in com.mckoi.database
-
A branch node for a left outer join.
- QueryPlan.LogicalUnionNode - Class in com.mckoi.database
-
A branch node for a logical union of two tables of identical types.
- QueryPlan.MarkerNode - Class in com.mckoi.database
-
A marker node that takes the result of a child and marks it as a name that can later be retrieved.
- QueryPlan.MultiColumnEquiSelectNode - Class in com.mckoi.database
-
The node for performing an equi-select on a group of columns of the child node.
- QueryPlan.NaturalJoinNode - Class in com.mckoi.database
-
A branch node for naturally joining two tables together.
- QueryPlan.NonCorrelatedAnyAllNode - Class in com.mckoi.database
-
A branch node for a non-correlated ANY or ALL sub-query evaluation.
- QueryPlan.RangeSelectNode - Class in com.mckoi.database
-
The node for performing a simple indexed query on a single column of the child node.
- QueryPlan.SimplePatternSelectNode - Class in com.mckoi.database
-
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.
- QueryPlan.SimpleSelectNode - Class in com.mckoi.database
-
The node for performing a simple select operation on a table.
- QueryPlan.SingleQueryPlanNode - Class in com.mckoi.database
-
A QueryPlanNode with a single child.
- QueryPlan.SingleRowTableNode - Class in com.mckoi.database
-
A node for creating a table with a single row.
- QueryPlan.SortNode - Class in com.mckoi.database
-
The node for performing a sort operation on the given columns of the child node.
- QueryPlan.SubsetNode - Class in com.mckoi.database
-
The node for finding a subset and renaming the columns of the results in the child node.
- QueryPlanNode - Interface in com.mckoi.database
-
A node element of a query plan tree.
- QueryResponse - Interface in com.mckoi.database.jdbc
-
The response to a query executed via the 'execQuery' method in the DatabaseInterface interface.
- queryTableCheckExpressions(SimpleTransaction, TableName) - Static method in class com.mckoi.database.Transaction
-
Returns a set of check expressions that are constrained over all new columns added to the given table in this transaction.
- queryTableCheckExpressions(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.queryTableCheckExpression method.
- queryTableForeignKeyReferences(SimpleTransaction, TableName) - Static method in class com.mckoi.database.Transaction
-
Returns an array of column references in the given table that represent foreign key references.
- queryTableForeignKeyReferences(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.queryTableForeignKeyReferences method.
- queryTableImportedForeignKeyReferences(SimpleTransaction, TableName) - Static method in class com.mckoi.database.Transaction
-
Returns an array of column references in the given table that represent foreign key references that reference columns in the given table.
- queryTableImportedForeignKeyReferences(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.queryTableImportedForeignKeyReferences method.
- queryTablePrimaryKeyGroup(SimpleTransaction, TableName) - Static method in class com.mckoi.database.Transaction
-
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).
- queryTablePrimaryKeyGroup(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.queryTablePrimaryKeyGroup method.
- queryTablesRelationallyLinkedTo(SimpleTransaction, TableName) - Static method in class com.mckoi.database.Transaction
-
Returns the list of tables (as a TableName array) that are dependant on the data in the given table to maintain referential consistancy.
- queryTablesRelationallyLinkedTo(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.queryTablesRelationallyLinkedTo method.
- queryTableUniqueGroups(SimpleTransaction, TableName) - Static method in class com.mckoi.database.Transaction
-
Returns a set of unique groups that are constrained to be unique for the given table in this transaction.
- queryTableUniqueGroups(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.queryTableUniqueGroups method.
- quickSort() - Method in class com.mckoi.util.IntegerVector
-
Performs a quick sort on the entire vector.
- quickSort(int, int) - Method in class com.mckoi.util.IntegerVector
-
Performs a quick sort on the array between the min and max bounds.
- quickSort(Comparable[]) - Static method in class com.mckoi.util.SortUtil
-
Performs a quick sort on the given array of Comparable objects.
- quickSort(Comparable[], int, int) - Static method in class com.mckoi.util.SortUtil
-
Performs a quick sort on the given array of Comparable objects between the min and maximum range.
- quote(String) - Static method in class com.mckoi.database.jdbc.MckoiConnection
-
Given a string, this will use escape codes to convert the Java string into a Mckoi SQL string that can be parsed correctly by the database.
- QUOTED_DELIMINATED_REF - Static variable in interface com.mckoi.database.sql.SQLConstants
- QUOTED_VARIABLE - Static variable in interface com.mckoi.database.sql.SQLConstants
- QUOTEDGLOBVARIABLE - Static variable in interface com.mckoi.database.sql.SQLConstants
R
- rangeSelect(Variable, SelectableRange[]) - Method in class com.mckoi.database.Table
-
A single column range select on this table.
- RangeSelectNode(QueryPlanNode, Expression) - Constructor for class com.mckoi.database.QueryPlan.RangeSelectNode
- RawDiagnosticTable - Interface in com.mckoi.database
-
An interface that allows for the inspection and repair of the raw data in a file.
- rawRecordCount() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns the total number of records that are in the store (including deleted records.
- rawSectorCount() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns the total number of sectors that are currently available (includes used and deleted sectors).
- read() - Method in class com.mckoi.database.jdbc.AsciiReader
- read() - Method in class com.mckoi.database.jdbc.BinaryToUnicodeReader
- read() - Method in class com.mckoi.util.LengthMarkedBufferedInputStream
- read() - Method in class com.mckoi.util.PagedInputStream
- read(byte[], int, int) - Method in class com.mckoi.util.LengthMarkedBufferedInputStream
- read(byte[], int, int) - Method in class com.mckoi.util.PagedInputStream
- read(char[], int, int) - Method in class com.mckoi.database.jdbc.AsciiReader
- read(char[], int, int) - Method in class com.mckoi.database.jdbc.BinaryToUnicodeReader
- read(int, byte[], int, int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Reads a variable length byte[] array from the given index position.
- read(long, byte[], int) - Method in interface com.mckoi.database.global.Ref
-
Reads a part of this large object from the store into the given byte buffer.
- read(long, byte[], int, int) - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- read(DataInput) - Static method in class com.mckoi.database.DataIndexDef
-
Reads a DataIndexDef from the given DataInput object.
- read(DataInput) - Static method in class com.mckoi.database.DataIndexSetDef
-
Reads the DataIndexSetDef object from the given DataInput.
- READ - Static variable in class com.mckoi.database.Lock
-
These statics are used to define whether the lock is a READ or WRITE lock.
- read_only - Variable in class com.mckoi.store.AbstractStore
-
True if this is read-only.
- readAcross(int, byte[], int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Reads information across a chain of sectors and fills the byte[] array buffer.
- readBins() - Method in class com.mckoi.store.AbstractStore
-
Reads the bins from the header information in the file.
- readByteArrayFrom(long, byte[], int, int) - Method in class com.mckoi.store.AbstractStore
-
Reads a byte array from the given position in the file.
- readByteArrayFrom(long, byte[], int, int) - Method in class com.mckoi.store.JournalledFileStore
- readByteFrom(long) - Method in class com.mckoi.store.AbstractStore
-
Reads a byte from the given position in the file.
- readByteFrom(long) - Method in class com.mckoi.store.JournalledFileStore
- readChar() - Method in class com.mckoi.database.sql.SimpleCharStream
- readChars(int) - Method in interface com.mckoi.database.CellInput
-
Reads a string of chars from the input stream up to the given length and returns it as a String object.
- READCOMMITTED - Static variable in interface com.mckoi.database.sql.SQLConstants
- readFrom(DataInputStream) - Static method in class com.mckoi.database.global.ColumnDescription
-
Reads a ColumnDescription from the given DataInputStream and returns a new instance of it.
- readFrom(DataInputStream) - Static method in class com.mckoi.database.global.ObjectTransfer
-
Writes an object from the data input stream.
- readFrom(DataInputStream) - Static method in class com.mckoi.database.jdbc.SQLQuery
-
Reads an SQLQuery object from the data input stream.
- readFrom(InputStream) - Method in class com.mckoi.database.BlindSearch
-
Reads the entire state of the scheme from the input stream.
- readFrom(InputStream) - Method in class com.mckoi.database.CollatedBaseSearch
-
Reads the entire state of the scheme from the input stream.
- readFrom(InputStream) - Method in class com.mckoi.database.InsertSearch
-
Reads the entire state of the scheme from the input stream.
- readFrom(InputStream) - Method in class com.mckoi.database.SelectableScheme
-
Reads the entire contents of the scheme from a InputStream object.
- readFully(long, byte[], int, int) - Method in class com.mckoi.store.StreamFile
-
Fully reads a block from a section of the file into the given byte[] array at the given position.
- readOnlyAccess() - Method in class com.mckoi.database.TransactionSystem
-
Returns true if the database is in read only mode.
- readPageContent(byte[], long, int) - Method in class com.mckoi.util.PagedInputStream
-
Reads the page at the given offset in the underlying data into the given byte[] array.
- readRecord(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Reads in a complete record and puts it into the returned byte[] array.
- readRecordType(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Reads the 32-bit type_key int for the given record.
- readReservedBuffer(byte[], int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Reads from the buffer reserve into the given byte array.
- readReservedBuffer(byte[], int, int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Reads reserved information from the variable data store.
- readString(int) - Method in class com.mckoi.database.VariableSizeDataStore
- READUNCOMMITTED - Static variable in interface com.mckoi.database.sql.SQLConstants
- ready() - Method in class com.mckoi.database.jdbc.AsciiReader
- ready() - Method in class com.mckoi.database.jdbc.BinaryToUnicodeReader
- REAL - Static variable in interface com.mckoi.database.global.SQLTypes
- REAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- reboundArea(long, long[], boolean) - Method in class com.mckoi.store.AbstractStore
-
Rebounds the given area with the given header information.
- RECORD_STATE_ERROR - Static variable in interface com.mckoi.database.RawDiagnosticTable
-
Denotes an erroneous record state.
- recordDeleted(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns true if the given record is marked as deleted or not.
- recordMiscInformation(int) - Method in interface com.mckoi.database.RawDiagnosticTable
-
Returns any misc information regarding this row as a human readable string.
- recordSectorCount(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns the number of sectors the given record takes up in the data store.
- recordSize(int) - Method in interface com.mckoi.database.RawDiagnosticTable
-
The number of bytes the record takes up on the underlying media.
- recordSize(int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns the size of the given record number (compressed size if applicable).
- recordState(int) - Method in interface com.mckoi.database.RawDiagnosticTable
-
Returns the state of the given record index.
- Ref - Interface in com.mckoi.database.global
-
An interface that represents a reference to a object that isn't stored in main memory.
- REF - Static variable in interface com.mckoi.database.global.SQLTypes
- ref_columns - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
The list of columns that make up the referenced group.
- ref_table_name - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
The referenced table name.
- reference_list - Variable in class com.mckoi.database.JoinedTable
-
The list of tables that make up the join.
- REFERENCES - Static variable in class com.mckoi.database.Privileges
-
The priv to REFERENCE a database object.
- REFERENCES - Static variable in interface com.mckoi.database.sql.SQLConstants
- ReferenceTable - Class in com.mckoi.database
-
This is an implementation of a Table that references a DataTable as its parent.
- ReferentialTrigger() - Method in class com.mckoi.database.sql.SQL
- refreshLastCommandTime() - Method in class com.mckoi.database.User
-
Refreshes the last time a command was executed by this user.
- refreshRow() - Method in class com.mckoi.database.jdbc.MResultSet
- REGEX - Static variable in interface com.mckoi.database.sql.SQLConstants
- REGEX_LITERAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- RegexLibrary - Interface in com.mckoi.database
-
An interface that links with a Regex library.
- regexMatch(String, String, String) - Method in class com.mckoi.database.regexbridge.JavaRegex
- regexMatch(String, String, String) - Method in interface com.mckoi.database.RegexLibrary
-
Matches a regular expression against a string value.
- regexSearch(Table, int, String, String) - Method in class com.mckoi.database.regexbridge.JavaRegex
- regexSearch(Table, int, String, String) - Method in interface com.mckoi.database.RegexLibrary
-
Performs a regular expression search on the given column of the table.
- register() - Static method in class com.mckoi.database.jdbc.MDriver
-
Static method that registers this driver with the JDBC driver manager.
- registerShutDownDelegate(Runnable) - Method in class com.mckoi.database.Database
-
Registers the delegate that is executed when the shutdown thread is activated.
- ReInit(SimpleCharStream) - Method in class com.mckoi.database.sql.SQLTokenManager
- ReInit(SimpleCharStream, int) - Method in class com.mckoi.database.sql.SQLTokenManager
- ReInit(SQLTokenManager) - Method in class com.mckoi.database.sql.SQL
- ReInit(InputStream) - Method in class com.mckoi.database.sql.SimpleCharStream
- ReInit(InputStream) - Method in class com.mckoi.database.sql.SQL
- ReInit(InputStream, int, int) - Method in class com.mckoi.database.sql.SimpleCharStream
- ReInit(InputStream, int, int, int) - Method in class com.mckoi.database.sql.SimpleCharStream
- ReInit(Reader) - Method in class com.mckoi.database.sql.SimpleCharStream
- ReInit(Reader) - Method in class com.mckoi.database.sql.SQL
- ReInit(Reader, int, int) - Method in class com.mckoi.database.sql.SimpleCharStream
- ReInit(Reader, int, int, int) - Method in class com.mckoi.database.sql.SimpleCharStream
- relative(int) - Method in class com.mckoi.database.jdbc.MResultSet
- releaseReference(long) - Method in interface com.mckoi.database.BlobStoreInterface
-
Tells the BlobStore that a static reference has been released to the given blob.
- releaseSavepoint(Savepoint) - Method in class com.mckoi.database.jdbc.MConnection
- remove() - Method in interface com.mckoi.util.IntegerIterator
-
Removes from the list the last element returned by the iterator.
- remove(int) - Method in class com.mckoi.database.BlindSearch
-
This scheme doesn't take any notice of insertions or removals.
- remove(int) - Method in class com.mckoi.database.CollatedBaseSearch
-
This scheme doesn't take any notice of insertions or removals.
- remove(int) - Method in class com.mckoi.database.InsertSearch
-
Removes a row from the list.
- remove(int) - Method in class com.mckoi.database.Privileges
-
Removes a privilege with a column list parameter.
- remove(int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Removes an int from the given position in the list.
- remove(int) - Method in interface com.mckoi.util.IntegerListInterface
-
Removes an int from the given position in the list.
- remove(int) - Method in class com.mckoi.util.StringListBucket
-
Removes the string at the given index of the list.
- remove(Privileges) - Method in class com.mckoi.database.Privileges
-
Removes the given privileges from this privileges object and returns the new privileges object.
- remove(Object) - Method in class com.mckoi.util.Cache
-
Ensures that there is no cell with the given key in the cache.
- remove(Object, Object) - Method in class com.mckoi.util.HashMapList
-
Removes the given value from the list with the given key.
- removeAll() - Method in class com.mckoi.util.Cache
-
Clear the cache of all the entries.
- removeDataIndexDef(int) - Method in class com.mckoi.database.DataIndexSetDef
-
Removes a DataIndexDef to this table.
- removeDataTableListener(DataTableListener) - Method in class com.mckoi.database.DataTable
-
Removes a DataTableListener from the DataTable objects at the root of this table tree hierarchy.
- removeFromBlock(int, IntegerListBlockInterface, int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Removes the value from the given position in the specified block.
- removeFunction(String) - Method in class com.mckoi.database.FunctionFactory
-
Removes a static function from this factory.
- removeGrant(Privileges, int, String, String, boolean, String) - Method in class com.mckoi.database.GrantManager
-
Removes a grant on the given object for the given grantee, grant option and granter.
- removeInt(int) - Method in class com.mckoi.util.IntegerVector
-
Removes the first Int found that matched the specified value.
- removeIntAt(int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Removes an Int from the specified position in the block.
- removeIntAt(int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Removes an Int from the specified position in the block.
- removeIntAt(int) - Method in class com.mckoi.util.IntegerVector
-
Removes an Int from the specified position in the list.
- removeRootLock() - Method in interface com.mckoi.database.MutableTableDataSource
-
Removes a root lock from this source.
- removeRow(int) - Method in interface com.mckoi.database.MutableTableDataSource
-
Completely removes a row from the source.
- removeSort(int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Removes a plain 'int' value from the sorted position in the list only if it's already in the list.
- removeSort(int) - Method in interface com.mckoi.util.IntegerListInterface
-
Removes a plain 'int' value from the sorted position in the list only if it's already in the list.
- removeSort(Object, int, IndexComparator) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Removes the key/val pair from the list by first searching for it, and then removing it from the list.
- removeSort(Object, int, IndexComparator) - Method in interface com.mckoi.util.IntegerListInterface
-
Removes the key/val pair from the list by first searching for it, and then removing it from the list.
- removeTransactionModificationListener(TableName, TransactionModificationListener) - Method in class com.mckoi.database.TableDataConglomerate
-
Removes a listener for transaction modification events on the given table in this conglomerate as previously set by the 'addTransactionModificationListener' method.
- removeTriggerListener(String, TriggerListener) - Method in class com.mckoi.database.jdbc.MckoiConnection
-
Removes a TriggerListener that is listening for triggers with the given name.
- rename(File, String, File, String) - Static method in class com.mckoi.database.VariableSizeDataStore
-
Convenience for renaming a VariableSizeDataStore store to another name.
- repair() - Method in class com.mckoi.database.FixedSizeDataStore
-
Repairs the consistancy of the store.
- REPEATABLEREAD - Static variable in interface com.mckoi.database.sql.SQLConstants
- reset() - Method in class com.mckoi.database.jdbc.AsciiReader
- reset() - Method in class com.mckoi.database.jdbc.BinaryToUnicodeReader
- reset() - Method in class com.mckoi.database.LockingMechanism
-
Resets this object so it may be reused.
- reset() - Method in class com.mckoi.database.sql.SQL
-
Resets the parameter id.
- reset() - Method in class com.mckoi.util.PagedInputStream
- resetSession() - Method in class com.mckoi.util.Stats
-
Resets all stats that start with "{session}" to 0.
- resolve(TableName, String) - Static method in class com.mckoi.database.Variable
-
Attempts to resolve a string '[table_name].[column]' to a Variable instance.
- resolve(Variable) - Method in interface com.mckoi.database.VariableResolver
-
Returns the value of a given variable.
- resolve(Variable, int) - Method in interface com.mckoi.database.GroupResolver
-
Returns the value of a variable of a group.
- resolve(String) - Static method in class com.mckoi.database.TableName
-
Resolves a [schema name].[table name] type syntax to a TableName object.
- resolve(String) - Static method in class com.mckoi.database.Variable
-
Attempts to resolve a string '[table_name].[column]' to a Variable instance.
- resolve(String, String) - Static method in class com.mckoi.database.TableName
-
Resolves a [schema name].[table name] type syntax to a TableName object.
- resolveAllRowsForTableAt(IntegerVector, int) - Method in class com.mckoi.database.JoinedTable
-
Given an IntegerVector that represents a list of pointers to rows in this table, this resolves the rows to row indexes in the given parent table.
- resolveAllRowsForTableAt(IntegerVector, int) - Method in class com.mckoi.database.NaturallyJoinedTable
- resolveAllRowsForTableAt(IntegerVector, int) - Method in class com.mckoi.database.VirtualTable
- resolveColumn(String, String, String, String) - Method in class com.mckoi.database.interpret.FromTableDirectSource
- resolveColumn(String, String, String, String) - Method in interface com.mckoi.database.interpret.FromTableInterface
-
Returns a Variable that is a fully resolved form of the given column in this table set.
- resolveColumn(String, String, String, String) - Method in class com.mckoi.database.interpret.FromTableSubQuerySource
- resolveColumnCount(String, String, String, String) - Method in class com.mckoi.database.interpret.FromTableDirectSource
- resolveColumnCount(String, String, String, String) - Method in interface com.mckoi.database.interpret.FromTableInterface
-
Returns the number of instances we can resolve the given catalog, schema, table and column name to a column or columns within this item.
- resolveColumnCount(String, String, String, String) - Method in class com.mckoi.database.interpret.FromTableSubQuerySource
- resolveColumnName(String, boolean) - Method in class com.mckoi.database.DataTableDef
-
Resolves a single column name to its correct form.
- resolveColumnsInArray(DatabaseConnection, ArrayList) - Method in class com.mckoi.database.DataTableDef
-
Given a list of column names referencing entries in this table, this will resolve each one to its correct form.
- resolved_name - Variable in class com.mckoi.database.interpret.SelectColumn
-
The fully resolved name that this column is given in the resulting table.
- resolveFunctionName(String, Expression[]) - Static method in class com.mckoi.database.sql.Util
-
Returns a Function object that represents the name and expression list (of parameters) of a function.
- resolveIndexName(String, boolean) - Method in class com.mckoi.database.DataIndexSetDef
-
Attempts to resolve the given index name from the index in this table.
- resolveRowForTableAt(int, int) - Method in class com.mckoi.database.JoinedTable
-
Given a row and a table index (to a parent reference table), this will return the row index in the given parent table for the given row.
- resolveRowForTableAt(int, int) - Method in class com.mckoi.database.NaturallyJoinedTable
- resolveRowForTableAt(int, int) - Method in class com.mckoi.database.VirtualTable
- resolveSchema(String) - Method in class com.mckoi.database.TableName
-
Resolves a schema reference in a table name.
- resolveSchemaCase(String, boolean) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.resolveSchemaCase method.
- resolveSchemaCase(String, boolean) - Method in class com.mckoi.database.Transaction
-
Resolves the case of the given schema name if the database is performing case insensitive identifier matching.
- resolveSchemaName(String) - Method in class com.mckoi.database.DatabaseConnection
-
Convenience - returns the SchemaDef object given the name of the schema.
- resolveTableName(TableName) - Method in class com.mckoi.database.Variable
-
Returns a ColumnName that is resolved against a table name context only if the ColumnName is unknown in this object.
- resolveTableName(String) - Method in class com.mckoi.database.DatabaseConnection
-
Resolves a TableName string (eg.
- resolveToTableName(String) - Method in class com.mckoi.database.DatabaseConnection
-
Resolves the given string to a table name, throwing an exception if the reference is ambiguous.
- resolveToTableName(String, String, boolean) - Method in class com.mckoi.database.SimpleTransaction
-
Resolves the given string to a table name, throwing an exception if the reference is ambiguous.
- resolveTree() - Method in class com.mckoi.database.interpret.Statement
-
Performs initial preparation on the contents of the StatementTree by resolving all sub queries and mapping functions to their executable forms.
- resolveVariableName(Variable) - Method in class com.mckoi.database.interpret.Statement
-
Given a Variable object, this will resolve the name into a column name the database understands (substitutes aliases, etc).
- RESTRICT - Static variable in interface com.mckoi.database.sql.SQLConstants
- RESULT_SECTION - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Requests a section of a result from the server.
- ResultOutputUtil - Class in com.mckoi.util
-
Utilities for parsing a ResultSet and outputing it in different forms.
- ResultOutputUtil() - Constructor for class com.mckoi.util.ResultOutputUtil
- ResultPart - Class in com.mckoi.database.jdbc
-
A container class that holds a part of a result set.
- ResultPart() - Constructor for class com.mckoi.database.jdbc.ResultPart
- ResultPart(int) - Constructor for class com.mckoi.database.jdbc.ResultPart
- ResultSetTableModel - Class in com.mckoi.jfccontrols
-
An implementation of a javax.swing.table.TableModel that updates itself from a scrollable java.sql.ResultSet source.
- ResultSetTableModel() - Constructor for class com.mckoi.jfccontrols.ResultSetTableModel
- ResultSetTableModel(ResultSet) - Constructor for class com.mckoi.jfccontrols.ResultSetTableModel
-
Constructs the model.
- resultTable(DatabaseQueryContext, int) - Static method in class com.mckoi.database.FunctionTable
-
Returns a FunctionTable that has an int value made into a BigDecimal.
- resultTable(DatabaseQueryContext, Expression) - Static method in class com.mckoi.database.FunctionTable
-
Returns a FunctionTable that has a single Expression evaluated in it.
- resultTable(DatabaseQueryContext, TObject) - Static method in class com.mckoi.database.FunctionTable
-
Returns a FunctionTable that has a single TObject in it.
- resultTable(DatabaseQueryContext, Object) - Static method in class com.mckoi.database.FunctionTable
-
Returns a FunctionTable that has a single Object in it.
- RETURNS - Static variable in interface com.mckoi.database.sql.SQLConstants
- returnTType() - Method in class com.mckoi.database.AbstractFunction
- returnTType() - Method in class com.mckoi.database.CorrelatedVariable
-
Returns the TType this correlated variable evaluates to.
- returnTType() - Method in class com.mckoi.database.Operator
-
The type of object this Operator evaluates to.
- returnTType(Variable) - Method in interface com.mckoi.database.VariableResolver
-
Returns the TType of object the given variable is.
- returnTType(VariableResolver, QueryContext) - Method in class com.mckoi.database.AbstractFunction
-
By Default, we assume a function returns a Numeric object.
- returnTType(VariableResolver, QueryContext) - Method in class com.mckoi.database.Expression
-
Determines the type of object this expression evaluates to.
- returnTType(VariableResolver, QueryContext) - Method in interface com.mckoi.database.Function
-
The type of object this function returns.
- reverse() - Method in class com.mckoi.database.Operator
-
Returns an Operator that is the reverse of this Operator.
- reverse() - Method in class com.mckoi.util.IntegerVector
-
Reverses all the list of integers.
- Revoke() - Method in class com.mckoi.database.sql.SQL
- REVOKE - Static variable in interface com.mckoi.database.sql.SQLConstants
- revokeAllGrantsOnObject(int, String) - Method in class com.mckoi.database.GrantManager
-
Completely removes all privs granted on the given object for all users.
- revokeAllGrantsOnObject(int, String, String, boolean, String) - Method in class com.mckoi.database.GrantManager
-
Removes all privs granted on the given object for the given grantee with the given grant option.
- right - Variable in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
The left and right node.
- right() - Method in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
-
Returns the right node.
- RIGHT - Static variable in interface com.mckoi.database.sql.SQLConstants
- RIGHT_OUTER_JOIN - Static variable in class com.mckoi.database.JoiningSet
- rollback() - Method in class com.mckoi.database.DatabaseConnection
-
Rolls back the current transaction operating within this connection.
- rollback() - Method in class com.mckoi.database.jdbc.MConnection
- rollback(Savepoint) - Method in class com.mckoi.database.jdbc.MConnection
- ROLLBACK - Static variable in interface com.mckoi.database.sql.SQLConstants
- RootTable - Interface in com.mckoi.database
-
Interface that is implemented by all Root tables.
- ROW - Static variable in interface com.mckoi.database.sql.SQLConstants
- row_count - Variable in class com.mckoi.database.DefaultDataTable
-
The number of rows in the table.
- row_list - Variable in class com.mckoi.database.VirtualTable
-
Array of IntegerVectors that represent the rows taken from the given parents.
- ROW_REMOVE_CLASH - Static variable in exception com.mckoi.database.TransactionException
-
Thrown when a transaction deletes or updates a row that another transaction has committed a change to.
- RowData - Class in com.mckoi.database
-
Represents a row of data to be added into a table.
- RowData(TableDataSource) - Constructor for class com.mckoi.database.RowData
-
The Constructor generates a blank row.
- RowData(TransactionSystem, int) - Constructor for class com.mckoi.database.RowData
-
To create a RowData object without an underlying table.
- rowDeleted() - Method in class com.mckoi.database.jdbc.MResultSet
- rowEnumeration() - Method in class com.mckoi.database.CompositeTable
- rowEnumeration() - Method in class com.mckoi.database.DataTable
-
Returns an Enumeration of the rows in this table.
- rowEnumeration() - Method in class com.mckoi.database.DataTableFilter
-
Returns an Enumeration of the rows in this table.
- rowEnumeration() - Method in class com.mckoi.database.FilterTable
-
Returns an Enumeration of the rows in this table.
- rowEnumeration() - Method in class com.mckoi.database.FunctionTable
-
Returns an Enumeration of the rows in this table.
- rowEnumeration() - Method in class com.mckoi.database.JoinedTable
-
Returns an Enumeration of the rows in this table.
- rowEnumeration() - Method in class com.mckoi.database.SimpleTableQuery
-
Returns a RowEnumeration that is used to iterate through the entire list of valid rows in the table.
- rowEnumeration() - Method in class com.mckoi.database.Table
-
Returns an Enumeration of the rows in this table.
- rowEnumeration() - Method in interface com.mckoi.database.TableDataSource
-
Returns an iterator that is used to sequentually step through all valid rows in this source.
- rowEnumeration() - Method in class com.mckoi.database.TemporaryTable
-
Returns an Enumeration of the rows in this table.
- RowEnumeration - Interface in com.mckoi.database
-
This enumeration allows for access to a tables rows.
- rowGroup(int) - Method in class com.mckoi.database.FunctionTable
-
Returns the group of the row at the given index.
- rowInserted() - Method in class com.mckoi.database.jdbc.MResultSet
- rowUpdated() - Method in class com.mckoi.database.jdbc.MResultSet
S
- save() - Method in class com.mckoi.database.TableDescriptions
-
Updates the table description file in the database.
- scanForLeaks() - Method in class com.mckoi.database.V2MasterTableDataSource
-
Looks for any leaks in the file.
- ScatteringStoreDataAccessor - Class in com.mckoi.store
-
An implementation of StoreDataAccessor that scatters the addressible data resource across multiple files in the file system.
- ScatteringStoreDataAccessor(File, String, String, long) - Constructor for class com.mckoi.store.ScatteringStoreDataAccessor
-
Constructs the store data accessor.
- Schema - Class in com.mckoi.database.interpret
-
Statement container that handles the CREATE SCHEMA and DROP SCHEMA statements.
- Schema() - Constructor for class com.mckoi.database.interpret.Schema
- SCHEMA - Static variable in class com.mckoi.database.GrantManager
-
Represents a SCHEMA object to grant privs over for the user.
- SCHEMA - Static variable in interface com.mckoi.database.sql.SQLConstants
- SCHEMA_ALL_PRIVS - Static variable in class com.mckoi.database.Privileges
-
All access privs for a schema object.
- SCHEMA_INFO_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
-
The schema info table.
- SCHEMA_MANAGER_GROUP - Static variable in class com.mckoi.database.Database
-
The name of the schema manager group.
- SCHEMA_READ_PRIVS - Static variable in class com.mckoi.database.Privileges
-
Read access privs for a schema object.
- SchemaDef - Class in com.mckoi.database
-
A definition of a schema.
- SchemaDef(String, String) - Constructor for class com.mckoi.database.SchemaDef
-
Constructs the SchemaDef.
- schemaExists(String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.schemaExists method.
- schemaExists(String) - Method in class com.mckoi.database.Transaction
-
Returns true if the schema exists within this transaction.
- SchemaName() - Method in class com.mckoi.database.sql.SQL
- searchAndReplace(String, String, String) - Static method in class com.mckoi.util.StringUtil
-
Searches for various instances of the 'search' string and replaces them with the 'replace' string.
- SearchExpression - Class in com.mckoi.database.interpret
-
Search expression is a form of an Expression that is split up into component parts that can be easily formed into a search query.
- SearchExpression() - Constructor for class com.mckoi.database.interpret.SearchExpression
- searchFirst(int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Assuming a sorted block, finds the first index in the block that equals the given value.
- searchFirst(int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Assuming a sorted block, finds the first index in the block that equals the given value.
- searchFirst(TObject) - Method in class com.mckoi.database.CollatedBaseSearch
-
Finds the position in the collated set of the first value in the column equal to the given value.
- searchFirst(TObject) - Method in class com.mckoi.database.InsertSearch
- searchFirst(Object, IndexComparator) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Returns the index of the first value in this set that equals the given value.
- searchFirst(Object, IndexComparator) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Considers each int a reference to another structure, and the block sorted by these structures.
- searchFirst(Object, IndexComparator) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Considers each int a reference to another structure, and the block sorted by these structures.
- searchFirst(Object, IndexComparator) - Method in interface com.mckoi.util.IntegerListInterface
-
Returns the index of the first value in this set that equals the given value.
- searchLast(int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Assuming a sorted block, finds the first index in the block that equals the given value.
- searchLast(int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Assuming a sorted block, finds the first index in the block that equals the given value.
- searchLast(TObject) - Method in class com.mckoi.database.CollatedBaseSearch
-
Finds the position in the collated set of the last value in the column equal to the given value.
- searchLast(TObject) - Method in class com.mckoi.database.InsertSearch
- searchLast(Object, IndexComparator) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Returns the index of the last value in this set that equals the given value.
- searchLast(Object, IndexComparator) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Considers each int a reference to another structure, and the block sorted by these structures.
- searchLast(Object, IndexComparator) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Considers each int a reference to another structure, and the block sorted by these structures.
- searchLast(Object, IndexComparator) - Method in interface com.mckoi.util.IntegerListInterface
-
Returns the index of the last value in this set that equals the given value.
- SearchResults - Class in com.mckoi.util
-
This object stores the result of a given search.
- SearchResults() - Constructor for class com.mckoi.util.SearchResults
-
The Constructor.
- SECONDARY_STRENGTH - Static variable in interface com.mckoi.database.sql.SQLConstants
- sectorSize() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns the size (in bytes) of the sectors used to store information in the data file.
- SECURE_GROUP - Static variable in class com.mckoi.database.Database
-
THe name of the secure access group.
- seek(int) - Method in class com.mckoi.database.CellBufferOutputStream
-
Sets the pointer to specified point in the array.
- Select - Class in com.mckoi.database.interpret
-
Logic for interpreting an SQL SELECT statement.
- Select() - Constructor for class com.mckoi.database.interpret.Select
- Select() - Method in class com.mckoi.database.sql.SQL
- SELECT - Static variable in class com.mckoi.database.Privileges
-
The priv to SELECT from a database object.
- SELECT - Static variable in interface com.mckoi.database.sql.SQLConstants
- SelectableRange - Class in com.mckoi.database
-
An object that represents a range of values to select from a list.
- SelectableRange(byte, TObject, byte, TObject) - Constructor for class com.mckoi.database.SelectableRange
-
Constructs the range.
- SelectableRangeSet - Class in com.mckoi.database
-
Represents a complex normalized range of a list.
- SelectableRangeSet() - Constructor for class com.mckoi.database.SelectableRangeSet
-
Constructs the SelectableRangeSet to a full range (a range that encompases all values).
- SelectableScheme - Class in com.mckoi.database
-
Represents a base class for a mechanism to select ranges from a given set.
- SelectableScheme(TableDataSource, int) - Constructor for class com.mckoi.database.SelectableScheme
-
The constructor for all schemes.
- selectAll() - Method in class com.mckoi.database.BlindSearch
- selectAll() - Method in class com.mckoi.database.CollatedBaseSearch
- selectAll() - Method in class com.mckoi.database.InsertSearch
-
The select operations for this scheme.
- selectAll() - Method in class com.mckoi.database.SelectableScheme
-
These are the select operations that are the main purpose of the scheme.
- selectAll() - Method in class com.mckoi.database.Table
-
Returns a list of rows that represents the enumerator order of this table.
- selectAll(int) - Method in class com.mckoi.database.Table
-
Returns an array that represents the sorted order of this table by the given column number.
- selectAllNonNull() - Method in class com.mckoi.database.SelectableScheme
-
Selects all values in the column that are not null.
- selectBetween(TObject, TObject) - Method in class com.mckoi.database.SelectableScheme
- SelectColumn - Class in com.mckoi.database.interpret
-
Represents a column selected to be in the output of a select statement.
- SelectColumn() - Constructor for class com.mckoi.database.interpret.SelectColumn
- SelectColumn() - Method in class com.mckoi.database.sql.SQL
- SelectColumnList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- selectEqual(TObject) - Method in class com.mckoi.database.SelectableScheme
- selectFirst() - Method in class com.mckoi.database.SelectableScheme
- selectFirst(int) - Method in class com.mckoi.database.Table
-
Returns an array that represents the first sorted element(s) of the given column number.
- selectGreater(TObject) - Method in class com.mckoi.database.SelectableScheme
- selectGreaterOrEqual(TObject) - Method in class com.mckoi.database.SelectableScheme
- SelectGroupByList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- selectIndexesEqual(int, TObject) - Method in class com.mckoi.database.SimpleTableQuery
-
Finds the index of all the rows in the table where the given column is equal to the given object.
- selectIndexesEqual(int, TObject, int, TObject) - Method in class com.mckoi.database.SimpleTableQuery
-
Finds the index of all the rows in the table where the given column is equal to the given object for both of the clauses.
- selectIndexesEqual(int, Object) - Method in class com.mckoi.database.SimpleTableQuery
-
Finds the index of all the rows in the table where the given column is equal to the given object.
- selectIndexesEqual(int, Object, int, Object) - Method in class com.mckoi.database.SimpleTableQuery
-
Finds the index of all the rows in the table where the given column is equal to the given object for both of the clauses.
- selectLast() - Method in class com.mckoi.database.SelectableScheme
- selectLast(int) - Method in class com.mckoi.database.Table
-
Returns an array that represents the last sorted element(s) of the given column number.
- selectLess(TObject) - Method in class com.mckoi.database.SelectableScheme
- selectLessOrEqual(TObject) - Method in class com.mckoi.database.SelectableScheme
- selectNotEqual(TObject) - Method in class com.mckoi.database.SelectableScheme
- selectNotFirst() - Method in class com.mckoi.database.SelectableScheme
- selectNotLast() - Method in class com.mckoi.database.SelectableScheme
- SelectOrderByList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- selectRange(int, SelectableRange[]) - Method in class com.mckoi.database.Table
-
Returns an array that represents the sorted order of this table of all values in the given SelectableRange objects of the given column index.
- selectRange(SelectableRange) - Method in class com.mckoi.database.BlindSearch
- selectRange(SelectableRange) - Method in class com.mckoi.database.CollatedBaseSearch
- selectRange(SelectableRange[]) - Method in class com.mckoi.database.BlindSearch
- selectRange(SelectableRange[]) - Method in class com.mckoi.database.CollatedBaseSearch
- selectRest(int) - Method in class com.mckoi.database.Table
-
Returns an array that represents the rest of the sorted element(s) of the given column number.
- SelectTableList(FromClause) - Method in class com.mckoi.database.sql.SQL
- Sequence - Class in com.mckoi.database.interpret
-
A statement tree for creating and dropping sequence generators.
- Sequence() - Constructor for class com.mckoi.database.interpret.Sequence
- SEQUENCE - Static variable in interface com.mckoi.database.sql.SQLConstants
- SequenceName() - Method in class com.mckoi.database.sql.SQL
- SERIALIZABLE - Static variable in interface com.mckoi.database.sql.SQLConstants
- serialize(Object) - Static method in class com.mckoi.database.global.ObjectTranslator
-
Serializes the Java object to a ByteLongObject.
- serializeToBlob() - Method in class com.mckoi.database.jdbc.SQLQuery
-
Serializes an SQLQuery object to a ByteLongObject.
- SERVER_REQUEST - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Denotes a server side request for information.
- set(int, String) - Method in class com.mckoi.util.Stats
-
Sets the given stat name with the given value.
- set(Variable) - Method in class com.mckoi.database.Variable
-
Sets this Variable object with information from the given Variable.
- Set - Class in com.mckoi.database.interpret
-
The SQL SET statement.
- Set() - Constructor for class com.mckoi.database.interpret.Set
- Set() - Method in class com.mckoi.database.sql.SQL
- SET - Static variable in interface com.mckoi.database.sql.SQLConstants
- SET_DEFAULT - Static variable in class com.mckoi.database.Transaction
- SET_NULL - Static variable in class com.mckoi.database.Transaction
- setAction(String) - Method in class com.mckoi.database.interpret.AlterTableAction
-
Set the action to perform.
- setAggregate(boolean) - Method in class com.mckoi.database.AbstractFunction
-
Call this from the constructor if the function is an aggregate.
- setAutoCommit(boolean) - Method in class com.mckoi.database.DatabaseConnection
-
Sets the auto-commit mode.
- setAutoCommit(boolean) - Method in class com.mckoi.database.jdbc.MConnection
- setBigDecimal(int, BigDecimal) - Method in class com.mckoi.jfccontrols.Query
- setBoolean(int, boolean) - Method in class com.mckoi.jfccontrols.Query
- setCaseInsensitive(boolean) - Method in class com.mckoi.database.interpret.FromTableDirectSource
-
Toggle the case sensitivity flag.
- setCaseInsensitive(boolean) - Method in class com.mckoi.database.interpret.FromTableSubQuerySource
-
Toggle the case sensitivity flag.
- setCaseInsensitiveIdentifiers(boolean) - Method in class com.mckoi.database.jdbc.MConnection
-
Toggles whether this connection is handling identifiers as case insensitive or not.
- setCatalog(String) - Method in class com.mckoi.database.jdbc.MConnection
- setCellFrom(Table, int, int, String) - Method in class com.mckoi.database.TemporaryTable
-
Copies the cell from the given table (src_col, src_row) to the last row of the column specified of this table.
- setChar(char, byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Sets the short at the given offset of the byte array.
- setCheck(Expression) - Method in class com.mckoi.database.interpret.ConstraintDef
-
Sets object up for a check constraint.
- setCheckPoint(boolean) - Method in class com.mckoi.store.LoggingBufferManager
-
Sets a check point in the log.
- setClassConstraint(String) - Method in class com.mckoi.database.DataTableColumnDef
-
If this column represents a Java object, this must be a class the object is derived from to be added to this column.
- setClientInfo(String, String) - Method in class com.mckoi.database.jdbc.MConnection
- setClientInfo(Properties) - Method in class com.mckoi.database.jdbc.MConnection
- setColumnData(int, TObject) - Method in class com.mckoi.database.RowData
-
Sets up a column by casting the value from the given TObject to a type that is compatible with the column.
- setColumnDataFromObject(int, Object) - Method in class com.mckoi.database.RowData
-
Sets up a column from an Object.
- setColumnDataFromTObject(int, TObject) - Method in class com.mckoi.database.RowData
-
Sets up a column from a TObject.
- setColumnMap(int[], Variable[]) - Method in class com.mckoi.database.SubsetColumnTable
-
Adds a column map into this table.
- setColumnName(String) - Method in class com.mckoi.database.Variable
-
Sets the column name of this variable.
- setColumnToDefault(int, QueryContext) - Method in class com.mckoi.database.RowData
-
Sets the given column number to the default value for this column.
- setColumnToNull(int) - Method in class com.mckoi.database.RowData
-
This is a special case situation for setting the column cell to 'null'.
- setCurrentSchema(String) - Method in class com.mckoi.database.DatabaseConnection
-
Sets the schema that this connection is within.
- setDataAreaSize(long) - Method in class com.mckoi.store.AbstractStore
-
Sets the size of the data area.
- setDataAreaSize(long) - Method in class com.mckoi.store.JournalledFileStore
- setDatabasePath(String) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Sets the path of the database.
- setDataType(TType) - Method in class com.mckoi.database.interpret.ColumnDef
-
Sets the type of data of this column.
- setDate(int, Date) - Method in class com.mckoi.jfccontrols.Query
- setDBType(int) - Method in class com.mckoi.database.DataTableColumnDef
- setDebugLevel(int) - Method in class com.mckoi.database.TransactionSystem
-
Sets the debug minimum level that is output to the logger.
- setDebugLevel(int) - Static method in class com.mckoi.debug.Debug
-
Deprecated.Sets the debug level that's to be output to the stream.
- setDebugLevel(int) - Method in class com.mckoi.debug.DefaultDebugLogger
-
Sets the debug level that's to be output to the stream.
- setDebugOutput(Writer) - Method in class com.mckoi.database.TransactionSystem
-
Sets the Writer output for the debug logger.
- setDebugStream(PrintStream) - Method in class com.mckoi.database.sql.SQLTokenManager
- setDefaultExpression(Expression) - Method in class com.mckoi.database.DataTableColumnDef
- setDefaultExpression(Expression) - Method in class com.mckoi.database.interpret.ColumnDef
-
Sets the default expression (this is used to make a new constraint).
- setDefaultForRest(QueryContext) - Method in class com.mckoi.database.RowData
-
Any columns in the row of data that haven't been set yet (they will be 'null') will be set to the default value during this method.
- setDefaultSchema(String) - Method in class com.mckoi.database.DatabaseConnection
-
Changes the default schema to the given schema.
- setDeleteOnClose(boolean) - Method in class com.mckoi.database.control.DBSystem
-
Sets a flag that causes the database to delete itself from the file system when it is shut down.
- setDeleteOnShutdown(boolean) - Method in class com.mckoi.database.Database
-
If the 'deleteOnShutdown' flag is set, the database will delete the database from the file system when it is shutdown.
- setDouble(int, double) - Method in class com.mckoi.jfccontrols.Query
- setElementAt(int, Object) - Method in class com.mckoi.database.Expression
-
Sets the element at the given position in the postfix list.
- setEvalResult(TObject) - Method in class com.mckoi.database.CorrelatedVariable
-
Sets the value this correlated variable evaluates to.
- setFetchDirection(int) - Method in class com.mckoi.database.jdbc.MResultSet
- setFetchSize(int) - Method in class com.mckoi.database.jdbc.MResultSet
- setForeignKey(String) - Method in class com.mckoi.database.DataTableColumnDef
-
Deprecated.
- setForeignKey(String, ArrayList, ArrayList, String, String) - Method in class com.mckoi.database.interpret.ConstraintDef
-
Sets object up for foreign key reference.
- setFromExpression(Expression) - Method in class com.mckoi.database.interpret.SearchExpression
-
Sets this search expression from the given expression.
- setFromResolver(VariableResolver) - Method in class com.mckoi.database.CorrelatedVariable
-
Given a VariableResolver this will set the value of the correlated variable.
- setFromTType(TType) - Method in class com.mckoi.database.DataTableColumnDef
-
Sets this DataTableColumnDef object up from information in the TType object.
- setGivenName(TableName) - Method in class com.mckoi.database.QueryPlan.SubsetNode
-
Sets the given table name of the resultant table.
- setHoldability(int) - Method in class com.mckoi.database.jdbc.MConnection
- setID() - Method in interface com.mckoi.database.VariableResolver
-
A number that uniquely identifies the current state of the variable resolver.
- setIgnoreIdentifierCase(boolean) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Sets that the engine ignores case for identifiers.
- setImmutable() - Method in class com.mckoi.database.DataIndexSetDef
-
Sets the immutable flag.
- setImmutable() - Method in class com.mckoi.database.DataTableDef
-
Sets this DataTableDef to immutable which means nothing is able to change it.
- setImmutable() - Method in class com.mckoi.database.SelectableScheme
-
Sets this scheme to immutable.
- setImmutable() - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Sets the list as immutable (we aren't allowed to change the contents).
- setImmutable() - Method in interface com.mckoi.util.IntegerListInterface
-
Makes this list immutable effectively making it read-only.
- setIndex(Token) - Method in class com.mckoi.database.interpret.ColumnDef
-
Sets the indexing.
- setIndexScheme(String) - Method in class com.mckoi.database.DataTableColumnDef
-
Sets the indexing scheme for this column.
- setIndexSetForTable(MasterTableDataSource, IndexSet) - Method in class com.mckoi.database.SimpleTransaction
-
Sets the IndexSet for the given MasterTableDataSource object in this transaction.
- setInitiallyDeferred() - Method in class com.mckoi.database.interpret.ConstraintDef
-
Sets that this constraint is initially deferred.
- setInt(int, byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Sets the int at the given offset of the byte array.
- setInt(int, int) - Method in class com.mckoi.jfccontrols.Query
- setIntAt(int, int) - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Sets an int at the given position, overwriting anything that was previously there.
- setIntAt(int, int) - Method in class com.mckoi.util.IntegerListBlockInterface
-
Sets an int at the given position, overwriting anything that was previously there.
- setIntAt(int, int) - Method in class com.mckoi.util.IntegerVector
-
Sets an int at the given position, overwriting anything that was previously there.
- setIsExecutingCommands(boolean) - Method in class com.mckoi.database.Database
-
Controls whether the database is allowed to execute commands or not.
- setLockHandle(LockHandle) - Method in interface com.mckoi.database.DatabaseProcedure
-
Sets the LockHandle object for this procedure.
- setLogDirectory(File) - Method in class com.mckoi.database.TransactionSystem
-
Sets the log directory.
- setLogPath(String) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Sets the path of the log.
- setLong(int, long) - Method in class com.mckoi.jfccontrols.Query
- setLong(long, byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Sets the long at the given offset of the byte array.
- setMinimumDebugLevel(int) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Sets the minimum debug level for output to the debug log file.
- setMode(int) - Method in class com.mckoi.database.LockingMechanism
-
This method _must_ be called before a threads initial access to a Database object.
- setName(String) - Method in class com.mckoi.database.DataTableColumnDef
- setName(String) - Method in class com.mckoi.database.interpret.ColumnDef
-
Sets the name of the column.
- setName(String) - Method in class com.mckoi.database.interpret.ConstraintDef
-
Sets the name of the constraint.
- setNetworkTimeout(Executor, int) - Method in class com.mckoi.database.jdbc.MConnection
- setNotDeferrable() - Method in class com.mckoi.database.interpret.ConstraintDef
-
Sets that this constraint is not deferrable.
- setNotNull(boolean) - Method in class com.mckoi.database.DataTableColumnDef
- setObject(int, Object) - Method in class com.mckoi.jfccontrols.Query
- setOutput(Writer) - Static method in class com.mckoi.debug.Debug
-
Deprecated.Sets up the OutputStream to which the debug information is to be output to.
- setOutput(Writer) - Method in class com.mckoi.debug.DefaultDebugLogger
-
Sets up the OutputStream to which the debug information is to be output to.
- setPersistentVar(String, String) - Method in class com.mckoi.database.DatabaseConnection
-
Same as the Transaction.setPersistentVar method.
- setPersistentVar(String, String) - Method in class com.mckoi.database.Transaction
-
Sets a persistent variable of the database that becomes a committed change once this transaction is committed.
- setPreserveTableStructure(boolean) - Method in class com.mckoi.jfccontrols.ResultSetTableModel
-
A property that checks for changes when a result set is updated and preserves the layout if the updated result set looks similar.
- setPrimaryKey(ArrayList) - Method in class com.mckoi.database.interpret.ConstraintDef
-
Sets object up for a primary key constraint.
- SetQuantifier() - Method in class com.mckoi.database.sql.SQL
- setReadOnly() - Method in class com.mckoi.database.SimpleTransaction
-
Sets this transaction as read only.
- setReadOnly(boolean) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Sets that the database is read only.
- setReadOnly(boolean) - Method in class com.mckoi.database.jdbc.MConnection
- setReservedLong(long) - Method in class com.mckoi.database.FixedRecordList
-
Sets the 8 byte long that is reserved for storing the delete chain (if there is one).
- setRowCell(TObject, int, int) - Method in class com.mckoi.database.TemporaryTable
-
Sets the cell in the given column / row to the given value.
- setRowCell(TObject, String) - Method in class com.mckoi.database.TemporaryTable
-
Sets the cell in the column of the last row of this table to the given TObject.
- setRowObject(TObject, int) - Method in class com.mckoi.database.TemporaryTable
-
Sets the cell in the column of the last row of this table to the given TObject.
- setRowObject(TObject, int, int) - Method in class com.mckoi.database.TemporaryTable
-
Sets the cell in the column of the last row of this table to the given TObject.
- setRowObject(TObject, String) - Method in class com.mckoi.database.TemporaryTable
-
Sets the cell in the column of the last row of this table to the given TObject.
- setSavepoint() - Method in class com.mckoi.database.jdbc.MConnection
- setSavepoint(String) - Method in class com.mckoi.database.jdbc.MConnection
- setScale(int) - Method in class com.mckoi.database.DataTableColumnDef
- setScale(int) - Method in class com.mckoi.database.global.ColumnDescription
-
Sets the scale of the numerical values stored.
- setScale(int, int) - Method in class com.mckoi.util.BigNumber
- setSchema(String) - Method in class com.mckoi.database.jdbc.MConnection
- setSequenceValue(TableName, long) - Method in class com.mckoi.database.SimpleTransaction
-
Sets the sequence value for the given sequence generator.
- setSequenceValue(String, long) - Method in class com.mckoi.database.DatabaseConnection
-
Sets the sequence value for the given sequence generator.
- setSequenceValue(String, long) - Method in class com.mckoi.database.DatabaseQueryContext
-
Sets the current sequence value for the given sequence generator.
- setSequenceValue(String, long) - Method in interface com.mckoi.database.QueryContext
-
Sets the current sequence value for the given sequence generator.
- setShort(short, byte[], int) - Static method in class com.mckoi.util.ByteArrayUtil
-
Sets the short at the given offset of the byte array.
- setSize() - Method in class com.mckoi.database.CollatedBaseSearch
-
The size of the set (the number of rows in this column).
- setSize() - Method in class com.mckoi.database.InsertSearch
- setSize(int) - Method in class com.mckoi.database.DataTableColumnDef
- setSize(long) - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- setSQLType(int) - Method in class com.mckoi.database.DataTableColumnDef
- setSQLType(int) - Method in class com.mckoi.database.global.ColumnDescription
-
Sets the SQL type for this ColumnDescription object.
- setStrictGetObject(boolean) - Method in class com.mckoi.database.jdbc.MckoiConnection
-
This method can be used to disable strict get object in ResultSet.
- setStrictGetObject(boolean) - Method in class com.mckoi.database.jdbc.MConnection
-
Toggles strict get object.
- setString(int, String) - Method in class com.mckoi.jfccontrols.Query
- setStringLocale(String, int, int) - Method in class com.mckoi.database.DataTableColumnDef
- setTableClass(String) - Method in class com.mckoi.database.DataTableDef
- setTableName(TableName) - Method in class com.mckoi.database.DataTableDef
- setTableName(TableName) - Method in class com.mckoi.database.Variable
-
Sets the TableName of this variable.
- setTimeFrame(int, TimeFrame) - Method in class com.mckoi.jfccontrols.Query
- setTransactionIsolation(int) - Method in class com.mckoi.database.jdbc.MConnection
- setTransactionIsolation(String) - Method in class com.mckoi.database.DatabaseConnection
-
Sets the transaction isolation level from a string.
- setTypeMap(Map) - Method in class com.mckoi.database.jdbc.MConnection
- setUnique() - Method in class com.mckoi.database.global.ColumnDescription
-
Sets this column to unique.
- setUnique(ArrayList) - Method in class com.mckoi.database.interpret.ConstraintDef
-
Sets object up for a unique constraint.
- setUniqueGroup(int) - Method in class com.mckoi.database.global.ColumnDescription
-
Sets the column to belong to the specified unique group in the table.
- setUniqueID(TableName, long) - Method in class com.mckoi.database.SimpleTransaction
-
Sets the unique id for the given table name.
- setUniqueKey(String) - Method in class com.mckoi.database.interpret.FromTableDef
-
Sets the unique key.
- setupAllSelectableSchemes() - Method in class com.mckoi.database.TemporaryTable
-
This should be called if you want to perform table operations on this TemporaryTable.
- setupEntire(int[], Expression[], QueryContext) - Method in class com.mckoi.database.RowData
-
Sets up an entire row given the array of Expressions and a list of indices to the columns to set.
- setupEntire(int[], List, QueryContext) - Method in class com.mckoi.database.RowData
-
Sets up an entire row given the list of insert elements and a list of indices to the columns to set.
- setupEntire(Assignment[], QueryContext) - Method in class com.mckoi.database.RowData
-
Sets up an entire row given the array of assignments.
- setupIndexesForCompositeFunction(int, boolean) - Method in class com.mckoi.database.CompositeTable
-
Sets up the indexes in this composite table by performing for composite function on the tables.
- setupRowCache(int, int) - Method in class com.mckoi.database.TransactionSystem
-
Hack - set up the DataCellCache in DatabaseSystem so we can use the MasterTableDataSource object without having to boot a new DatabaseSystem.
- setupSystemFunctions(DatabaseConnection, String) - Method in class com.mckoi.database.Database
-
Sets all the standard functions and procedures available to engine.
- setUserLock(DatabaseQueryContext, User, boolean) - Method in class com.mckoi.database.Database
-
Sets the lock status for the given user.
- setValue(String, String) - Method in class com.mckoi.database.control.AbstractDBConfig
-
Sets the configuration value for the key property key.
- setValue(String, String) - Method in class com.mckoi.database.control.DefaultDBConfig
-
Overwrites the configuration key with the given value.
- setVar(int, Object) - Method in class com.mckoi.database.jdbc.SQLQuery
-
Sets a variable at the given index.
- setVar(int, Object[]) - Method in class com.mckoi.database.SimpleTableQuery
-
Adds a new key/value mapping in this table.
- setVar(String, Expression) - Method in class com.mckoi.database.DatabaseConnection
-
Assigns a variable to the expression for this connection.
- setVerboseColumnNames(boolean) - Method in class com.mckoi.database.jdbc.MckoiConnection
-
This method is used to enable verbose column names in ResultSetMetaData.
- setVerboseColumnNames(boolean) - Method in class com.mckoi.database.jdbc.MConnection
-
Toggles verbose column names from ResultSetMetaData.
- setWholeTableAsGroup() - Method in class com.mckoi.database.FunctionTable
-
Sets the whole reference table as a single group.
- SHARED_MODE - Static variable in class com.mckoi.database.LockingMechanism
-
Class statics.
- ShellUserTerminal - Class in com.mckoi.util
-
An implementation of UserTerminal that uses the shell terminal via System.in and System.out.
- ShellUserTerminal() - Constructor for class com.mckoi.util.ShellUserTerminal
- shortValue() - Method in class com.mckoi.util.BigNumber
-
Returns this big number as a short.
- shouldWipeMoreNodes() - Method in class com.mckoi.util.Cache
-
Returns true if the clean-up method that periodically cleans up the cache, should clean up more elements from the cache.
- Show - Class in com.mckoi.database.interpret
-
Statement that handles SHOW and DESCRIBE sql commands.
- Show() - Constructor for class com.mckoi.database.interpret.Show
- Show() - Method in class com.mckoi.database.sql.SQL
- SHOW - Static variable in interface com.mckoi.database.sql.SQLConstants
- shutdown() - Method in class com.mckoi.database.Database
-
Cleanly shuts down the database.
- ShutDown() - Method in class com.mckoi.database.sql.SQL
- SHUTDOWN - Static variable in interface com.mckoi.database.sql.SQLConstants
- signum() - Method in class com.mckoi.util.BigNumber
- simple(Object, Operator, Object) - Static method in class com.mckoi.database.Expression
-
Generates a simple expression from two objects and an operator.
- SimpleCharStream - Class in com.mckoi.database.sql
-
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
- SimpleCharStream(InputStream) - Constructor for class com.mckoi.database.sql.SimpleCharStream
- SimpleCharStream(InputStream, int, int) - Constructor for class com.mckoi.database.sql.SimpleCharStream
- SimpleCharStream(InputStream, int, int, int) - Constructor for class com.mckoi.database.sql.SimpleCharStream
- SimpleCharStream(Reader) - Constructor for class com.mckoi.database.sql.SimpleCharStream
- SimpleCharStream(Reader, int, int) - Constructor for class com.mckoi.database.sql.SimpleCharStream
- SimpleCharStream(Reader, int, int, int) - Constructor for class com.mckoi.database.sql.SimpleCharStream
- simpleJoin(QueryContext, Table, Variable, Operator, Expression) - Method in class com.mckoi.database.Table
-
A simple join operation.
- SimplePatternSelectNode(QueryPlanNode, Expression) - Constructor for class com.mckoi.database.QueryPlan.SimplePatternSelectNode
- SimpleRowEnumeration - Class in com.mckoi.database
-
A RowEnumeration implementation that represents a sequence of rows that can be referenced in incremental order between 0 and row_count (exclusive).
- SimpleRowEnumeration(int) - Constructor for class com.mckoi.database.SimpleRowEnumeration
-
Constructs the RowEnumeration.
- simpleSelect(QueryContext, Variable, Operator, Expression) - Method in class com.mckoi.database.Table
-
A simple select on this table.
- SimpleSelectNode(QueryPlanNode, Variable, Operator, Expression) - Constructor for class com.mckoi.database.QueryPlan.SimpleSelectNode
- SimpleTableQuery - Class in com.mckoi.database
-
A simple convenience interface for querying a MutableTableDataSource instance.
- SimpleTableQuery(TableDataSource) - Constructor for class com.mckoi.database.SimpleTableQuery
-
Constructs the SimpleTableQuery with the given MutableTableDataSource object.
- SimpleTransaction - Class in com.mckoi.database
-
An simple implementation of Transaction that provides various facilities for implementing a Transaction object on a number of MasterTableDataSource tables.
- SingleQueryPlanNode(QueryPlanNode) - Constructor for class com.mckoi.database.QueryPlan.SingleQueryPlanNode
-
Constructor.
- singleRowSelect(int) - Method in class com.mckoi.database.Table
-
Selects a single row at the given index from this table.
- SingleRowTableNode() - Constructor for class com.mckoi.database.QueryPlan.SingleRowTableNode
- size() - Method in class com.mckoi.database.Expression
-
Returns the number of elements and operators that are in this postfix list.
- size() - Method in interface com.mckoi.database.GroupResolver
-
The total number of set items in this group.
- size() - Method in class com.mckoi.util.AbstractBlockIntegerList
-
The number of integers that are in the list.
- size() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Returns the number of entries in this block.
- size() - Method in class com.mckoi.util.IntegerListBlockInterface
-
Returns the number of entries in this block.
- size() - Method in interface com.mckoi.util.IntegerListInterface
-
The number of integers that are in the list.
- size() - Method in class com.mckoi.util.IntegerVector
-
Returns the size of the vector.
- size() - Method in class com.mckoi.util.StringListBucket
-
Returns the number of string elements in the list.
- size(Object) - Static method in class com.mckoi.database.global.ObjectTransfer
-
Makes an estimate of the size of the object.
- skip(long) - Method in class com.mckoi.database.jdbc.AsciiReader
- skip(long) - Method in class com.mckoi.database.jdbc.BinaryToUnicodeReader
- skip(long) - Method in class com.mckoi.util.PagedInputStream
- skipWhiteSpace(CharacterIterator) - Static method in class com.mckoi.util.GeneralParser
-
Moves the iterator past any white space.
- SMALLINT - Static variable in interface com.mckoi.database.global.SQLTypes
- SMALLINT - Static variable in interface com.mckoi.database.sql.SQLConstants
- softIndexStorage() - Method in class com.mckoi.database.TransactionSystem
-
Returns true if all table indices are kept behind a soft reference that can be garbage collected.
- SOME - Static variable in interface com.mckoi.database.sql.SQLConstants
- sortedIndexOf(int) - Method in class com.mckoi.util.IntegerVector
-
Searches the entire sorted list for the given value and returns the index of it.
- sortedIndexOf(int, int, int) - Method in class com.mckoi.util.IntegerVector
-
This is a very quick search for a value given a sorted array.
- sortedIndexOf(Comparable[], Comparable, int, int) - Static method in class com.mckoi.util.SortUtil
-
Quickly finds the index of the given object in the list.
- sortedIntCount(int) - Method in class com.mckoi.util.IntegerVector
-
Given a sorted list, this will return the count of this value in the list.
- sortedQuickFind(Comparable[], Comparable, SearchResults) - Static method in class com.mckoi.util.SortUtil
-
Quickly finds the given element in the array of objects.
- SortNode(QueryPlanNode, Variable[], boolean[]) - Constructor for class com.mckoi.database.QueryPlan.SortNode
- SortUtil - Class in com.mckoi.util
-
Provides various sort utilities for a list of objects that implement Comparable.
- SortUtil() - Constructor for class com.mckoi.util.SortUtil
- specialConstructor - Variable in exception com.mckoi.database.sql.ParseException
-
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
- specialToken - Variable in class com.mckoi.database.sql.Token
-
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
- split() - Method in class com.mckoi.database.Expression
-
Returns an array of two Expression objects that represent the left hand and right and side of the last operator in the post fix notation.
- splitArea(long, long) - Method in class com.mckoi.store.AbstractStore
-
Splits an area pointed to by 'pointer' at a new boundary point.
- SQL - Class in com.mckoi.database.sql
- SQL(SQLTokenManager) - Constructor for class com.mckoi.database.sql.SQL
- SQL(InputStream) - Constructor for class com.mckoi.database.sql.SQL
- SQL(Reader) - Constructor for class com.mckoi.database.sql.SQL
- SQLADD - Static variable in interface com.mckoi.database.sql.SQLConstants
- SQLCOLUMN - Static variable in interface com.mckoi.database.sql.SQLConstants
- SQLConstants - Interface in com.mckoi.database.sql
- SQLDEFAULT - Static variable in interface com.mckoi.database.sql.SQLConstants
- SQLIdentifier() - Method in class com.mckoi.database.sql.SQL
- SQLLoginException - Exception in com.mckoi.database.jdbc
-
An SQLException that signifies username/password authentication failed.
- SQLLoginException() - Constructor for exception com.mckoi.database.jdbc.SQLLoginException
- SQLLoginException(String) - Constructor for exception com.mckoi.database.jdbc.SQLLoginException
- SQLLoginException(String, String) - Constructor for exception com.mckoi.database.jdbc.SQLLoginException
- SQLLoginException(String, String, int) - Constructor for exception com.mckoi.database.jdbc.SQLLoginException
- SQLQuery - Class in com.mckoi.database.jdbc
-
Represents an SQL Query to the database.
- SQLQuery(String) - Constructor for class com.mckoi.database.jdbc.SQLQuery
-
Constructs the query.
- SQLQueryExecutor - Class in com.mckoi.database.interpret
-
An object used to execute SQL queries against a given DatabaseConnection object.
- SQLQueryExecutor() - Constructor for class com.mckoi.database.interpret.SQLQueryExecutor
-
Constructs the executor.
- SQLRETURN - Static variable in interface com.mckoi.database.sql.SQLConstants
- SQLTokenManager - Class in com.mckoi.database.sql
- SQLTokenManager(SimpleCharStream) - Constructor for class com.mckoi.database.sql.SQLTokenManager
- SQLTokenManager(SimpleCharStream, int) - Constructor for class com.mckoi.database.sql.SQLTokenManager
- SQLTypes - Interface in com.mckoi.database.global
-
A JDBC independant type definition list.
- sqlTypeToString(int) - Static method in class com.mckoi.database.DataTableColumnDef
-
Returns a string that represents the given SQLType enumeration passed to it.
- sqrt() - Method in class com.mckoi.util.BigNumber
- StandardMessages - Class in com.mckoi.database.global
-
This class contains a number of standard messages that are displayed throughout the operation of the database.
- StandardMessages() - Constructor for class com.mckoi.database.global.StandardMessages
- STAR - Static variable in interface com.mckoi.database.sql.SQLConstants
- start() - Method in class com.mckoi.database.control.TCPJDBCServer
-
Starts the server and binds it to the given port.
- start() - Method in class com.mckoi.store.LoggingBufferManager
-
Starts the buffer manager.
- start(InetAddress, int, String) - Method in class com.mckoi.database.jdbcserver.TCPServer
-
Starts the server running.
- START - Static variable in interface com.mckoi.database.sql.SQLConstants
- startDatabase(DBConfig) - Method in class com.mckoi.database.control.DBController
-
Starts a database in the local JVM given the configuration in DBConfig and returns a DBSystem object.
- startShutDownThread() - Method in class com.mckoi.database.Database
-
Starts the shutdown thread which should contain delegates that shut the database and all its resources down.
- STATE_BASED - Static variable in interface com.mckoi.database.FunctionInfo
-
A function that is non-aggregate but whose return value is not guarenteed to be the same given the identical parameters over subsequent calls.
- STATE_POST - Static variable in class com.mckoi.database.TableDataConglomerate
-
The postfix on the name of the state file for the database store name.
- Statement - Class in com.mckoi.database.interpret
-
Provides a set of useful utility functions to use by all the interpretted statements.
- Statement() - Constructor for class com.mckoi.database.interpret.Statement
- Statement() - Method in class com.mckoi.database.sql.SQL
- StatementCache - Class in com.mckoi.database
-
A cache that maintains a serialized set of StatementTree objects that can be deserialized on demand.
- StatementCache(DatabaseSystem, int, int, int) - Constructor for class com.mckoi.database.StatementCache
-
Constructs the cache.
- StatementException - Exception in com.mckoi.database
-
An error that is thrown when there is erronious information in a statement.
- StatementException(String) - Constructor for exception com.mckoi.database.StatementException
- StatementTree - Class in com.mckoi.database
-
A serializable container class for a parsed query language statement.
- StatementTree(String) - Constructor for class com.mckoi.database.StatementTree
-
Constructs the StatementTree.
- StatementTreeObject - Interface in com.mckoi.database
-
An complex object that is to be contained within a StatementTree object.
- STATIC - Static variable in interface com.mckoi.database.FunctionInfo
-
A type that represents a static function.
- staticFlag - Static variable in class com.mckoi.database.sql.SimpleCharStream
- stats() - Method in class com.mckoi.database.Database
-
Convenience static for accessing the global Stats object.
- stats() - Method in class com.mckoi.database.TransactionSystem
-
Returns a com.mckoi.util.Stats object that can be used to keep track of database statistics for this VM.
- Stats - Class in com.mckoi.util
-
An object that is used to store and update various stats.
- Stats() - Constructor for class com.mckoi.util.Stats
-
Constructs the object.
- statsScan(HashMap) - Method in class com.mckoi.store.AbstractStore
-
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)).
- statString(String) - Method in class com.mckoi.util.Stats
-
Returns a String representation of the stat with the given key name.
- statusString() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns a string that contains diagnostic information.
- statusString() - Method in class com.mckoi.database.IndexStore
-
Returns a string that contains diagnostic information.
- stop() - Method in class com.mckoi.database.control.TCPJDBCServer
-
Stops the server running on the given port.
- stop() - Method in class com.mckoi.store.LoggingBufferManager
-
Stops the buffer manager.
- Store - Interface in com.mckoi.store
-
A store is a resource where areas can be allocated and freed to store objects.
- storesLowerCaseIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- storesLowerCaseQuotedIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- storesMixedCaseIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- storesMixedCaseQuotedIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- storesUpperCaseIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- storesUpperCaseQuotedIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- storeSystem() - Method in class com.mckoi.database.Database
-
Returns the StoreSystem for this Database.
- storeSystem() - Method in class com.mckoi.database.TableDataConglomerate
-
Returns the StoreSystem used by this conglomerate to manage the persistent state of the database.
- storeSystem() - Method in class com.mckoi.database.TransactionSystem
-
Returns the StoreSystem encapsulation being used in this database.
- STREAMABLE_OBJECT_SECTION - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Requests a section of a streamable object from the server.
- StreamableObject - Class in com.mckoi.database.global
-
An object that is streamable (such as a long binary object, or a long string object).
- StreamableObject(byte, long, long) - Constructor for class com.mckoi.database.global.StreamableObject
-
Constructs the StreamableObject.
- StreamableObjectPart - Class in com.mckoi.database.jdbc
-
Represents a response from the server for a section of a streamable object.
- StreamableObjectPart(byte[]) - Constructor for class com.mckoi.database.jdbc.StreamableObjectPart
-
Constructs the ResultCellPart.
- StreamFile - Class in com.mckoi.store
-
A RandomAccessFile that acts as an OutputStream, and can also be read as an InputStream.
- StreamFile(File, String) - Constructor for class com.mckoi.store.StreamFile
-
Constructor.
- STRING - Static variable in interface com.mckoi.database.sql.SQLConstants
- STRING_LITERAL - Static variable in interface com.mckoi.database.sql.SQLConstants
- STRING_TYPE - Static variable in class com.mckoi.database.TType
-
A default string (SQL VARCHAR) type of unlimited maximum size and null locale.
- StringAccessor - Interface in com.mckoi.database.global
-
An interface used by the engine to access and process strings.
- StringListBucket - Class in com.mckoi.util
-
A utility container class for holding a list of strings.
- StringListBucket() - Constructor for class com.mckoi.util.StringListBucket
-
Constructs the bucket.
- StringListBucket(String) - Constructor for class com.mckoi.util.StringListBucket
- StringObject - Class in com.mckoi.database.global
-
A concrete implementation of StringAccessor that uses a java.lang.String object.
- StringOperator(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- stringType(int, int, String, int, int) - Static method in class com.mckoi.database.TType
-
Returns a TStringType object of the given size and locale information.
- StringUtil - Class in com.mckoi.util
-
Various String utilities.
- StringUtil() - Constructor for class com.mckoi.util.StringUtil
- stringVal(StringObject) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of VARCHAR type that represents the given StringObject value.
- stringVal(String) - Static method in class com.mckoi.database.TObject
-
Returns a TObject of VARCHAR type that represents the given String value.
- STRUCT - Static variable in interface com.mckoi.database.global.SQLTypes
- SubQueryExpression(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- SubQueryOperator(Expression, Stack) - Method in class com.mckoi.database.sql.SQL
- SubsetColumnTable - Class in com.mckoi.database
-
This object is a filter that sits atop a Table object.
- SubsetColumnTable(Table) - Constructor for class com.mckoi.database.SubsetColumnTable
-
The Constructor.
- SubsetNode(QueryPlanNode, Variable[], Variable[]) - Constructor for class com.mckoi.database.QueryPlan.SubsetNode
- subtract(BigNumber) - Method in class com.mckoi.util.BigNumber
- SUBTRACT - Static variable in interface com.mckoi.database.sql.SQLConstants
- SUCCESS - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Operation was successful.
- supportsAlterTableWithAddColumn() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsAlterTableWithDropColumn() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsANSI92EntryLevelSQL() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsANSI92FullSQL() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsANSI92IntermediateSQL() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsBatchUpdates() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsCatalogsInDataManipulation() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsCatalogsInIndexDefinitions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsCatalogsInPrivilegeDefinitions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsCatalogsInProcedureCalls() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsCatalogsInTableDefinitions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsColumnAliasing() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsConvert() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsConvert(int, int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsCoreSQLGrammar() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsCorrelatedSubqueries() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsDataDefinitionAndDataManipulationTransactions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsDataManipulationTransactionsOnly() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsDifferentTableCorrelationNames() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsExpressionsInOrderBy() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsExtendedSQLGrammar() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsFullOuterJoins() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsGetGeneratedKeys() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsGroupBy() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsGroupByBeyondSelect() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsGroupByUnrelated() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsIntegrityEnhancementFacility() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsLikeEscapeClause() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsLimitedOuterJoins() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsMinimumSQLGrammar() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsMixedCaseIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsMixedCaseQuotedIdentifiers() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsMultipleOpenResults() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsMultipleResultSets() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsMultipleTransactions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsNamedParameters() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsNonNullableColumns() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsOpenCursorsAcrossCommit() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsOpenCursorsAcrossRollback() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsOpenStatementsAcrossCommit() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsOpenStatementsAcrossRollback() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsOrderByUnrelated() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsOuterJoins() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsPositionedDelete() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsPositionedUpdate() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsResultSetConcurrency(int, int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsResultSetHoldability(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsResultSetType(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSavepoints() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSchemasInDataManipulation() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSchemasInIndexDefinitions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSchemasInPrivilegeDefinitions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSchemasInProcedureCalls() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSchemasInTableDefinitions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSelectForUpdate() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsStatementPooling() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsStoredFunctionsUsingCallSyntax() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsStoredProcedures() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSubqueriesInComparisons() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSubqueriesInExists() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSubqueriesInIns() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsSubqueriesInQuantifieds() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsTableCorrelationNames() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsTransactionIsolationLevel(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsTransactions() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsUnion() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- supportsUnionAll() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- SwingBlockUtil - Class in com.mckoi.jfccontrols
-
Helper class for providing blocking behaviour on the AWT/Swing event dispatcher thread without freezing up the user interface.
- SwingBlockUtil() - Constructor for class com.mckoi.jfccontrols.SwingBlockUtil
- switchArgument(String) - Method in class com.mckoi.util.CommandLine
-
Returns the contents of a switch variable if the switch is found on the command line.
- switchArgument(String, String) - Method in class com.mckoi.util.CommandLine
-
Returns the contents of a switch variable if the switch is found on the command line.
- switchArguments(String, int) - Method in class com.mckoi.util.CommandLine
-
Returns the contents of a set of arguments found after a switch on the command line.
- SwitchTo(int) - Method in class com.mckoi.database.sql.SQLTokenManager
- synch() - Method in class com.mckoi.database.FixedSizeDataStore
-
Synchronizes the memory store with the file header.
- synch() - Method in class com.mckoi.database.VariableSizeDataStore
-
Synchronizes all the data in memory with the hard copy on disk.
- synch() - Method in class com.mckoi.store.HeapStore
- synch() - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- synch() - Method in class com.mckoi.store.StreamFile
-
Synchs the file.
- SYS_DATA_TRIGGER - Static variable in class com.mckoi.database.Database
-
The system internally generated 'sUSRDataTrigger' table.
- SYS_DB_STATISTICS - Static variable in class com.mckoi.database.Database
-
The system internally generated 'sUSRDatabaseStatistics' table.
- SYS_FUNCTION - Static variable in class com.mckoi.database.Database
-
The function table.
- SYS_FUNCTIONFACTORY - Static variable in class com.mckoi.database.Database
-
The function factory table.
- SYS_GRANTS - Static variable in class com.mckoi.database.Database
- SYS_LABEL - Static variable in class com.mckoi.database.Database
-
The label table.
- SYS_PASSWORD - Static variable in class com.mckoi.database.Database
-
The password privs and grants table.
- SYS_SEQUENCE - Static variable in class com.mckoi.database.TableDataConglomerate
- SYS_SEQUENCE_INFO - Static variable in class com.mckoi.database.TableDataConglomerate
- SYS_SERVICE - Static variable in class com.mckoi.database.Database
-
The services table.
- SYS_TABLE_COLUMNS - Static variable in class com.mckoi.database.Database
-
The system internally generated 'sUSRTableColumns' table.
- SYS_TABLE_INFO - Static variable in class com.mckoi.database.Database
-
The system internally generated 'sUSRTableInfo' table.
- SYS_USERCONNECT - Static variable in class com.mckoi.database.Database
- SYS_USERPRIV - Static variable in class com.mckoi.database.Database
- SYS_VIEW - Static variable in class com.mckoi.database.Database
-
The view table.
- SYSTEM_SCHEMA - Static variable in class com.mckoi.database.Database
-
The name of the system schema that contains tables refering to system information.
- SYSTEM_SCHEMA - Static variable in class com.mckoi.database.TableDataConglomerate
-
The name of the system schema where persistant conglomerate state is stored.
- SystemBackup - Class in com.mckoi.database.procedure
-
A stored procedure that backs up the entire database to the given directory in the file system.
- SystemBackup() - Constructor for class com.mckoi.database.procedure.SystemBackup
T
- Table - Class in com.mckoi.database
-
This is a definition for a table in the database.
- Table() - Constructor for class com.mckoi.database.Table
-
The Constructor.
- TABLE - Static variable in class com.mckoi.database.GrantManager
-
Represents a TABLE object to grant privs over for the user.
- TABLE - Static variable in interface com.mckoi.database.sql.SQLConstants
- TABLE_ALL_PRIVS - Static variable in class com.mckoi.database.Privileges
-
Enable all privs for the object.
- TABLE_DROPPED - Static variable in exception com.mckoi.database.TransactionException
-
Thrown when a transaction adds/removes/modifies rows from a table that has been dropped by another transaction.
- table_list - Variable in class com.mckoi.database.interpret.Statement
-
The list of all FromTableInterface objects of resources referenced in this query.
- TABLE_READ_PRIVS - Static variable in class com.mckoi.database.Privileges
-
Read privs for the object.
- TABLE_REMOVE_CLASH - Static variable in exception com.mckoi.database.TransactionException
-
Thrown when a transaction drops or alters a table that another transaction has committed a change to.
- TableAccessState - Class in com.mckoi.database
-
This class provides very limited access to a Table object.
- TableAliasName() - Method in class com.mckoi.database.sql.SQL
- tableCommitChange(TableCommitModificationEvent) - Method in interface com.mckoi.database.TransactionModificationListener
-
An action for when changes to a table are committed.
- TableCommitModificationEvent - Class in com.mckoi.database
-
An object that encapsulates all row modification information about a table when a change to the table is about to be committed.
- TableCommitModificationEvent(SimpleTransaction, TableName, int[], int[]) - Constructor for class com.mckoi.database.TableCommitModificationEvent
-
Constructs the event.
- TableConstraintDefinition() - Method in class com.mckoi.database.sql.SQL
- TableDataConglomerate - Class in com.mckoi.database
-
A conglomerate of data that represents the contents of all tables in a complete database.
- TableDataConglomerate(TransactionSystem, StoreSystem) - Constructor for class com.mckoi.database.TableDataConglomerate
-
Constructs the conglomerate.
- TableDataSource - Interface in com.mckoi.database
-
This interface represents the source of data in a table.
- TableDeclaration(FromClause) - Method in class com.mckoi.database.sql.SQL
- TableDescriptions - Class in com.mckoi.database
-
An object that is a key part of Database.
- TableDescriptions(File) - Constructor for class com.mckoi.database.TableDescriptions
-
Constructs this object with the database in the given directory.
- tableExists(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Returns true if the table exists within this connection transaction.
- tableExists(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Returns true if the database table object with the given name exists within this transaction.
- tableExists(String) - Method in class com.mckoi.database.DatabaseConnection
-
Returns true if the table exists within this connection transaction.
- TableFunctions - Class in com.mckoi.database
-
A number of functions that are table set functions such as simple select operations, joins, unions, sub-query operations, etc.
- TableFunctions() - Constructor for class com.mckoi.database.TableFunctions
- tableLockingEnabled() - Method in class com.mckoi.database.TransactionSystem
-
Returns true if the database should perform checking of table locks.
- TableModificationEvent - Class in com.mckoi.database
-
The event information of when a table is modified inside a transaction.
- TableName - Class in com.mckoi.database
-
A name of a table and any associated referencing information.
- TableName(String) - Constructor for class com.mckoi.database.TableName
- TableName(String, String) - Constructor for class com.mckoi.database.TableName
-
Constructs the name.
- TableName() - Method in class com.mckoi.database.sql.SQL
- TableQueryDef - Interface in com.mckoi.database
-
An interface to an object that describes characteristics of a table based object in the database.
- TableSelectExpression - Class in com.mckoi.database.interpret
-
A container object for the a table select expression, eg.
- TableSelectExpression() - Constructor for class com.mckoi.database.interpret.TableSelectExpression
-
Constructor.
- TArrayType - Class in com.mckoi.database
-
An implementation of TType for an expression array.
- TArrayType() - Constructor for class com.mckoi.database.TArrayType
-
Constructs the type.
- TBinaryType - Class in com.mckoi.database
-
An implementation of TType for a binary block of data.
- TBinaryType(int, int) - Constructor for class com.mckoi.database.TBinaryType
-
Constructs the type.
- TBooleanType - Class in com.mckoi.database
-
An implementation of TType for a boolean value.
- TBooleanType(int) - Constructor for class com.mckoi.database.TBooleanType
-
Constructs the type.
- TCPJDBCServer - Class in com.mckoi.database.control
-
Attaches to a DBSystem, and binds a TCP port and serves queries for JDBC connections.
- TCPJDBCServer(DBSystem) - Constructor for class com.mckoi.database.control.TCPJDBCServer
-
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'.
- TCPJDBCServer(DBSystem, int) - Constructor for class com.mckoi.database.control.TCPJDBCServer
-
Constructs the TCP JDBC with the given DBSystem object, and sets the TCP port that we serve the database from.
- TCPJDBCServer(DBSystem, InetAddress, int) - Constructor for class com.mckoi.database.control.TCPJDBCServer
-
Constructs the TCP JDBC with the given DBSystem object, and sets the inet address and TCP port that we serve the database from.
- TCPServer - Class in com.mckoi.database.jdbcserver
-
A TCP/IP socket server that opens a single port and allows JDBC clients to connect through the port to talk with the database.
- TCPServer(Database) - Constructor for class com.mckoi.database.jdbcserver.TCPServer
-
Constructs the TCPServer over the given DatabaseSystem configuration.
- TDateType - Class in com.mckoi.database
-
An implementation of TType for date objects.
- TDateType(int) - Constructor for class com.mckoi.database.TDateType
-
Constructs the type.
- TEMPORARY - Static variable in interface com.mckoi.database.sql.SQLConstants
- TemporaryTable - Class in com.mckoi.database
-
This class represents a temporary table that is built from data that is not related to any underlying DataTable object from the database.
- TemporaryTable(Database, String, DataTableColumnDef[]) - Constructor for class com.mckoi.database.TemporaryTable
-
The Constructor.
- TemporaryTable(DefaultDataTable) - Constructor for class com.mckoi.database.TemporaryTable
-
Constructs this TemporaryTable based on the given Table object.
- TemporaryTable(String, Table) - Constructor for class com.mckoi.database.TemporaryTable
-
Constructs this TemporaryTable based on the fields from the given Table object.
- TERTIARY_STRENGTH - Static variable in interface com.mckoi.database.sql.SQLConstants
- Test() - Method in class com.mckoi.database.sql.SQL
- testSearch(String, String, boolean) - Static method in class com.mckoi.database.PatternSearch
- text() - Method in class com.mckoi.database.Expression
-
Returns the StringBuffer that we can use to append plain text representation as we are parsing the expression.
- TEXT - Static variable in interface com.mckoi.database.sql.SQLConstants
- TIME - Static variable in interface com.mckoi.database.global.SQLTypes
- TIME - Static variable in interface com.mckoi.database.sql.SQLConstants
- TimeFrame - Class in com.mckoi.util
-
An immutable object that represents a frame of time down to the accuracy of a millisecond.
- TimeFrame(BigDecimal) - Constructor for class com.mckoi.util.TimeFrame
-
Constructs the TimeFrame for the given time.
- TIMESTAMP - Static variable in interface com.mckoi.database.global.SQLTypes
- TIMESTAMP - Static variable in interface com.mckoi.database.sql.SQLConstants
- TINYINT - Static variable in interface com.mckoi.database.global.SQLTypes
- TINYINT - Static variable in interface com.mckoi.database.sql.SQLConstants
- titleString() - Method in class com.mckoi.database.QueryPlan.BranchQueryPlanNode
- titleString() - Method in class com.mckoi.database.QueryPlan.CachePointNode
- titleString() - Method in class com.mckoi.database.QueryPlan.ConstantSelectNode
- titleString() - Method in class com.mckoi.database.QueryPlan.CreateFunctionsNode
- titleString() - Method in class com.mckoi.database.QueryPlan.DistinctNode
- titleString() - Method in class com.mckoi.database.QueryPlan.ExhaustiveSelectNode
- titleString() - Method in class com.mckoi.database.QueryPlan.FetchTableNode
- titleString() - Method in class com.mckoi.database.QueryPlan.FetchViewNode
- titleString() - Method in class com.mckoi.database.QueryPlan.GroupNode
- titleString() - Method in class com.mckoi.database.QueryPlan.JoinNode
- titleString() - Method in class com.mckoi.database.QueryPlan.LeftOuterJoinNode
- titleString() - Method in class com.mckoi.database.QueryPlan.LogicalUnionNode
- titleString() - Method in class com.mckoi.database.QueryPlan.MarkerNode
- titleString() - Method in class com.mckoi.database.QueryPlan.NaturalJoinNode
- titleString() - Method in class com.mckoi.database.QueryPlan.NonCorrelatedAnyAllNode
- titleString() - Method in class com.mckoi.database.QueryPlan.RangeSelectNode
- titleString() - Method in class com.mckoi.database.QueryPlan.SimplePatternSelectNode
- titleString() - Method in class com.mckoi.database.QueryPlan.SimpleSelectNode
- titleString() - Method in class com.mckoi.database.QueryPlan.SingleQueryPlanNode
- titleString() - Method in class com.mckoi.database.QueryPlan.SingleRowTableNode
- titleString() - Method in class com.mckoi.database.QueryPlan.SortNode
- titleString() - Method in class com.mckoi.database.QueryPlan.SubsetNode
- TJavaObjectType - Class in com.mckoi.database
-
An implementation of TType for a java object of possibly defined type.
- TJavaObjectType(String) - Constructor for class com.mckoi.database.TJavaObjectType
-
Constructs the type.
- TNullType - Class in com.mckoi.database
-
An implementation of TType that represents a NULL type.
- TNullType() - Constructor for class com.mckoi.database.TNullType
-
Constructs the type.
- TNumericType - Class in com.mckoi.database
-
An implementation of TType for a number.
- TNumericType(int, int, int) - Constructor for class com.mckoi.database.TNumericType
-
Constructs a type with the given sql_type value, the size, and the scale of the number.
- TO - Static variable in interface com.mckoi.database.sql.SQLConstants
- toArrayParamObject(Expression[]) - Static method in class com.mckoi.database.sql.Util
-
Converts an expression array to an array type that can be added to an expression.
- toBigNumber() - Method in class com.mckoi.database.TObject
-
Returns the BigNumber of this object if this object is a numeric type.
- TObject - Class in com.mckoi.database
-
A TObject is a strongly typed object in a database engine.
- TObject(TType, Object) - Constructor for class com.mckoi.database.TObject
-
Constructs the TObject as the given type.
- toBoolean() - Method in class com.mckoi.database.TObject
-
Returns the Boolean of this object if this object is a boolean type.
- toByteArray() - Method in class com.mckoi.util.BigNumber
-
Returns this number as a byte array (unscaled).
- toClass(int) - Static method in class com.mckoi.database.global.TypeUtil
-
Converts from a db type to a Class object.
- toDate(String) - Static method in class com.mckoi.database.global.CastHelper
-
Parses a String as an SQL date.
- toDBType(Class) - Static method in class com.mckoi.database.global.TypeUtil
-
Converts from a Class object to a type as specified in Types.
- toEncodedString() - Method in class com.mckoi.database.Privileges
-
Converts this privilege to an encoded string.
- toInt() - Method in class com.mckoi.database.Privileges
-
Returns this Privileges object as an encoded int bit array.
- toIntArray() - Method in class com.mckoi.util.IntegerVector
-
Converts the vector into an int[] array.
- token - Variable in class com.mckoi.database.sql.SQL
- Token - Class in com.mckoi.database.sql
-
Describes the input token stream.
- Token() - Constructor for class com.mckoi.database.sql.Token
- token_source - Variable in class com.mckoi.database.sql.SQL
- tokenImage - Variable in exception com.mckoi.database.sql.ParseException
-
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
- tokenImage - Static variable in interface com.mckoi.database.sql.SQLConstants
- TokenMgrError - Error in com.mckoi.database.sql
- TokenMgrError() - Constructor for error com.mckoi.database.sql.TokenMgrError
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error com.mckoi.database.sql.TokenMgrError
- TokenMgrError(String, int) - Constructor for error com.mckoi.database.sql.TokenMgrError
- toMap() - Method in class com.mckoi.database.Table
-
Assuming this table is a 2 column key/value table, and the first column is a string, this will convert it into a map.
- toParamObject(Token, boolean) - Static method in class com.mckoi.database.sql.Util
-
Converts a Token which is either a STRING_LITERAL, NUMBER_LITERAL or IDENTIFIER into a Java Object.
- topInt() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
The top int in the list.
- topInt() - Method in class com.mckoi.util.IntegerListBlockInterface
-
The top int in the list.
- toSelectableRangeArray() - Method in class com.mckoi.database.SelectableRangeSet
-
Returns the range as an array of SelectableRange or an empty array if there is no range.
- toString() - Method in class com.mckoi.database.AbstractDataTable
-
Returns a string that represents this table.
- toString() - Method in class com.mckoi.database.AbstractFunction
- toString() - Method in class com.mckoi.database.control.TCPJDBCServer
-
Returns a string that contains some information about the server that is running.
- toString() - Method in class com.mckoi.database.CorrelatedVariable
- toString() - Method in class com.mckoi.database.Expression
-
Returns a string representation of this object for diagnostic purposes.
- toString() - Method in class com.mckoi.database.FunctionDef
-
Human understandable string, used for the column title.
- toString() - Method in class com.mckoi.database.global.ByteLongObject
- toString() - Method in class com.mckoi.database.global.NullObject
-
Deprecated.
- toString() - Method in interface com.mckoi.database.global.StringAccessor
-
Returns this string as a java.lang.String object.
- toString() - Method in class com.mckoi.database.global.StringObject
-
Returns this object as a java.lang.String object (easy!)
- toString() - Method in class com.mckoi.database.interpret.ByColumn
- toString() - Method in class com.mckoi.database.interpret.SearchExpression
- toString() - Method in class com.mckoi.database.interpret.Select
-
Outputs information for debugging.
- toString() - Method in class com.mckoi.database.interpret.SelectColumn
- toString() - Method in class com.mckoi.database.jdbc.SQLQuery
-
Outputs the query as text (for debugging)
- toString() - Method in class com.mckoi.database.jdbcserver.TCPServer
-
Returns human understandable information about the server.
- toString() - Method in class com.mckoi.database.Lock
- toString() - Method in class com.mckoi.database.LockHandle
- toString() - Method in class com.mckoi.database.Operator
- toString() - Method in class com.mckoi.database.Privileges
- toString() - Method in class com.mckoi.database.ProcedureName
-
Returns this procedure name as a string.
- toString() - Method in class com.mckoi.database.RowData
-
Returns a string representation of this row.
- toString() - Method in class com.mckoi.database.SchemaDef
- toString() - Method in class com.mckoi.database.SelectableRange
-
Outputs this range as a string.
- toString() - Method in class com.mckoi.database.SelectableRangeSet
-
Outputs this range as a string, for diagnostic and testing purposes.
- toString() - Method in class com.mckoi.database.SelectableScheme
-
Diagnostic information.
- toString() - Method in class com.mckoi.database.sql.Token
-
Returns the image.
- toString() - Method in class com.mckoi.database.StatementTree
-
For diagnostic.
- toString() - Method in class com.mckoi.database.SubsetColumnTable
-
Returns a string that represents this table.
- toString() - Method in class com.mckoi.database.Table
-
Returns a string that represents this table.
- toString() - Method in class com.mckoi.database.TableName
-
To string.
- toString() - Method in class com.mckoi.database.TObject
- toString() - Method in class com.mckoi.database.V1MasterTableDataSource
-
For diagnostic.
- toString() - Method in class com.mckoi.database.V2MasterTableDataSource
-
For diagnostic.
- toString() - Method in class com.mckoi.database.Variable
-
To string.
- toString() - Method in class com.mckoi.jfccontrols.Query
-
For debugging.
- toString() - Method in class com.mckoi.store.JournalledFileStore
- toString() - Method in class com.mckoi.util.AbstractBlockIntegerList
- toString() - Method in class com.mckoi.util.BigNumber
-
Returns this big number as a string.
- toString() - Method in class com.mckoi.util.BlockIntegerList.IntArrayListBlock
-
Converts the block into a String.
- toString() - Method in class com.mckoi.util.IntegerVector
-
Converts the vector into a String.
- toString() - Method in class com.mckoi.util.Stats
-
Returns a String that can be use to print out the values of all the stats.
- toString() - Method in class com.mckoi.util.StringListBucket
- toString() - Method in class com.mckoi.util.TimeFrame
-
For Debugging.
- toStringBuffer() - Method in class com.mckoi.util.StringListBucket
-
Returns the bucket as a StringBuffer.
- toStringValue() - Method in class com.mckoi.database.TObject
-
Returns the String of this object if this object is a string type.
- total_allocated_space - Variable in class com.mckoi.store.AbstractStore
-
The total amount of allocated space within this store since the store was openned.
- totalAllocatedSinceStart() - Method in class com.mckoi.store.AbstractStore
-
Returns the total allocated space since the file was openned.
- totalSize() - Method in class com.mckoi.database.FixedSizeDataStore
-
Returns the size of the data store file.
- totalStoreSize() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns the size of the data file that keeps all the data in this store.
- toTechString() - Method in class com.mckoi.database.Variable
-
To a differently formatted string.
- toTime(String) - Static method in class com.mckoi.database.global.CastHelper
-
Parses a String as an SQL time.
- toTimeStamp(String) - Static method in class com.mckoi.database.global.CastHelper
-
Parses a String as an SQL timestamp.
- TQueryPlanType - Class in com.mckoi.database
-
An implementation of TType for a query plan value.
- TQueryPlanType() - Constructor for class com.mckoi.database.TQueryPlanType
-
Constructs the type.
- TRAILING - Static variable in interface com.mckoi.database.sql.SQLConstants
- Transaction - Class in com.mckoi.database
-
An open transaction that manages all data access to the TableDataConglomerate.
- Transaction.CheckExpression - Class in com.mckoi.database
-
Represents a constraint expression to check.
- Transaction.ColumnGroup - Class in com.mckoi.database
-
A group of columns as used by the constraint system.
- Transaction.ColumnGroupReference - Class in com.mckoi.database
-
Represents a reference from a group of columns in one table to a group of columns in another table.
- transactionErrorOnDirtySelect() - Method in class com.mckoi.database.TransactionSystem
-
Returns true if during commit the engine should look for any selects on a modified table and fail if they are detected.
- TransactionException - Exception in com.mckoi.database
-
Thrown when a transaction error happens.
- TransactionException(int, String) - Constructor for exception com.mckoi.database.TransactionException
- TRANSACTIONISOLATIONLEVEL - Static variable in interface com.mckoi.database.sql.SQLConstants
- TransactionModificationListener - Interface in com.mckoi.database
-
A listener that is notified of table modification events made by a transaction, both immediately inside a transaction and when a transaction commits.
- TransactionSystem - Class in com.mckoi.database
-
A class that provides information and global functions for the transaction layer in the engine.
- TransactionSystem() - Constructor for class com.mckoi.database.TransactionSystem
-
Constructor.
- translate(Object) - Static method in class com.mckoi.database.global.ObjectTranslator
-
Translates the given object to a type the database can process.
- TRIGGER - Static variable in interface com.mckoi.database.sql.SQLConstants
- TriggerEvent - Class in com.mckoi.database
-
A trigger event represents a high level action that occured in the database.
- TriggerEvent(int, String) - Constructor for class com.mckoi.database.TriggerEvent
- TriggerEvent(int, String, int) - Constructor for class com.mckoi.database.TriggerEvent
-
Constructs the trigger event.
- triggerExists(String, String) - Method in class com.mckoi.database.ConnectionTriggerManager
-
Returns true if the trigger exists, false otherwise.
- triggerFired(String) - Method in interface com.mckoi.database.jdbc.TriggerListener
-
Notifies this listener that the trigger with the name has been fired.
- TriggerListener - Interface in com.mckoi.database.jdbc
-
A listener that is notified when the trigger being listened to is fired.
- TriggerListener - Interface in com.mckoi.database
-
A listener that can listen for high layer trigger events.
- TriggerName() - Method in class com.mckoi.database.sql.SQL
- triggerNotify(String, int, String, int) - Method in interface com.mckoi.database.DatabaseConnection.CallBack
-
Notifies the callee that a trigger event was fired that this user is listening for.
- TriggerType() - Method in class com.mckoi.database.sql.SQL
- TriggerTypes(ArrayList) - Method in class com.mckoi.database.sql.SQL
- TRIM - Static variable in interface com.mckoi.database.sql.SQLConstants
- tryResolveCase(TableName) - Method in class com.mckoi.database.DatabaseConnection
-
Attempts to resolve the given table name to its correct case assuming the table name represents a case insensitive version of the name.
- tryResolveCase(TableName) - Method in class com.mckoi.database.SimpleTransaction
-
Attempts to resolve the given table name to its correct case assuming the table name represents a case insensitive version of the name.
- TStringType - Class in com.mckoi.database
-
An implementation of TType for a String.
- TStringType(int, int, String) - Constructor for class com.mckoi.database.TStringType
-
Constructor without strength and decomposition that sets to default levels.
- TStringType(int, int, String, int, int) - Constructor for class com.mckoi.database.TStringType
-
Constructs a type with the given sql_type value, the maximum size, and the locale of the string.
- TStringType(int, int, Locale, int, int) - Constructor for class com.mckoi.database.TStringType
-
Constructs a type with the given sql_type value, the maximum size, and the locale of the string.
- TType - Class in com.mckoi.database
-
A TType object represents a type in a database engine.
- TType(int) - Constructor for class com.mckoi.database.TType
-
Constructs the type object.
- type - Variable in class com.mckoi.database.DataTableColumnDef
-
The TType object for this column.
- typeEquals(RootTable) - Method in class com.mckoi.database.AbstractDataTable
-
This function is used to check that two tables are identical.
- typeEquals(RootTable) - Method in class com.mckoi.database.CompositeTable
- typeEquals(RootTable) - Method in class com.mckoi.database.ReferenceTable
- typeEquals(RootTable) - Method in interface com.mckoi.database.RootTable
-
This is function is used to check that two root tables are identical.
- typeEquals(RootTable) - Method in class com.mckoi.database.SubsetColumnTable
-
This function is used to check that two tables are identical.
- Types - Interface in com.mckoi.database.global
-
The possible types used in the database.
- TypeUtil - Class in com.mckoi.database.global
-
Utility for converting to and from 'Types' objects.
- TypeUtil() - Constructor for class com.mckoi.database.global.TypeUtil
U
- unblock() - Method in class com.mckoi.jfccontrols.SwingBlockUtil
-
Unblocks any call to the 'block' method.
- UNCOMMITTED - Static variable in interface com.mckoi.database.RawDiagnosticTable
-
Statics that represent the various states of a record.
- union(Operator, TObject) - Method in class com.mckoi.database.SelectableRangeSet
-
Unions this range with the given Operator and value constraint.
- union(SelectableRangeSet) - Method in class com.mckoi.database.SelectableRangeSet
-
Unions the current range set with the given range set.
- union(Table) - Method in class com.mckoi.database.Table
-
Returns a new Table that is the union of the this table and the given table.
- UNION - Static variable in class com.mckoi.database.CompositeTable
-
The composite function for finding the union of the tables.
- UNION - Static variable in interface com.mckoi.database.sql.SQLConstants
- UNIQUE - Static variable in class com.mckoi.database.interpret.ConstraintDef
-
A UNIQUE constraint.
- UNIQUE - Static variable in interface com.mckoi.database.sql.SQLConstants
- UNIQUE_COLS_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- UNIQUE_INFO_TABLE - Static variable in class com.mckoi.database.TableDataConglomerate
- UNIQUE_VIOLATION - Static variable in exception com.mckoi.database.DatabaseConstraintViolationException
-
A Unique constraint violation error code.
- uniqueInsertSort(int) - Method in class com.mckoi.util.AbstractBlockIntegerList
-
Inserts plain 'int' value into the sorted position in the list only if it isn't already in the list.
- uniqueInsertSort(int) - Method in interface com.mckoi.util.IntegerListInterface
-
Inserts plain 'int' value into the sorted position in the list only if it isn't already in the list.
- unlock() - Method in class com.mckoi.database.FixedSizeDataStore
-
Unlocks the store.
- unlock() - Method in class com.mckoi.database.VariableSizeDataStore
-
Unlocks the store so that deleted elements can be reclaimed again.
- UNLOCK - Static variable in interface com.mckoi.database.sql.SQLConstants
- unlockForWrite() - Method in class com.mckoi.store.HeapStore
- unlockForWrite() - Method in class com.mckoi.store.JournalledFileStore
- unlockForWrite() - Method in class com.mckoi.store.LoggingBufferManager
-
Releases a write lock on the buffer.
- unlockForWrite() - Method in interface com.mckoi.store.Store
-
See the 'lockForWrite' method description.
- unlockRoot(int) - Method in class com.mckoi.database.CompositeTable
- unlockRoot(int) - Method in class com.mckoi.database.DataTable
-
Unlocks the root tables so that the underlying rows may once again be used if they are not locked and have been removed.
- unlockRoot(int) - Method in class com.mckoi.database.DataTableFilter
-
Unlocks the root tables so that the underlying rows may once again be used if they are not locked and have been removed.
- unlockRoot(int) - Method in class com.mckoi.database.FilterTable
-
Unlocks the root tables so that the underlying rows may once again be used if they are not locked and have been removed.
- unlockRoot(int) - Method in class com.mckoi.database.FunctionTable
-
Unlocks the root tables so that the underlying rows may once again be used if they are not locked and have been removed.
- unlockRoot(int) - Method in class com.mckoi.database.JoinedTable
-
Unlocks the root tables so that the underlying rows may once again be used if they are not locked and have been removed.
- unlockRoot(int) - Method in class com.mckoi.database.Table
-
Unlocks the root tables so that the underlying rows may once again be used if they are not locked and have been removed.
- unlockRoot(int) - Method in class com.mckoi.database.TableAccessState
-
Unlocks the root rows of the table.
- unlockRoot(int) - Method in class com.mckoi.database.TemporaryTable
-
Unlocks the root tables so that the underlying rows may once again be used if they are not locked and have been removed.
- unlockTables(LockHandle) - Method in class com.mckoi.database.LockingMechanism
-
Unlocks the tables that were previously locked by the 'lockTables' method.
- unsupported() - Static method in exception com.mckoi.database.jdbc.MSQLException
-
Returns an SQLException that is used for all unsupported features of the JDBC driver.
- unsupported16() - Static method in exception com.mckoi.database.jdbc.MSQLException
-
Generates the feature not supported exception.
- unwrap(Class) - Method in class com.mckoi.database.jdbc.MConnection
- unwrap(Class) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- unwrap(Class) - Method in class com.mckoi.database.jdbc.MResultSet
- unwrap(Class) - Method in class com.mckoi.database.jdbc.MResultSetMetaData
- update(QueryContext, Table, Assignment[], int) - Method in class com.mckoi.database.DataTable
-
Updates the table by applying the assignment operations over each row that is found in the input 'table' set.
- Update() - Method in class com.mckoi.database.sql.SQL
- UPDATE - Static variable in class com.mckoi.database.Privileges
-
The priv to UPDATE a database object.
- UPDATE - Static variable in interface com.mckoi.database.sql.SQLConstants
- UPDATE - Static variable in class com.mckoi.database.TableModificationEvent
-
Event type for update action.
- UPDATE - Static variable in class com.mckoi.database.TriggerEvent
- update_rule - Variable in class com.mckoi.database.Transaction.ColumnGroupReference
-
The update rule.
- updateArray(int, Array) - Method in class com.mckoi.database.jdbc.MResultSet
- updateArray(String, Array) - Method in class com.mckoi.database.jdbc.MResultSet
- updateAsciiStream(int, InputStream) - Method in class com.mckoi.database.jdbc.MResultSet
- updateAsciiStream(int, InputStream, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateAsciiStream(int, InputStream, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateAsciiStream(String, InputStream) - Method in class com.mckoi.database.jdbc.MResultSet
- updateAsciiStream(String, InputStream, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateAsciiStream(String, InputStream, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBigDecimal(int, BigDecimal) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBigDecimal(String, BigDecimal) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBinaryStream(int, InputStream) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBinaryStream(int, InputStream, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBinaryStream(int, InputStream, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBinaryStream(String, InputStream) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBinaryStream(String, InputStream, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBinaryStream(String, InputStream, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBlob(int, InputStream) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBlob(int, InputStream, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBlob(int, Blob) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBlob(String, InputStream) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBlob(String, InputStream, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBlob(String, Blob) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBoolean(int, boolean) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBoolean(String, boolean) - Method in class com.mckoi.database.jdbc.MResultSet
- updateByte(int, byte) - Method in class com.mckoi.database.jdbc.MResultSet
- updateByte(String, byte) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBytes(int, byte[]) - Method in class com.mckoi.database.jdbc.MResultSet
- updateBytes(String, byte[]) - Method in class com.mckoi.database.jdbc.MResultSet
- updateCharacterStream(int, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateCharacterStream(int, Reader, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateCharacterStream(int, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateCharacterStream(String, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateCharacterStream(String, Reader, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateCharacterStream(String, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateClob(int, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateClob(int, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateClob(int, Clob) - Method in class com.mckoi.database.jdbc.MResultSet
- updateClob(String, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateClob(String, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateClob(String, Clob) - Method in class com.mckoi.database.jdbc.MResultSet
- updateDate(int, Date) - Method in class com.mckoi.database.jdbc.MResultSet
- updateDate(String, Date) - Method in class com.mckoi.database.jdbc.MResultSet
- updateDouble(int, double) - Method in class com.mckoi.database.jdbc.MResultSet
- updateDouble(String, double) - Method in class com.mckoi.database.jdbc.MResultSet
- updateFloat(int, float) - Method in class com.mckoi.database.jdbc.MResultSet
- updateFloat(String, float) - Method in class com.mckoi.database.jdbc.MResultSet
- updateInt(int, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateInt(String, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateLong(int, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateLong(String, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNCharacterStream(int, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNCharacterStream(int, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNCharacterStream(String, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNCharacterStream(String, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNClob(int, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNClob(int, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNClob(int, NClob) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNClob(String, Reader) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNClob(String, Reader, long) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNClob(String, NClob) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNString(int, String) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNString(String, String) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNull(int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateNull(String) - Method in class com.mckoi.database.jdbc.MResultSet
- updateObject(int, Object) - Method in class com.mckoi.database.jdbc.MResultSet
- updateObject(int, Object, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateObject(String, Object) - Method in class com.mckoi.database.jdbc.MResultSet
- updateObject(String, Object, int) - Method in class com.mckoi.database.jdbc.MResultSet
- updateRef(int, Ref) - Method in class com.mckoi.database.jdbc.MResultSet
- updateRef(String, Ref) - Method in class com.mckoi.database.jdbc.MResultSet
- updateResultSet(ResultSet) - Method in class com.mckoi.jfccontrols.ResultSetTableModel
-
Updates the result set in this model with the given ResultSet object.
- updateRow() - Method in class com.mckoi.database.jdbc.MResultSet
- updateRow(int, RowData) - Method in interface com.mckoi.database.MutableTableDataSource
-
Updates a row in the source.
- updateRowId(int, RowId) - Method in class com.mckoi.database.jdbc.MResultSet
- updateRowId(String, RowId) - Method in class com.mckoi.database.jdbc.MResultSet
- updatesAreDetected(int) - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- updateShort(int, short) - Method in class com.mckoi.database.jdbc.MResultSet
- updateShort(String, short) - Method in class com.mckoi.database.jdbc.MResultSet
- updateSQLXML(int, SQLXML) - Method in class com.mckoi.database.jdbc.MResultSet
- updateSQLXML(String, SQLXML) - Method in class com.mckoi.database.jdbc.MResultSet
- updateString(int, String) - Method in class com.mckoi.database.jdbc.MResultSet
- updateString(String, String) - Method in class com.mckoi.database.jdbc.MResultSet
- updateTable(DataTableDef) - Method in class com.mckoi.database.DatabaseConnection
-
Updates a given table within the context of the current connection transaction.
- updateTable(DataTableDef, int, int) - Method in class com.mckoi.database.DatabaseConnection
-
Updates a given table within the context of the current connection transaction.
- UpdateTable - Class in com.mckoi.database.interpret
-
The instance class that stores all the information about an update statement for processing.
- UpdateTable() - Constructor for class com.mckoi.database.interpret.UpdateTable
- updateTime(int, Time) - Method in class com.mckoi.database.jdbc.MResultSet
- updateTime(String, Time) - Method in class com.mckoi.database.jdbc.MResultSet
- updateTimestamp(int, Timestamp) - Method in class com.mckoi.database.jdbc.MResultSet
- updateTimestamp(String, Timestamp) - Method in class com.mckoi.database.jdbc.MResultSet
- USAGE - Static variable in class com.mckoi.database.Privileges
-
The priv to see statistics on a database object.
- USAGE - Static variable in interface com.mckoi.database.sql.SQLConstants
- USE - Static variable in interface com.mckoi.database.sql.SQLConstants
- usedRecordCount() - Method in class com.mckoi.database.VariableSizeDataStore
-
Returns the number of records that are being used.
- user - Variable in class com.mckoi.database.interpret.Statement
-
The user context.
- User - Class in com.mckoi.database
-
Encapsulates the information about a single user logged into the system.
- USER - Static variable in interface com.mckoi.database.sql.SQLConstants
- USER_AUTHENTICATION_FAILED - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Sent if login failed because username or password were invalid.
- USER_AUTHENTICATION_PASSED - Static variable in interface com.mckoi.database.jdbc.ProtocolConstants
-
Sent if login passed.
- USER_MANAGER_GROUP - Static variable in class com.mckoi.database.Database
-
The name of the user manager group.
- UserAccessException - Exception in com.mckoi.database
-
An exception that is thrown when the user is not permitted to perform a certain action.
- UserAccessException(String) - Constructor for exception com.mckoi.database.UserAccessException
- userAt(int) - Method in class com.mckoi.database.UserManager
-
Returns the User object at index 'n' in the manager where 0 is the first user.
- userBelongsToGroup(DatabaseQueryContext, String, String) - Method in class com.mckoi.database.Database
-
Returns true if the given user belongs to the given group otherwise returns false.
- userCount() - Method in class com.mckoi.database.UserManager
-
Returns the number of users that are logged in.
- userExists(DatabaseQueryContext, String) - Method in class com.mckoi.database.Database
-
Returns true if a user exists in this database, otherwise returns false.
- userGrantOptions(int, String, String) - Method in class com.mckoi.database.GrantManager
-
Returns all Privileges for the given object for the given grantee (user) that the user is allowed to give grant options for.
- userGrants(int, String, String) - Method in class com.mckoi.database.GrantManager
-
Returns all Privileges for the given object for the given grantee (user).
- UserManager - Class in com.mckoi.database.interpret
-
Handler for User commands for creating, altering and dropping user accounts in the database.
- UserManager - Class in com.mckoi.database
-
A class that manages the list of users connected to the engine.
- UserManager() - Constructor for class com.mckoi.database.interpret.UserManager
- UserManagerCommand(StatementTree) - Method in class com.mckoi.database.sql.SQL
- UserName() - Method in class com.mckoi.database.sql.SQL
- UserNameList(ArrayList) - Method in class com.mckoi.database.sql.SQL
- UserTerminal - Interface in com.mckoi.util
-
An interface that represents a terminal that is asked questions in human and machine understandable terms, and sends answers.
- usesLocalFilePerTable() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- usesLocalFiles() - Method in class com.mckoi.database.jdbc.MDatabaseMetaData
- USING - Static variable in interface com.mckoi.database.sql.SQLConstants
- Util - Class in com.mckoi.database.sql
-
Various utility methods for the iterpreter.
- Util() - Constructor for class com.mckoi.database.sql.Util
V
- V1MasterTableDataSource - Class in com.mckoi.database
-
A MasterTableDataSource that uses IndexStore and VariableSizeDataStore as its backing mechanism for representing the table structure in a file on disk.
- V1MasterTableDataSource(TransactionSystem, StoreSystem, OpenTransactionList) - Constructor for class com.mckoi.database.V1MasterTableDataSource
-
The Constructor.
- V2MasterTableDataSource - Class in com.mckoi.database
-
A MasterTableDataSource that is backed by a non-shared com.mckoi.store.Store object.
- V2MasterTableDataSource(TransactionSystem, StoreSystem, OpenTransactionList, BlobStoreInterface) - Constructor for class com.mckoi.database.V2MasterTableDataSource
-
The Constructor.
- VALUES - Static variable in interface com.mckoi.database.sql.SQLConstants
- valuesEqual(TObject) - Method in class com.mckoi.database.TObject
-
Equality test.
- VARBINARY - Static variable in interface com.mckoi.database.global.SQLTypes
- VARBINARY - Static variable in interface com.mckoi.database.sql.SQLConstants
- VARCHAR - Static variable in interface com.mckoi.database.global.SQLTypes
- VARCHAR - Static variable in interface com.mckoi.database.sql.SQLConstants
- Variable - Class in com.mckoi.database
-
This represents a column name that may be qualified.
- Variable(TableName, String) - Constructor for class com.mckoi.database.Variable
-
Constructs the ColumnName.
- Variable(Variable) - Constructor for class com.mckoi.database.Variable
- Variable(String) - Constructor for class com.mckoi.database.Variable
- VariableResolver - Interface in com.mckoi.database
-
An interface to resolve a variable name to a constant object.
- VariableSizeDataStore - Class in com.mckoi.database
-
Provides a mechanism for storing variable length data in a file which can quickly be indexed via a reference number.
- VariableSizeDataStore(File, int, DebugLogger) - Constructor for class com.mckoi.database.VariableSizeDataStore
-
Constructs the variable size store.
- VariableSizeDataStore(File, DebugLogger) - Constructor for class com.mckoi.database.VariableSizeDataStore
- VARYING - Static variable in interface com.mckoi.database.sql.SQLConstants
- verboseColumnNames() - Method in class com.mckoi.database.jdbc.MConnection
-
Returns true if ResultSetMetaData should return verbose column names.
- VERSION - Static variable in class com.mckoi.database.global.StandardMessages
-
The global version number of the database system.
- VIEW - Static variable in interface com.mckoi.database.sql.SQLConstants
- ViewDef - Class in com.mckoi.database
-
A ViewDef object is a definition of a view stored in the database.
- ViewDef(DataTableDef, QueryPlanNode) - Constructor for class com.mckoi.database.ViewDef
-
Constructs the ViewDef object.
- viewExists(TableName) - Method in class com.mckoi.database.ViewManager
-
Returns true if the view with the given name exists.
- ViewManager - Class in com.mckoi.database.interpret
-
Handler for creating and dropping views in the database.
- ViewManager - Class in com.mckoi.database
-
A DatabaseConnection view manager.
- ViewManager() - Constructor for class com.mckoi.database.interpret.ViewManager
- VirtualTable - Class in com.mckoi.database
-
A VirtualTable is a representation of a table whose rows are actually physically stored in another table.
- VirtualTable() - Constructor for class com.mckoi.database.VirtualTable
W
- waitUntilShutdown() - Method in class com.mckoi.database.Database
-
Blocks until the database has shut down.
- WARNING - Static variable in class com.mckoi.debug.Debug
-
Deprecated.
- WARNING - Static variable in interface com.mckoi.debug.Lvl
- wasNull() - Method in class com.mckoi.database.jdbc.MResultSet
- WEEKS - Static variable in class com.mckoi.util.TimeFrame
-
Formatting enum.
- WHERE - Static variable in interface com.mckoi.database.sql.SQLConstants
- where_clause - Variable in class com.mckoi.database.interpret.TableSelectExpression
-
The where clause.
- wilderness_pointer - Variable in class com.mckoi.store.AbstractStore
-
A pointer to the wilderness area (the last deleted area in the store), or -1 if there is no wilderness area.
- wipeLastOutputStream() - Method in class com.mckoi.database.FixedSizeDataStore
-
Wipes the SectorOutputStream from this object.
- WITH - Static variable in interface com.mckoi.database.sql.SQLConstants
- write(byte[], int, int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Writes a variable length byte[] array to the first available index.
- write(char[], int, int) - Method in class com.mckoi.util.LogWriter
- write(int) - Method in class com.mckoi.util.LogWriter
- write(int, Class, String) - Static method in class com.mckoi.debug.Debug
-
Deprecated.
- write(int, Class, String) - Method in interface com.mckoi.debug.DebugLogger
- write(int, Class, String) - Method in class com.mckoi.debug.DefaultDebugLogger
- write(int, Object, String) - Static method in class com.mckoi.debug.Debug
-
Deprecated.This writes the given debugging string.
- write(int, Object, String) - Method in interface com.mckoi.debug.DebugLogger
-
This writes the given debugging string.
- write(int, Object, String) - Method in class com.mckoi.debug.DefaultDebugLogger
- write(int, String, String) - Static method in class com.mckoi.debug.Debug
-
Deprecated.
- write(int, String, String) - Method in interface com.mckoi.debug.DebugLogger
- write(int, String, String) - Method in class com.mckoi.debug.DefaultDebugLogger
- write(long, byte[], int) - Method in interface com.mckoi.database.global.Ref
-
This method is used to write the contents of the large object into the backing store.
- write(long, byte[], int, int) - Method in class com.mckoi.store.ScatteringStoreDataAccessor
- write(DataOutput) - Method in class com.mckoi.database.DataIndexDef
-
Writes this object to the given DataOutputStream.
- write(DataOutput) - Method in class com.mckoi.database.DataIndexSetDef
-
Writes this DataIndexSetDef object to the given DataOutput.
- write(Object, String) - Static method in class com.mckoi.debug.Debug
-
Deprecated.this is a legacy debug method.
- write(String, int, int) - Method in class com.mckoi.util.LogWriter
- WRITE - Static variable in class com.mckoi.database.Lock
- writeAcross(byte[], int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Writes a byte[] array of data across as many sectors as it takes to store the data.
- writeAllBins() - Method in class com.mckoi.store.AbstractStore
-
Updates all bins to the data area header area.
- writeBinIndex(int) - Method in class com.mckoi.store.AbstractStore
-
Updates the given bin index to the data area header area.
- writeByteArrayTo(long, byte[], int, int) - Method in class com.mckoi.store.AbstractStore
-
Writes a byte array to the given position in the file.
- writeByteArrayTo(long, byte[], int, int) - Method in class com.mckoi.store.JournalledFileStore
- writeByteTo(long, int) - Method in class com.mckoi.store.AbstractStore
-
Writes a byte to the given position in the file.
- writeByteTo(long, int) - Method in class com.mckoi.store.JournalledFileStore
- writeException(int, Throwable) - Static method in class com.mckoi.debug.Debug
-
Deprecated.This writes the given Exception but gives it a 'debug_level'.
- writeException(int, Throwable) - Method in interface com.mckoi.debug.DebugLogger
-
This writes the given Exception but gives it a 'debug_level'.
- writeException(int, Throwable) - Method in class com.mckoi.debug.DefaultDebugLogger
- writeException(Throwable) - Static method in class com.mckoi.debug.Debug
-
Deprecated.This writes the given Exception.
- writeException(Throwable) - Method in interface com.mckoi.debug.DebugLogger
-
This writes the given Exception.
- writeException(Throwable) - Method in class com.mckoi.debug.DefaultDebugLogger
- writeRecordType(int, int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Updates the 32-bit type_key int of a record.
- writeReservedBuffer(byte[], int, int) - Method in class com.mckoi.database.FixedSizeDataStore
- writeReservedBuffer(byte[], int, int) - Method in class com.mckoi.database.VariableSizeDataStore
- writeReservedBuffer(byte[], int, int, int) - Method in class com.mckoi.database.FixedSizeDataStore
-
Every data store has a 128 byte buffer that can be used to store state information.
- writeReservedBuffer(byte[], int, int, int) - Method in class com.mckoi.database.VariableSizeDataStore
-
Writes reserved information to the variable data store.
- writeString(String) - Method in class com.mckoi.database.VariableSizeDataStore
- writeTo(DataOutput, Object) - Static method in class com.mckoi.database.global.ObjectTransfer
-
Writes an object to the data output stream.
- writeTo(DataOutputStream) - Method in class com.mckoi.database.global.ColumnDescription
-
Writes this ColumnDescription to the given DataOutputStream.
- writeTo(DataOutputStream) - Method in class com.mckoi.database.jdbc.SQLQuery
-
Writes the SQL query to the data output stream.
- writeTo(OutputStream) - Method in class com.mckoi.database.BlindSearch
-
Writes the entire state of the scheme to the output stream.
- writeTo(OutputStream) - Method in class com.mckoi.database.CollatedBaseSearch
-
Writes the entire state of the scheme to the output stream.
- writeTo(OutputStream) - Method in class com.mckoi.database.InsertSearch
-
Writes the entire state of the scheme to the output stream.
- writeTo(OutputStream) - Method in class com.mckoi.database.SelectableScheme
-
Writes the entire contents of the scheme to an OutputStream object.
Z
- zeroNumber() - Static method in class com.mckoi.database.sql.Util
-
Returns numeric 0
All Classes All Packages