Uses of Class
org.yamcs.yarch.YarchException
-
Packages that use YarchException Package Description org.yamcs.archive org.yamcs.yarch org.yamcs.yarch.rocksdb -
-
Uses of YarchException in org.yamcs.archive
Methods in org.yamcs.archive that throw YarchException Modifier and Type Method Description CompletableFuture<Void>CcsdsTmIndex. rebuild(TimeInterval interval) -
Uses of YarchException in org.yamcs.yarch
Methods in org.yamcs.yarch that throw YarchException Modifier and Type Method Description voidYarchDatabaseInstance. addStream(Stream stream)Adds a stream to the dictionary making it "official"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)RowTableDefinition. 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.BucketDatabaseStorageEngine. getBucketDatabase(YarchDatabaseInstance yarchDatabaseInstance)HistogramIteratorStorageEngine. getHistogramIterator(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval)ProtobufDatabaseStorageEngine. getProtobufDatabase(YarchDatabaseInstance ydb)ProtobufDatabaseYarchDatabaseInstance. getProtobufDatabase()SequenceStorageEngine. 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.SequenceYarchDatabaseInstance. getSequence(String name, boolean create)TagDbStorageEngine. getTagDb(YarchDatabaseInstance ydb)TagDbYarchDatabaseInstance. getTagDb()List<TableDefinition>StorageEngine. loadTables(YarchDatabaseInstance ydb)Loads the table definitions from the disk for all the tables belonging to the instance.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) TableWriterStorageEngine. newTableWriter(YarchDatabaseInstance ydb, TableDefinition tblDef, TableWriter.InsertMode insertMode)Creates a new table writerlongSequence. next()voidStorageEngine. saveTableDefinition(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns)Persist the table definition to diks (called when the table definition modifies)voidTableWalker. walk(TableVisitor visitor)protected abstract booleanAbstractTableWalker. 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.Constructors in org.yamcs.yarch that throw YarchException Constructor Description HistogramReaderStream(YarchDatabaseInstance ydb, TableDefinition tblDef, String histoColumnName, TupleDefinition tupleDef)OutputStream(YarchDatabaseInstance dict, String name, TupleDefinition def) -
Uses of YarchException in org.yamcs.yarch.rocksdb
Methods in org.yamcs.yarch.rocksdb that throw YarchException Modifier and Type Method Description voidRdbSequence. close()voidRdbStorageEngine. createTable(YarchDatabaseInstance ydb, TableDefinition def)voidTablespace. createTable(String yamcsInstance, TableDefinition tblDef)voidRdbStorageEngine. dropTable(YarchDatabaseInstance ydb, TableDefinition tbl)List<Tablespace.TablespaceRecord>Tablespace. filter(Tablespace.TablespaceRecord.Type type, String instanceName, Predicate<Tablespace.TablespaceRecord.Builder> p)BucketDatabaseRdbStorageEngine. getBucketDatabase(YarchDatabaseInstance ydb)HistogramIteratorRdbStorageEngine. getHistogramIterator(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval)ProtobufDatabaseRdbStorageEngine. getProtobufDatabase(YarchDatabaseInstance ydb)SequenceRdbStorageEngine. getSequence(YarchDatabaseInstance ydb, String name, boolean create)SequenceTablespace. getSequence(String name, boolean create)TagDbRdbStorageEngine. getTagDb(YarchDatabaseInstance ydb)List<TableDefinition>RdbStorageEngine. loadTables(YarchDatabaseInstance ydb)voidRdbStorageEngine. migrateTableDefinition(YarchDatabaseInstance ydb, TableDefinition tblDef)longRdbSequence. next()CompletableFuture<Void>HistogramRebuilder. rebuild()CompletableFuture<Void>HistogramRebuilder. rebuild(TimeInterval timeIterval)voidRdbStorageEngine. saveTableDefinition(YarchDatabaseInstance ydb, TableDefinition tblDef, List<TableColumnDefinition> keyColumns, List<TableColumnDefinition> valueColumns)voidSecondaryIndexTableWalker. walk(TableVisitor visitor)Iterate data through the given interval taking into account also the tableRange.protected booleanRdbTableWalker. walkInterval(PartitionManager.Interval interval, DbRange tableRange, TableVisitor visitor)Iterate data through the given interval taking into account also the tableRange.Constructors in org.yamcs.yarch.rocksdb that throw YarchException Constructor Description RdbSequence(String name, YRDB rdb, org.rocksdb.ColumnFamilyHandle cfMetadata)
-