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 IntegerVector
TableBackedCache. added_list
The list of added rows to the table above when a change is committed.private IntegerVector
MasterTableJournal. command_parameters
An IntegerVector that is filled with parameters from the command journal.private IntegerVector
TransactionJournal. command_parameters
An IntegerVector that is filled with parameters from the command journal.private IntegerVector
RIDList. concurrent_modification_info
A list of modifications made to the index while it is being built.private IntegerVector
IndexStore.SnapshotIndexSet. deleted_sectors
The sectors that are to be deleted when a garbage collection cycle occurs.private IntegerVector
FunctionTable.TableGroupResolver. group
The IntegerVector that represents the group we are currently processing.private IntegerVector
FunctionTable. group_links
The group row links.private IntegerVector
FunctionTable. group_lookup
The lookup mapping for row->group_index used for grouping.private IntegerVector
NaturallyJoinedTable. left_set
The lookup row set for the left and right tables.IntegerVector[]
OuterTable. outer_rows
The merged rows.private IntegerVector
TableBackedCache. removed_list
The list of removed rows from the table above when a change is committed.private IntegerVector
RIDList. rid_list
The contents of our list.private IntegerVector
NaturallyJoinedTable. right_set
The lookup row set for the left and right tables.protected IntegerVector[]
VirtualTable. row_list
Array of IntegerVectors that represent the rows taken from the given parents.(package private) IntegerVector
RawTableElement. row_set
private IntegerVector
BlindSearch.RangeChecker. sorted_set
The sorted list of all items in the set created as a cache for finding the first and last values.private IntegerVector[]
CompositeTable. table_indexes
The list of indexes of rows to include in each table.private IntegerVector
TransactionJournal. touched_tables
The list of table's that have been touched by this transaction.private IntegerVector
FunctionTable. whole_table_group
If 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 IntegerVector
CollatedBaseSearch. addRange(SelectableRange range, IntegerVector ivec)
Adds a range from this set to the given IntegerVector.protected IntegerVector
CollatedBaseSearch. 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 IntegerVector
InsertSearch. 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) IntegerVector
IndexStore.SnapshotIndexSet. allDeletedSectors()
Returns the sectors that were deleted when this store committed.(package private) IntegerVector
Table. 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) IntegerVector
Table. 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 IntegerVector
JoinedTable. calculateRowReferenceList()
Returns a row reference list.private static IntegerVector
NaturallyJoinedTable. createLookupRowList(Table t)
Creates a lookup list for rows in the given table.(package private) static IntegerVector
TableDataConglomerate. 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) IntegerVector
TransactionJournal. getTablesConstraintAltered()
Returns the list of tables id's that were constraint altered by this journal.(package private) IntegerVector
TransactionJournal. getTablesCreated()
Returns the list of tables id's that were created by this journal.(package private) IntegerVector
TransactionJournal. getTablesDropped()
Returns the list of tables id's that were dropped by this journal.IntegerVector
FunctionTable. groupRows(int group_number)
Returns an IntegerVector that represents the list of all rows in the group the index is at.(package private) static IntegerVector
INHelper. in(Table table1, Table table2, int[] t1_cols, int[] t2_cols)
A multi-column version of IN.(package private) static IntegerVector
INHelper. in(Table table1, Table table2, int column1, int column2)
This implements the 'in' command.(package private) IntegerVector
FunctionTable. 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 IntegerVector
INHelper. notIn(Table table1, Table table2, int[] t1_cols, int[] t2_cols)
A multi-column version of NOT IN.(package private) static IntegerVector
INHelper. notIn(Table table1, Table table2, int col1, int col2)
This implements the 'not_in' command.IntegerVector
Table. 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 IntegerVector
INHelper. origIn(Table table1, Table table2, int column1, int column2)
This implements the 'in' command.(package private) static IntegerVector
PatternSearch. regexSearch(Table table, int column, java.lang.String pattern)
Matches a column of a table against a constant regular expression pattern.IntegerVector
RegexLibrary. 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.IntegerVector
BlindSearch.RangeChecker. resolve()
Resolves the ranges.(package private) static IntegerVector
PatternSearch. search(Table table, int column, java.lang.String pattern)
This is the search method.(package private) static IntegerVector
PatternSearch. search(Table table, int column, java.lang.String pattern, char escape_char)
This is the search method.IntegerVector
BlindSearch. selectAll()
IntegerVector
CollatedBaseSearch. selectAll()
IntegerVector
InsertSearch. selectAll()
The select operations for this scheme.IntegerVector
SelectableScheme. selectAll()
These are the select operations that are the main purpose of the scheme.IntegerVector
Table. selectAll()
Returns a list of rows that represents the enumerator order of this table.IntegerVector
Table. selectAll(int column)
Returns an array that represents the sorted order of this table by the given column number.IntegerVector
SelectableScheme. selectAllNonNull()
Selects all values in the column that are not null.IntegerVector
SelectableScheme. selectBetween(TObject ob1, TObject ob2)
IntegerVector
SelectableScheme. selectEqual(TObject ob)
IntegerVector
SelectableScheme. selectFirst()
IntegerVector
Table. selectFirst(int column)
Returns an array that represents the first sorted element(s) of the given column number.(package private) IntegerVector
Table. selectFromPattern(int column, Operator op, TObject ob)
Selects all the rows where the given column matches the given pattern.(package private) IntegerVector
Table. selectFromRegex(int column, Operator op, TObject ob)
Selects all the rows where the given column matches the regular expression.IntegerVector
SelectableScheme. selectGreater(TObject ob)
IntegerVector
SelectableScheme. selectGreaterOrEqual(TObject ob)
IntegerVector
SimpleTableQuery. 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.IntegerVector
SimpleTableQuery. 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.IntegerVector
SimpleTableQuery. 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.IntegerVector
SimpleTableQuery. 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.IntegerVector
SelectableScheme. selectLast()
IntegerVector
Table. selectLast(int column)
Returns an array that represents the last sorted element(s) of the given column number.IntegerVector
SelectableScheme. selectLess(TObject ob)
IntegerVector
SelectableScheme. selectLessOrEqual(TObject ob)
IntegerVector
SelectableScheme. selectNotEqual(TObject ob)
IntegerVector
SelectableScheme. selectNotFirst()
IntegerVector
SelectableScheme. selectNotLast()
IntegerVector
BlindSearch. selectRange(SelectableRange range)
IntegerVector
BlindSearch. selectRange(SelectableRange[] ranges)
IntegerVector
CollatedBaseSearch. selectRange(SelectableRange range)
IntegerVector
CollatedBaseSearch. selectRange(SelectableRange[] ranges)
(package private) abstract IntegerVector
SelectableScheme. selectRange(SelectableRange range)
Selects the given range of values from this index.(package private) abstract IntegerVector
SelectableScheme. selectRange(SelectableRange[] ranges)
Selects a set of ranges from this index.IntegerVector
Table. 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.IntegerVector
Table. selectRest(int column)
Returns an array that represents the rest of the sorted element(s) of the given column number.(package private) IntegerVector
Table. 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) IntegerVector
Table. 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) IntegerVector
Table. selectRows(int column, TObject min_cell, TObject max_cell)
Selects the rows in a table column between two minimum and maximum bounds.(package private) IntegerVector
FunctionTable. 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) void
RawTableInformation. add(RootTable table, IntegerVector row_set)
Adds a new DataTable or ReferenceTable, and IntegerVector row set into the object.private IntegerVector
CollatedBaseSearch. addRange(SelectableRange range, IntegerVector ivec)
Adds a range from this set to the given IntegerVector.protected IntegerVector
CollatedBaseSearch. 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 IntegerVector
InsertSearch. addRangeToSet(int start, int end, IntegerVector ivec)
private void
TableBackedCache. addRowsToList(int[] from, IntegerVector list)
Adds new row ids to the given list.private void
TableDataConglomerate. commitToTables(IntegerVector created_tables, IntegerVector dropped_tables)
Sets the given List of MasterTableDataSource objects to the currently committed list of tables in this conglomerate.void
SimpleTableQuery. deleteRows(IntegerVector list)
Deletes all the given indexes in this table.private void
BlindSearch. doInsertSort(IntegerVector vec, int row)
private int
BlindSearch. highestSearch(TObject ob, IntegerVector vec, int lower, int higher)
Searches for a given TObject (ob) in the row list between the two bounds.BlockIntegerList
SelectableScheme. internalOrderIndexSet(IntegerVector row_set)
Returns a BlockIntegerList that represents the given row_set sorted in the order of this scheme.void
ConnectionTriggerManager.CTMBackedCache. purgeCacheOfInvalidatedEntries(IntegerVector added_rows, IntegerVector removed_rows)
(package private) abstract void
TableBackedCache. 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 void
JoinedTable. 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 void
NaturallyJoinedTable. resolveAllRowsForTableAt(IntegerVector row_set, int table_num)
protected void
VirtualTable. resolveAllRowsForTableAt(IntegerVector row_set, int table_num)
(package private) RawTableInformation
JoinedTable. 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 int
BlindSearch. search(TObject ob, IntegerVector vec, int lower, int higher)
We implement an insert sort algorithm here.(package private) void
VirtualTable. set(Table[] tables, IntegerVector[] rows)
This is used in a join to set a list or joined rows and tables.(package private) void
VirtualTable. set(Table table, IntegerVector rows)
Sets the rows in this table.(package private) void
CompositeTable. setToRowTableDomain(int column, IntegerVector row_set, TableDataSource ancestor)
(package private) void
DataTable. 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) void
DataTableFilter. 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) void
DefaultDataTable. 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) void
FilterTable. 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) void
JoinedTable. 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) void
SubsetColumnTable. 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 void
Table. 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) BlockIntegerList
RIDList. 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 IntegerVector
AbstractJDBCDatabaseInterface.ResultSetInfo. row_index_map
IntegerVector 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 IntegerVector
JavaRegex. 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 IntegerVector
IntegerVector. 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 IntegerVector
IntegerVector. append(IntegerVector vec)
Appends an IntegerVector to the end of the array.boolean
IntegerVector. 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)
-