Uses of Class
org.yamcs.yarch.YarchException
Package
Description
-
Uses of YarchException in org.yamcs.archive
-
Uses of YarchException in org.yamcs.yarch
Modifier and TypeMethodDescriptionvoid
Adds a stream to the dictionary making it "official"void
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)TableDefinition.generateRow
(Tuple t) Generate a new table row by transforming the key part of the tuple into a byte array to be written to disk.StorageEngine.getBucketDatabase
(YarchDatabaseInstance yarchDatabaseInstance) StorageEngine.getHistogramIterator
(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval) StorageEngine.getProtobufDatabase
(YarchDatabaseInstance ydb) YarchDatabaseInstance.getProtobufDatabase()
StorageEngine.getSequence
(YarchDatabaseInstance ydb, String name, boolean create) Returns a sequence with the given name if it exists or first create it and returns it if create is true.YarchDatabaseInstance.getSequence
(String name, boolean create) StorageEngine.loadTables
(YarchDatabaseInstance ydb) Loads the table definitions from the disk for all the tables belonging to the instance.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.newTableWriter
(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWriter.InsertMode insertMode) Creates a new table writerlong
Sequence.next()
void
StorageEngine.saveTableDefinition
(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns) Persist the table definition to diks (called when the table definition modifies)void
TableWalker.walk
(TableVisitor visitor) protected abstract boolean
AbstractTableWalker.walkInterval
(PartitionManager.Interval interval, DbRange range, TableVisitor visitor) Runs the data in a time interval (corresponding to a time partition) sending data only that conform with the start and end filters.ModifierConstructorDescriptionHistogramReaderStream
(YarchDatabaseInstance ydb, TableDefinition tblDef, String histoColumnName, TupleDefinition tupleDef) OutputStream
(YarchDatabaseInstance dict, String name, TupleDefinition def) -
Uses of YarchException in org.yamcs.yarch.rocksdb
Modifier and TypeMethodDescriptionvoid
RdbSequence.close()
void
RdbStorageEngine.createTable
(YarchDatabaseInstance ydb, TableDefinition def) void
Tablespace.createTable
(String yamcsInstance, TableDefinition tblDef) void
RdbStorageEngine.dropTable
(YarchDatabaseInstance ydb, TableDefinition tbl) Tablespace.filter
(Tablespace.TablespaceRecord.Type type, String instanceName, Predicate<Tablespace.TablespaceRecord.Builder> p) RdbStorageEngine.getBucketDatabase
(YarchDatabaseInstance ydb) RdbStorageEngine.getHistogramIterator
(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval) RdbStorageEngine.getProtobufDatabase
(YarchDatabaseInstance ydb) RdbStorageEngine.getSequence
(YarchDatabaseInstance ydb, String name, boolean create) Tablespace.getSequence
(String name, boolean create) RdbStorageEngine.loadTables
(YarchDatabaseInstance ydb) void
RdbStorageEngine.migrateTableDefinition
(YarchDatabaseInstance ydb, TableDefinition tblDef) long
RdbSequence.next()
HistogramRebuilder.rebuild()
HistogramRebuilder.rebuild
(TimeInterval timeIterval) void
RdbStorageEngine.saveTableDefinition
(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns) void
SecondaryIndexTableWalker.walk
(TableVisitor visitor) Iterate data through the given interval taking into account also the tableRange.protected boolean
RdbTableWalker.walkInterval
(PartitionManager.Interval interval, DbRange tableRange, TableVisitor visitor) Iterate data through the given interval taking into account also the tableRange.ModifierConstructorDescriptionRdbSequence
(String name, YRDB rdb, org.rocksdb.ColumnFamilyHandle cfMetadata) -
Uses of YarchException in org.yamcs.yarch.streamsql