| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private ConglomerateController | |
| private final long | |
| private final DataValueDescriptor[] | |
| private final boolean | |
| private boolean | |
| private final int[] | |
| private final boolean | |
| private final DataValueDescriptor[] | |
| private ConglomerateController | |
| private final long | |
| private final DataValueDescriptor[] | |
| private int | |
| private final TransactionController |
| Access | Constructor and Description |
|---|---|
| public | DiskHashtable(TransactionController tc, DataValueDescriptor[]
An array of DataValueDescriptors that
serves as a template for the rows. template, int[] collation_ids, int[] The indexes of the key columns (0 based) key_column_numbers, boolean If true then rows with duplicate keys are
removed. remove_duplicates, boolean If true then the hash table is kept after
a commit keepAfterCommit)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Enumeration | |
| public Object | Returns: null if there is no corresponding row, the row (DataValueDescriptor[]) if there is exactly one row with the key, or a Vector of all the rows with the key if there is more than one.If the rows only have one key column then the key value.
If there is more than one key column then a KeyHasher key)Get a row from the overflow structure. |
| private static Context | getContextOrNull(final String contextID)
Must be private so that user code can't call this entry point. |
| private Object | |
| public boolean | |
| public Object | |
| private boolean | |
| public int |
| btreeConglomerate | back to summary |
|---|---|
| private ConglomerateController btreeConglomerate | |
| btreeConglomerateId | back to summary |
|---|---|
| private final long btreeConglomerateId | |
| btreeRow | back to summary |
|---|---|
| private final DataValueDescriptor[] btreeRow | |
| keepAfterCommit | back to summary |
|---|---|
| private final boolean keepAfterCommit | |
| keepStatistics | back to summary |
|---|---|
| private boolean keepStatistics | |
| key_column_numbers | back to summary |
|---|---|
| private final int[] key_column_numbers | |
| remove_duplicates | back to summary |
|---|---|
| private final boolean remove_duplicates | |
| row | back to summary |
|---|---|
| private final DataValueDescriptor[] row | |
| rowConglomerate | back to summary |
|---|---|
| private ConglomerateController rowConglomerate | |
| rowConglomerateId | back to summary |
|---|---|
| private final long rowConglomerateId | |
| scanKey | back to summary |
|---|---|
| private final DataValueDescriptor[] scanKey | |
| size | back to summary |
|---|---|
| private int size | |
| tc | back to summary |
|---|---|
| private final TransactionController tc | |
| DiskHashtable | back to summary |
|---|---|
| public DiskHashtable(TransactionController tc, DataValueDescriptor[] template, int[] collation_ids, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException Creates a new
| |
| close | back to summary |
|---|---|
| public void close() throws StandardException | |
| elements | back to summary |
|---|---|
| public Enumeration Return an Enumeration that can be used to scan entire table. RESOLVE - is it worth it to support this routine?
| |
| get | back to summary |
|---|---|
| public Object get(Object key) throws StandardException Get a row from the overflow structure.
| |
| getContextOrNull | back to summary |
|---|---|
| private static Context getContextOrNull(final String contextID) Must be private so that user code can't call this entry point. | |
| getRemove | back to summary |
|---|---|
| private Object getRemove(Object key, boolean remove, boolean existenceOnly) throws StandardException | |
| put | back to summary |
|---|---|
| public boolean put(Object key, Object[] row) throws StandardException Put a new row in the overflow structure.
| |
| remove | back to summary |
|---|---|
| public Object remove(Object key) throws StandardException remove all rows with a given key from the hash table.
| |
| rowMatches | back to summary |
|---|---|
| private boolean rowMatches(DataValueDescriptor[] row, Object key) | |
| size | back to summary |
|---|---|
public int size()
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private RowLocation | |
| private ScanController |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | hasMoreElements()
Implements java. Tests if this enumeration contains more elements. |
| public Object | nextElement()
Implements java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| hasMore | back to summary |
|---|---|
| private boolean hasMore | |
| rowloc | back to summary |
|---|---|
| private RowLocation rowloc | |
| scan | back to summary |
|---|---|
| private ScanController scan | |
| ElementEnum | back to summary |
|---|---|
| pack-priv ElementEnum() | |
| hasMoreElements | back to summary |
|---|---|
| public boolean hasMoreElements() Implements java. Doc from java. Tests if this enumeration contains more elements.
| |
| nextElement | back to summary |
|---|---|
| public Object nextElement() Implements java. Doc from java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
| |