Uses of Class
org.yamcs.yarch.TableDefinition
Package
Description
-
Uses of TableDefinition in org.yamcs.http.api
Modifier and TypeMethodDescriptionstatic Stream
StreamFactory.insertStream
(String instance, TableDefinition table) static Stream
StreamFactory.loadStream
(String instance, TableDefinition table) -
Uses of TableDefinition in org.yamcs.management
Modifier and TypeMethodDescriptionvoid
ManagementService.registerTable
(String instance, TableDefinition tblDef) default void
TableStreamListener.tableRegistered
(String instance, TableDefinition tblDef) -
Uses of TableDefinition in org.yamcs.yarch
Modifier and TypeFieldDescriptionprotected TableDefinition
AbstractTableWalker.tableDefinition
protected final TableDefinition
PartitionManager.tableDefinition
protected final TableDefinition
Table.tableDefinition
protected TableDefinition
TableReaderStream.tableDefinition
Modifier and TypeMethodDescriptionTable.getDefinition()
PartitionManager.getTableDefinition()
TableReaderStream.getTableDefinition()
Modifier and TypeMethodDescriptionYarchDatabaseInstance.getTableDefinitions()
StorageEngine.loadTables
(YarchDatabaseInstance ydb) Loads the table definitions from the disk for all the tables belonging to the instance.Modifier and TypeMethodDescriptionvoid
StorageEngine.createTable
(YarchDatabaseInstance ydb, TableDefinition tblDef) Create a new table based on definition.void
YarchDatabaseInstance.createTable
(TableDefinition tbldef) add a table to the dictionary throws exception if a table or a stream with the same name already existvoid
StorageEngine.dropTable
(YarchDatabaseInstance ydb, TableDefinition tblDef) Drop the table (removing all data)static <T> ColumnSerializer<T>
ColumnSerializerFactory.getColumnSerializer
(TableDefinition tblDef, TableColumnDefinition cd) static <T> ColumnSerializer<T>
ColumnSerializerFactory.getColumnSerializer
(TableDefinition tblDef, TableColumnDefinition cd, DataType type) StorageEngine.getHistogramIterator
(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval) StorageEngine.getPartitionManager
(YarchDatabaseInstance ydb, TableDefinition tblDef) YarchDatabaseInstance.getPartitionManager
(TableDefinition tblDef) YarchDatabaseInstance.getStorageEngine
(TableDefinition tbldef) default void
StorageEngine.migrateTableDefinition
(YarchDatabaseInstance ydb, TableDefinition tblDef) In Yamcs version 4 the table definitions were stored in yaml serialized format (in the /storage/yamcs-data/<instance-name>/<table-name>.def)StorageEngine.newSecondaryIndexTableWalker
(YarchDatabaseInstance ydb, TableDefinition tableDefinition, boolean ascending, boolean follow) StorageEngine.newTableWalker
(ExecutionContext ctx, TableDefinition tblDef, boolean ascending, boolean follow) Creates a new table iterator.StorageEngine.newTableWriter
(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWriter.InsertMode insertMode) Creates a new table writervoid
StorageEngine.renameTable
(YarchDatabaseInstance ydb, TableDefinition tblDef, String newName) rename the tablevoid
StorageEngine.saveTableDefinition
(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns) Persist the table definition to diks (called when the table definition modifies)ModifierConstructorDescriptionprotected
AbstractTableWalker
(ExecutionContext ctx, TableDefinition tableDefinition, boolean ascending, boolean follow) HistogramReaderStream
(YarchDatabaseInstance ydb, TableDefinition tblDef, String histoColumnName, TupleDefinition tupleDef) PartitionManager
(TableDefinition tableDefinition) Table
(TableDefinition tblDef) TableReaderStream
(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWalker iterator) -
Uses of TableDefinition in org.yamcs.yarch.rocksdb
Modifier and TypeMethodDescriptionvoid
RdbStorageEngine.createTable
(YarchDatabaseInstance ydb, TableDefinition def) void
Tablespace.createTable
(String yamcsInstance, TableDefinition tblDef) void
RdbStorageEngine.dropTable
(YarchDatabaseInstance ydb, TableDefinition tbl) RdbStorageEngine.getHistogramIterator
(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval) RdbStorageEngine.getPartitionManager
(YarchDatabaseInstance ydb, TableDefinition tblDef) Tablespace.getTable
(TableDefinition tblDef) returns the table associated to this definition or null if this table is not known.void
RdbStorageEngine.migrateTableDefinition
(YarchDatabaseInstance ydb, TableDefinition tblDef) RdbStorageEngine.newSecondaryIndexTableWalker
(YarchDatabaseInstance ydb, TableDefinition tableDefinition, boolean ascending, boolean follow) Tablespace.newSecondaryIndexTableWalker
(YarchDatabaseInstance ydb, TableDefinition tblDef, boolean ascending, boolean follow) RdbStorageEngine.newTableWalker
(ExecutionContext ctx, TableDefinition tbl, boolean ascending, boolean follow) Tablespace.newTableWalker
(ExecutionContext ctx, TableDefinition tblDef, boolean ascending, boolean follow) RdbStorageEngine.newTableWriter
(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWriter.InsertMode insertMode) Tablespace.newTableWriter
(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWriter.InsertMode insertMode) void
RdbStorageEngine.renameTable
(YarchDatabaseInstance ydb, TableDefinition tblDef, String newName) void
Tablespace.renameTable
(String yamcsInstance, TableDefinition tblDef, String newName) void
RdbStorageEngine.saveTableDefinition
(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns) ModifierConstructorDescriptionColumnValueSerializer
(TableDefinition tableDefinition) RdbHistogramIterator
(String yamcsInstance, Tablespace tablespace, TableDefinition tblDef, String colName, TimeInterval interval) RdbPartitionManager
(RdbTable table, String yamcsInstance, TableDefinition tableDefinition) RdbTable
(String yamcsInstance, Tablespace tablespace, TableDefinition tblDef, int tbsIndex, String cfName) protected
RdbTableWalker
(ExecutionContext ctx, TableDefinition tableDefinition, boolean ascending, boolean follow) SecondaryIndexWriter
(Tablespace tablespace, TableDefinition tableDefinition, int tbsIndex) -
Uses of TableDefinition in org.yamcs.yarch.streamsql
ModifierConstructorDescriptionTableWalkerBuilder
(ExecutionContext ctx, TableDefinition tableDefinition)