Uses of Class
org.yamcs.yarch.TableDefinition
-
Packages that use TableDefinition Package Description org.yamcs.http.api org.yamcs.management org.yamcs.yarch org.yamcs.yarch.rocksdb org.yamcs.yarch.streamsql -
-
Uses of TableDefinition in org.yamcs.http.api
Methods in org.yamcs.http.api with parameters of type TableDefinition Modifier and Type Method Description static StreamStreamFactory. insertStream(String instance, TableDefinition table)static StreamStreamFactory. loadStream(String instance, TableDefinition table) -
Uses of TableDefinition in org.yamcs.management
Methods in org.yamcs.management with parameters of type TableDefinition Modifier and Type Method Description voidManagementService. registerTable(String instance, TableDefinition tblDef)default voidTableStreamListener. tableRegistered(String instance, TableDefinition tblDef) -
Uses of TableDefinition in org.yamcs.yarch
Fields in org.yamcs.yarch declared as TableDefinition Modifier and Type Field Description protected TableDefinitionAbstractTableWalker. tableDefinitionprotected TableDefinitionPartitionManager. tableDefinitionprotected TableDefinitionTable. tableDefinitionprotected TableDefinitionTableReaderStream. tableDefinitionMethods in org.yamcs.yarch that return TableDefinition Modifier and Type Method Description TableDefinitionTable. getDefinition()TableDefinitionYarchDatabaseInstance. getTable(String name)TableDefinitionPartitionManager. getTableDefinition()TableDefinitionTableReaderStream. getTableDefinition()Methods in org.yamcs.yarch that return types with arguments of type TableDefinition Modifier and Type Method Description Collection<TableDefinition>YarchDatabaseInstance. getTableDefinitions()List<TableDefinition>StorageEngine. loadTables(YarchDatabaseInstance ydb)Loads the table definitions from the disk for all the tables belonging to the instance.Methods in org.yamcs.yarch with parameters of type TableDefinition Modifier and Type Method Description voidStorageEngine. createTable(YarchDatabaseInstance ydb, TableDefinition tblDef)Create a new table based on definition.voidYarchDatabaseInstance. createTable(TableDefinition tbldef)add a table to the dictionary throws exception if a table or a stream with the same name already existvoidStorageEngine. 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)HistogramIteratorStorageEngine. getHistogramIterator(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval)PartitionManagerStorageEngine. getPartitionManager(YarchDatabaseInstance ydb, TableDefinition tblDef)PartitionManagerYarchDatabaseInstance. getPartitionManager(TableDefinition tblDef)StorageEngineYarchDatabaseInstance. getStorageEngine(TableDefinition tbldef)default voidStorageEngine. migrateTableDefinition(YarchDatabaseInstance ydb, TableDefinition tblDef)In Yamcs version 4 the table definitions were stored in yaml serialized format (in the /storage/yamcs-data// .def) TableWalkerStorageEngine. newSecondaryIndexTableWalker(YarchDatabaseInstance ydb, TableDefinition tableDefinition, boolean ascending, boolean follow)TableWalkerStorageEngine. newTableWalker(YarchDatabaseInstance ydb, TableDefinition tblDef, boolean ascending, boolean follow)Creates a new table iterator.TableWriterStorageEngine. newTableWriter(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWriter.InsertMode insertMode)Creates a new table writervoidStorageEngine. saveTableDefinition(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns)Persist the table definition to diks (called when the table definition modifies)Constructors in org.yamcs.yarch with parameters of type TableDefinition Constructor Description AbstractTableWalker(YarchDatabaseInstance ydb, 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
Fields in org.yamcs.yarch.rocksdb declared as TableDefinition Modifier and Type Field Description protected TableDefinitionHistogramWriter. tableDefinitionMethods in org.yamcs.yarch.rocksdb that return types with arguments of type TableDefinition Modifier and Type Method Description List<TableDefinition>RdbStorageEngine. loadTables(YarchDatabaseInstance ydb)Constructors in org.yamcs.yarch.rocksdb with parameters of type TableDefinition Constructor Description ColumnValueSerializer(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)RdbTableWalker(Tablespace tablespace, YarchDatabaseInstance ydb, TableDefinition tableDefinition, boolean ascending, boolean follow)SecondaryIndexWriter(Tablespace tablespace, TableDefinition tableDefinition, int tbsIndex) -
Uses of TableDefinition in org.yamcs.yarch.streamsql
Methods in org.yamcs.yarch.streamsql that return TableDefinition Modifier and Type Method Description TableDefinitionTableWalkerBuilder. getTableDefinition()Constructors in org.yamcs.yarch.streamsql with parameters of type TableDefinition Constructor Description TableWalkerBuilder(YarchDatabaseInstance ydb, TableDefinition tableDefinition)
-