@Deprecated public class RdbStorageEngine extends Object implements StorageEngine
| Constructor and Description |
|---|
RdbStorageEngine()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createTable(YarchDatabaseInstance ydb,
TableDefinition def)
Deprecated.
Create a new table based on definition.
|
void |
dropTable(YarchDatabaseInstance ydb,
TableDefinition tbl)
Deprecated.
Drop the table (removing all files)
|
HistogramIterator |
getHistogramIterator(YarchDatabaseInstance ydb,
TableDefinition tblDef,
String columnName,
TimeInterval interval,
long mergeTime)
Deprecated.
|
static RdbStorageEngine |
getInstance()
Deprecated.
|
RdbPartitionManager |
getPartitionManager(TableDefinition tdef)
Deprecated.
|
TagDb |
getTagDb(YarchDatabaseInstance ydb)
Deprecated.
|
void |
loadTable(YarchDatabaseInstance ydb,
TableDefinition tbl)
Deprecated.
Loads a table from the disk - called at startup.
|
AbstractStream |
newTableReaderStream(YarchDatabaseInstance ydb,
TableDefinition tbl,
boolean ascending,
boolean follow)
Deprecated.
Creates a new table reader
|
TableWriter |
newTableWriter(YarchDatabaseInstance ydb,
TableDefinition tblDef,
TableWriter.InsertMode insertMode)
Deprecated.
Creates a new table writer
|
void |
setIgnoreVersionIncompatibility(boolean b)
Deprecated.
set to ignore version incompatibility - only used from the version upgrading functions to allow loading old tables.
|
void |
shutdown()
Deprecated.
Called from Unit tests to cleanup before the next test
|
public void loadTable(YarchDatabaseInstance ydb, TableDefinition tbl) throws YarchException
StorageEngineloadTable in interface StorageEngineYarchExceptionpublic void dropTable(YarchDatabaseInstance ydb, TableDefinition tbl) throws YarchException
StorageEnginedropTable in interface StorageEngineYarchExceptionpublic TableWriter newTableWriter(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWriter.InsertMode insertMode) throws YarchException
StorageEnginenewTableWriter in interface StorageEngineYarchExceptionpublic AbstractStream newTableReaderStream(YarchDatabaseInstance ydb, TableDefinition tbl, boolean ascending, boolean follow)
StorageEnginenewTableReaderStream in interface StorageEnginepublic void createTable(YarchDatabaseInstance ydb, TableDefinition def)
StorageEnginecreateTable in interface StorageEnginepublic static RdbStorageEngine getInstance()
public RdbPartitionManager getPartitionManager(TableDefinition tdef)
public TagDb getTagDb(YarchDatabaseInstance ydb) throws YarchException
getTagDb in interface StorageEngineYarchExceptionpublic void shutdown()
public void setIgnoreVersionIncompatibility(boolean b)
b - public HistogramIterator getHistogramIterator(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval, long mergeTime) throws YarchException
getHistogramIterator in interface StorageEngineYarchExceptionCopyright © 2018 Space Applications Services. All rights reserved.