public interface StorageEngine
| Modifier and Type | Method and Description |
|---|---|
void |
createTable(TableDefinition def)
Create a new table based on definition.
|
void |
dropTable(TableDefinition tbldef)
Drop the table (removing all files)
|
Iterator<HistogramRecord> |
getHistogramIterator(TableDefinition tblDef,
String columnName,
TimeInterval interval,
long mergeTime) |
TagDb |
getTagDb() |
void |
loadTable(TableDefinition tbl)
Loads a table from the disk - called at startup.
|
AbstractStream |
newTableReaderStream(TableDefinition tbl,
boolean ascending,
boolean follow)
Creates a new table reader
|
TableWriter |
newTableWriter(TableDefinition tbl,
TableWriter.InsertMode insertMode)
Creates a new table writer
|
void createTable(TableDefinition def) throws YarchException
def - YarchExceptionvoid dropTable(TableDefinition tbldef) throws YarchException
tbldef - YarchExceptionvoid loadTable(TableDefinition tbl) throws YarchException
tbl - YarchExceptionTableWriter newTableWriter(TableDefinition tbl, TableWriter.InsertMode insertMode) throws YarchException
tbl - insertMode - YarchExceptionAbstractStream newTableReaderStream(TableDefinition tbl, boolean ascending, boolean follow)
tbl - TagDb getTagDb() throws YarchException
YarchExceptionIterator<HistogramRecord> getHistogramIterator(TableDefinition tblDef, String columnName, TimeInterval interval, long mergeTime) throws YarchException
YarchExceptionCopyright © 2017 Space Applications Services. All rights reserved.