public class FlexibleAggrTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
tableName |
Constructor and Description |
---|
FlexibleAggrTable(LoggerIfc loggerObj,
Factory factory,
java.io.File scratchDir,
int compressionThresholdSetting,
java.lang.String fileNameExtender)
Creates the base object.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the table
|
boolean |
containsKey(FlexibleNARKey key)
Returns whether a given key exists in the table
|
NAR |
get(FlexibleNARKey key)
Don't use this.
|
boolean |
isHealthy() |
java.util.Enumeration |
keys()
Keys of all the records in the table
|
void |
open()
Opens the table.
|
void |
put(FlexibleNARKey key,
NAR record)
Puts a NAR into the table, according to the given key.
|
NAR |
remove(FlexibleNARKey key)
Removes a NAR from the table, and returns the element at the
key.
|
java.lang.Object |
removeDelayedNARParsing(FlexibleNARKey key)
Clone of remove(), but with delayed NAR Parsing.
|
void |
shutdown()
Shuts down this object.
|
public void open()
public void close()
public void shutdown()
public void put(FlexibleNARKey key, NAR record)
key
- Index of the NARrecord
- NAR to putpublic NAR remove(FlexibleNARKey key)
key
- Key of the record to removepublic java.lang.Object removeDelayedNARParsing(FlexibleNARKey key)
key
- public java.util.Enumeration keys()
public boolean containsKey(FlexibleNARKey key)
key
- Key to look forpublic boolean isHealthy()
public NAR get(FlexibleNARKey key)
key
-