Uses of Class
org.yamcs.yarch.TableDefinition
Packages that use TableDefinition
Package
Description
-
Uses of TableDefinition in org.yamcs.http.api
Methods in org.yamcs.http.api with parameters of type TableDefinitionModifier and TypeMethodDescriptionstatic 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 TableDefinitionModifier and TypeMethodDescriptionvoidManagementService.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 TableDefinitionModifier and TypeFieldDescriptionprotected TableDefinitionAbstractTableWalker.tableDefinitionprotected final TableDefinitionPartitionManager.tableDefinitionprotected final TableDefinitionTable.tableDefinitionprotected TableDefinitionTableReaderStream.tableDefinitionMethods in org.yamcs.yarch that return TableDefinitionModifier and TypeMethodDescriptionTable.getDefinition()PartitionManager.getTableDefinition()TableReaderStream.getTableDefinition()Methods in org.yamcs.yarch that return types with arguments of type TableDefinitionModifier and TypeMethodDescriptionYarchDatabaseInstance.getTableDefinitions()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 TableDefinitionModifier and TypeMethodDescriptionvoidStorageEngine.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) 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 voidStorageEngine.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 writervoidStorageEngine.renameTable(YarchDatabaseInstance ydb, TableDefinition tblDef, String newName) rename the tablevoidStorageEngine.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 TableDefinitionModifierConstructorDescriptionprotectedAbstractTableWalker(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
Fields in org.yamcs.yarch.rocksdb declared as TableDefinitionMethods in org.yamcs.yarch.rocksdb that return types with arguments of type TableDefinitionMethods in org.yamcs.yarch.rocksdb with parameters of type TableDefinitionModifier and TypeMethodDescriptionvoidRdbStorageEngine.createTable(YarchDatabaseInstance ydb, TableDefinition def) voidTablespace.createTable(String yamcsInstance, TableDefinition tblDef) voidRdbStorageEngine.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.voidRdbStorageEngine.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) voidRdbStorageEngine.renameTable(YarchDatabaseInstance ydb, TableDefinition tblDef, String newName) voidTablespace.renameTable(String yamcsInstance, TableDefinition tblDef, String newName) voidRdbStorageEngine.saveTableDefinition(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns) Constructors in org.yamcs.yarch.rocksdb with parameters of type TableDefinitionModifierConstructorDescriptionColumnValueSerializer(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) protectedRdbTableWalker(ExecutionContext ctx, 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 TableDefinitionConstructors in org.yamcs.yarch.streamsql with parameters of type TableDefinitionModifierConstructorDescriptionTableWalkerBuilder(ExecutionContext ctx, TableDefinition tableDefinition)