org.axiondb.engine.rowcollection
public class IntRowMap extends IntHashMap
Version: $Revision: 1.5 $ $Date: 2005/12/23 01:32:24 $
Constructor Summary | |
---|---|
IntRowMap() Creates an IntRowMap of small initial capacity. | |
IntRowMap(int capacity)
Creates an IntRowMap of specified initial capacity. | |
IntRowMap(IntRowMap map)
Creates a IntRowMap containing the specified entries, in the order they are
returned by the map's iterator.
|
Method Summary | |
---|---|
void | addIndex(Index index) |
Row | addRow(Table table, Row row) |
void | clear()
Removes all mappings from this IntRowMap. |
void | clearIndexes() |
Row | deleteRow(Table table, Row deleted) |
RowIterator | getIndexedRows(Table source, Selectable node, boolean readOnly) |
Index | getIndexForColumn(Column column) |
Row | getRow(int key)
Returns the value to which this IntRowMapmaps the specified key.
|
boolean | isColumnIndexed(Column column) |
void | populateIndex(Table table, Index index) |
Row | putRow(int key, Row value)
Associates the specified value with the specified key in this IntRowMap.
|
Row | removeRow(int key)
Removes the mapping for this key from this IntRowMapif present.
|
RowIterator | rowIterator()
Returns a list iterator over the values in this list in proper sequence, (this map
maintains the insertion order).
|
RowCollection | rowValues()
Returns a RowCollectionview of the values contained in this
IntRowMap. |
void | shutdown() |
void | truncateIndices() |
Row | updateRow(Table table, Row oldrow, Row newrow) |
Parameters: capacity the initial capacity.
Parameters: map the map whose entries are to be placed into this map.
Parameters: key the key whose associated value is to be returned.
Returns: the value to which this map maps the specified key, or null
if there is no mapping for the key.
Parameters: key the key with which the specified value is to be associated. value the value to be associated with the specified key.
Returns: the previous value associated with specified key, or null
if
there was no mapping for key. A null
return can also
indicate that the map previously associated null
with the
specified key.
Parameters: key the key whose mapping is to be removed from the map.
Returns: previous value associated with specified key, or null
if
there was no mapping for key. A null
return can also
indicate that the map previously associated null
with the
specified key.
Returns: a list iterator of the values in this list (in proper sequence).
RowIterator.remove
,RowCollection.remove
and
clear
operations.
Returns: a row collection view of the values contained in this map.