Uses of Class
com.mckoi.util.IntegerVector
-
Packages that use IntegerVector Package Description com.mckoi.database The core database classes for Mckoi.com.mckoi.database.jdbcserver Implementation of the DatabaseInterface interface, including classes to handle local (embedded) mode and remote (client/server) mode.com.mckoi.database.regexbridge Implementations of the RegexLibrary interface, which allows the application to select which regular expression package to use.com.mckoi.util Miscellaneous utility classes. -
-
Uses of IntegerVector in com.mckoi.database
Fields in com.mckoi.database declared as IntegerVector Modifier and Type Field Description private IntegerVectorTableBackedCache. added_listThe list of added rows to the table above when a change is committed.private IntegerVectorMasterTableJournal. command_parametersAn IntegerVector that is filled with parameters from the command journal.private IntegerVectorTransactionJournal. command_parametersAn IntegerVector that is filled with parameters from the command journal.private IntegerVectorRIDList. concurrent_modification_infoA list of modifications made to the index while it is being built.private IntegerVectorIndexStore.SnapshotIndexSet. deleted_sectorsThe sectors that are to be deleted when a garbage collection cycle occurs.private IntegerVectorFunctionTable.TableGroupResolver. groupThe IntegerVector that represents the group we are currently processing.private IntegerVectorFunctionTable. group_linksThe group row links.private IntegerVectorFunctionTable. group_lookupThe lookup mapping for row->group_index used for grouping.private IntegerVectorNaturallyJoinedTable. left_setThe lookup row set for the left and right tables.IntegerVector[]OuterTable. outer_rowsThe merged rows.private IntegerVectorTableBackedCache. removed_listThe list of removed rows from the table above when a change is committed.private IntegerVectorRIDList. rid_listThe contents of our list.private IntegerVectorNaturallyJoinedTable. right_setThe lookup row set for the left and right tables.protected IntegerVector[]VirtualTable. row_listArray of IntegerVectors that represent the rows taken from the given parents.(package private) IntegerVectorRawTableElement. row_setprivate IntegerVectorBlindSearch.RangeChecker. sorted_setThe sorted list of all items in the set created as a cache for finding the first and last values.private IntegerVector[]CompositeTable. table_indexesThe list of indexes of rows to include in each table.private IntegerVectorTransactionJournal. touched_tablesThe list of table's that have been touched by this transaction.private IntegerVectorFunctionTable. whole_table_groupIf the whole table is a group, this is the grouping rows.Methods in com.mckoi.database that return IntegerVector Modifier and Type Method Description private IntegerVectorCollatedBaseSearch. addRange(SelectableRange range, IntegerVector ivec)Adds a range from this set to the given IntegerVector.protected IntegerVectorCollatedBaseSearch. addRangeToSet(int start, int end, IntegerVector ivec)Adds the set indexes to the list that represent the range of values between the start (inclusive) and end offset (inclusive) given.protected IntegerVectorInsertSearch. addRangeToSet(int start, int end, IntegerVector ivec)(package private) IntegerVector[]MasterTableJournal. allChangeInformation()Returns three lists - a list of all rows that were inserted, a list of all rows that were deleted, and a list of all updates.(package private) IntegerVectorIndexStore.SnapshotIndexSet. allDeletedSectors()Returns the sectors that were deleted when this store committed.(package private) IntegerVectorTable. allRowsIn(int column, Table table)Given a table and column (from this table), this returns all the rows from this table that are also in the first column of the given table.(package private) IntegerVectorTable. allRowsNotIn(int column, Table table)Given a table and column (from this table), this returns all the rows from this table that are not in the first column of the given table.private IntegerVectorJoinedTable. calculateRowReferenceList()Returns a row reference list.private static IntegerVectorNaturallyJoinedTable. createLookupRowList(Table t)Creates a lookup list for rows in the given table.(package private) static IntegerVectorTableDataConglomerate. findKeys(TableDataSource t2, int[] col2_indexes, TObject[] key_value)Returns the key indices found in the given table.protected IntegerVector[]VirtualTable. getReferenceRows()Returns the list of IntegerVector that represents the rows that this VirtualTable references.(package private) IntegerVector[]RawTableInformation. getRows()Returns a IntegerVector[] list of the rows in the table that have been added.(package private) IntegerVectorTransactionJournal. getTablesConstraintAltered()Returns the list of tables id's that were constraint altered by this journal.(package private) IntegerVectorTransactionJournal. getTablesCreated()Returns the list of tables id's that were created by this journal.(package private) IntegerVectorTransactionJournal. getTablesDropped()Returns the list of tables id's that were dropped by this journal.IntegerVectorFunctionTable. groupRows(int group_number)Returns an IntegerVector that represents the list of all rows in the group the index is at.(package private) static IntegerVectorINHelper. in(Table table1, Table table2, int[] t1_cols, int[] t2_cols)A multi-column version of IN.(package private) static IntegerVectorINHelper. in(Table table1, Table table2, int column1, int column2)This implements the 'in' command.(package private) IntegerVectorFunctionTable. maxFromEachGroup(int col_num)Returns a list of rows that represent the maximum row of the given column from each distinct group in this table.(package private) static IntegerVectorINHelper. notIn(Table table1, Table table2, int[] t1_cols, int[] t2_cols)A multi-column version of NOT IN.(package private) static IntegerVectorINHelper. notIn(Table table1, Table table2, int col1, int col2)This implements the 'not_in' command.IntegerVectorTable. orderedRowList(int[] col_map)Returns an IntegerVector that represents the list of rows in this table in sorted order by the given column map.(package private) static IntegerVectorINHelper. origIn(Table table1, Table table2, int column1, int column2)This implements the 'in' command.(package private) static IntegerVectorPatternSearch. regexSearch(Table table, int column, java.lang.String pattern)Matches a column of a table against a constant regular expression pattern.IntegerVectorRegexLibrary. regexSearch(Table table, int column, java.lang.String regular_expression, java.lang.String expression_ops)Performs a regular expression search on the given column of the table.IntegerVectorBlindSearch.RangeChecker. resolve()Resolves the ranges.(package private) static IntegerVectorPatternSearch. search(Table table, int column, java.lang.String pattern)This is the search method.(package private) static IntegerVectorPatternSearch. search(Table table, int column, java.lang.String pattern, char escape_char)This is the search method.IntegerVectorBlindSearch. selectAll()IntegerVectorCollatedBaseSearch. selectAll()IntegerVectorInsertSearch. selectAll()The select operations for this scheme.IntegerVectorSelectableScheme. selectAll()These are the select operations that are the main purpose of the scheme.IntegerVectorTable. selectAll()Returns a list of rows that represents the enumerator order of this table.IntegerVectorTable. selectAll(int column)Returns an array that represents the sorted order of this table by the given column number.IntegerVectorSelectableScheme. selectAllNonNull()Selects all values in the column that are not null.IntegerVectorSelectableScheme. selectBetween(TObject ob1, TObject ob2)IntegerVectorSelectableScheme. selectEqual(TObject ob)IntegerVectorSelectableScheme. selectFirst()IntegerVectorTable. selectFirst(int column)Returns an array that represents the first sorted element(s) of the given column number.(package private) IntegerVectorTable. selectFromPattern(int column, Operator op, TObject ob)Selects all the rows where the given column matches the given pattern.(package private) IntegerVectorTable. selectFromRegex(int column, Operator op, TObject ob)Selects all the rows where the given column matches the regular expression.IntegerVectorSelectableScheme. selectGreater(TObject ob)IntegerVectorSelectableScheme. selectGreaterOrEqual(TObject ob)IntegerVectorSimpleTableQuery. selectIndexesEqual(int column, TObject cell)Finds the index of all the rows in the table where the given column is equal to the given object.IntegerVectorSimpleTableQuery. selectIndexesEqual(int col1, TObject cell1, int col2, TObject cell2)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.IntegerVectorSimpleTableQuery. selectIndexesEqual(int column, java.lang.Object value)Finds the index of all the rows in the table where the given column is equal to the given object.IntegerVectorSimpleTableQuery. selectIndexesEqual(int col1, java.lang.Object val1, int col2, java.lang.Object val2)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.IntegerVectorSelectableScheme. selectLast()IntegerVectorTable. selectLast(int column)Returns an array that represents the last sorted element(s) of the given column number.IntegerVectorSelectableScheme. selectLess(TObject ob)IntegerVectorSelectableScheme. selectLessOrEqual(TObject ob)IntegerVectorSelectableScheme. selectNotEqual(TObject ob)IntegerVectorSelectableScheme. selectNotFirst()IntegerVectorSelectableScheme. selectNotLast()IntegerVectorBlindSearch. selectRange(SelectableRange range)IntegerVectorBlindSearch. selectRange(SelectableRange[] ranges)IntegerVectorCollatedBaseSearch. selectRange(SelectableRange range)IntegerVectorCollatedBaseSearch. selectRange(SelectableRange[] ranges)(package private) abstract IntegerVectorSelectableScheme. selectRange(SelectableRange range)Selects the given range of values from this index.(package private) abstract IntegerVectorSelectableScheme. selectRange(SelectableRange[] ranges)Selects a set of ranges from this index.IntegerVectorTable. selectRange(int column, SelectableRange[] ranges)Returns an array that represents the sorted order of this table of all values in the given SelectableRange objects of the given column index.IntegerVectorTable. selectRest(int column)Returns an array that represents the rest of the sorted element(s) of the given column number.(package private) IntegerVectorTable. selectRows(int[] cols, Operator op, TObject[] cells)Returns a set that respresents the list of multi-column row numbers selected from the table given the condition.(package private) IntegerVectorTable. selectRows(int column, Operator op, TObject cell)Returns a set that represents the list of row numbers selected from the table given the condition.(package private) IntegerVectorTable. selectRows(int column, TObject min_cell, TObject max_cell)Selects the rows in a table column between two minimum and maximum bounds.(package private) IntegerVectorFunctionTable. topFromEachGroup()Returns a list of rows that represent one row from each distinct group in this table.Methods in com.mckoi.database with parameters of type IntegerVector Modifier and Type Method Description (package private) voidRawTableInformation. add(RootTable table, IntegerVector row_set)Adds a new DataTable or ReferenceTable, and IntegerVector row set into the object.private IntegerVectorCollatedBaseSearch. addRange(SelectableRange range, IntegerVector ivec)Adds a range from this set to the given IntegerVector.protected IntegerVectorCollatedBaseSearch. addRangeToSet(int start, int end, IntegerVector ivec)Adds the set indexes to the list that represent the range of values between the start (inclusive) and end offset (inclusive) given.protected IntegerVectorInsertSearch. addRangeToSet(int start, int end, IntegerVector ivec)private voidTableBackedCache. addRowsToList(int[] from, IntegerVector list)Adds new row ids to the given list.private voidTableDataConglomerate. commitToTables(IntegerVector created_tables, IntegerVector dropped_tables)Sets the given List of MasterTableDataSource objects to the currently committed list of tables in this conglomerate.voidSimpleTableQuery. deleteRows(IntegerVector list)Deletes all the given indexes in this table.private voidBlindSearch. doInsertSort(IntegerVector vec, int row)private intBlindSearch. highestSearch(TObject ob, IntegerVector vec, int lower, int higher)Searches for a given TObject (ob) in the row list between the two bounds.BlockIntegerListSelectableScheme. internalOrderIndexSet(IntegerVector row_set)Returns a BlockIntegerList that represents the given row_set sorted in the order of this scheme.voidConnectionTriggerManager.CTMBackedCache. purgeCacheOfInvalidatedEntries(IntegerVector added_rows, IntegerVector removed_rows)(package private) abstract voidTableBackedCache. purgeCacheOfInvalidatedEntries(IntegerVector added_rows, IntegerVector removed_rows)This method is called when the transaction starts and finishes and must purge the cache of all invalidated entries.protected abstract voidJoinedTable. resolveAllRowsForTableAt(IntegerVector row_set, int table_num)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.protected voidNaturallyJoinedTable. resolveAllRowsForTableAt(IntegerVector row_set, int table_num)protected voidVirtualTable. resolveAllRowsForTableAt(IntegerVector row_set, int table_num)(package private) RawTableInformationJoinedTable. resolveToRawTable(RawTableInformation info, IntegerVector row_set)Returns an object that contains fully resolved, one level only information about the DataTable and the row indices of the data in this table.private intBlindSearch. search(TObject ob, IntegerVector vec, int lower, int higher)We implement an insert sort algorithm here.(package private) voidVirtualTable. set(Table[] tables, IntegerVector[] rows)This is used in a join to set a list or joined rows and tables.(package private) voidVirtualTable. set(Table table, IntegerVector rows)Sets the rows in this table.(package private) voidCompositeTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)(package private) voidDataTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)Given a set, this trickles down through the Table hierarchy resolving the given row_set to a form that the given ancestor understands.(package private) voidDataTableFilter. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)Given a set, this trickles down through the Table hierarchy resolving the given row_set to a form that the given ancestor understands.(package private) voidDefaultDataTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)Given a set, this trickles down through the Table hierarchy resolving the given row_set to a form that the given ancestor understands.(package private) voidFilterTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)Given a set, this trickles down through the Table hierarchy resolving the given row_set to a form that the given ancestor understands.(package private) voidJoinedTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)Given a set, this trickles down through the Table hierarchy resolving the given row_set to a form that the given ancestor understands.(package private) voidSubsetColumnTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)Given a set, this trickles down through the Table hierarchy resolving the given row_set to a form that the given ancestor understands.(package private) abstract voidTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)Given a set, this trickles down through the Table hierarchy resolving the given row_set to a form that the given ancestor understands.(package private) BlockIntegerListRIDList. sortedSet(IntegerVector row_set)Given an unsorted set of rows in this table, this will return the row list sorted in descending order.private static java.lang.String[]Transaction. toColumns(SimpleTableQuery dt, IntegerVector cols)Convenience, given a SimpleTableQuery object this will return a list of column names in sequence that represent the columns in a group constraint.Constructors in com.mckoi.database with parameters of type IntegerVector Constructor Description InsertSearch(TableDataSource table, int column, IntegerVector vec)Constructor sets the scheme with a pre-sorted list. -
Uses of IntegerVector in com.mckoi.database.jdbcserver
Fields in com.mckoi.database.jdbcserver declared as IntegerVector Modifier and Type Field Description private IntegerVectorAbstractJDBCDatabaseInterface.ResultSetInfo. row_index_mapIntegerVector that contains the row index into the table for each row of the result. -
Uses of IntegerVector in com.mckoi.database.regexbridge
Methods in com.mckoi.database.regexbridge that return IntegerVector Modifier and Type Method Description IntegerVectorJavaRegex. regexSearch(Table table, int column, java.lang.String regular_expression, java.lang.String expression_ops) -
Uses of IntegerVector in com.mckoi.util
Methods in com.mckoi.util that return IntegerVector Modifier and Type Method Description IntegerVectorIntegerVector. append(IntegerVector vec)Appends an IntegerVector to the end of the array.Methods in com.mckoi.util with parameters of type IntegerVector Modifier and Type Method Description IntegerVectorIntegerVector. append(IntegerVector vec)Appends an IntegerVector to the end of the array.booleanIntegerVector. equals(IntegerVector ivec)Returns true if this vector is equal to the given vector.Constructors in com.mckoi.util with parameters of type IntegerVector Constructor Description AbstractBlockIntegerList(IntegerVector ivec)Constructs the list by copying the contents from an IntegerVector.BlockIntegerList(IntegerVector ivec)IntegerVector(IntegerVector vec)
-