Uses of Class
org.yamcs.yarch.YarchDatabaseInstance
-
Packages that use YarchDatabaseInstance Package Description org.yamcs.archive org.yamcs.http.api org.yamcs.yarch org.yamcs.yarch.rocksdb org.yamcs.yarch.streamsql -
-
Uses of YarchDatabaseInstance in org.yamcs.archive
Methods in org.yamcs.archive with parameters of type YarchDatabaseInstance Modifier and Type Method Description static voidUtils. closeTableWriters(YarchDatabaseInstance ydb, Collection<String> streamNames)close all table writers subscribed to any of the stream in the list -
Uses of YarchDatabaseInstance in org.yamcs.http.api
Methods in org.yamcs.http.api that return YarchDatabaseInstance Modifier and Type Method Description static YarchDatabaseInstanceDatabaseApi. verifyDatabase(String name)Methods in org.yamcs.http.api with parameters of type YarchDatabaseInstance Modifier and Type Method Description static StreamTableApi. verifyStream(Context ctx, YarchDatabaseInstance ydb, String streamName) -
Uses of YarchDatabaseInstance in org.yamcs.yarch
Fields in org.yamcs.yarch declared as YarchDatabaseInstance Modifier and Type Field Description protected YarchDatabaseInstanceStream. ydbprotected YarchDatabaseInstanceTableWriter. ydbMethods in org.yamcs.yarch that return YarchDatabaseInstance Modifier and Type Method Description static YarchDatabaseInstanceYarchDatabase. getInstance(String yamcsInstance)Methods in org.yamcs.yarch with parameters of type YarchDatabaseInstance Modifier and Type Method Description voidStorageEngine. createTable(YarchDatabaseInstance ydb, TableDefinition tblDef)Create a new table based on definition.voidStorageEngine. dropTable(YarchDatabaseInstance ydb, TableDefinition tblDef)Drop the table (removing all data)BucketDatabaseStorageEngine. getBucketDatabase(YarchDatabaseInstance yarchDatabaseInstance)HistogramIteratorStorageEngine. getHistogramIterator(YarchDatabaseInstance ydb, TableDefinition tblDef, String columnName, TimeInterval interval)PartitionManagerStorageEngine. getPartitionManager(YarchDatabaseInstance ydb, TableDefinition tblDef)ProtobufDatabaseStorageEngine. getProtobufDatabase(YarchDatabaseInstance ydb)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.List<SequenceInfo>StorageEngine. getSequencesInfo(YarchDatabaseInstance ydb)Gets the list of sequences togehter with their latest valuesTagDbStorageEngine. getTagDb(YarchDatabaseInstance ydb)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) 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)voidTableDefinition. setDb(YarchDatabaseInstance ydb) -
Uses of YarchDatabaseInstance in org.yamcs.yarch.rocksdb
Constructors in org.yamcs.yarch.rocksdb with parameters of type YarchDatabaseInstance Constructor Description HistogramRebuilder(Tablespace tablespace, YarchDatabaseInstance ydb, String tableName)RdbTableWalker(Tablespace tablespace, YarchDatabaseInstance ydb, TableDefinition tableDefinition, boolean ascending, boolean follow)RdbTableWriter(YarchDatabaseInstance ydb, RdbTable table, TableWriter.InsertMode mode) -
Uses of YarchDatabaseInstance in org.yamcs.yarch.streamsql
Methods in org.yamcs.yarch.streamsql that return YarchDatabaseInstance Modifier and Type Method Description YarchDatabaseInstanceExecutionContext. getDb()Constructors in org.yamcs.yarch.streamsql with parameters of type YarchDatabaseInstance Constructor Description ExecutionContext(YarchDatabaseInstance db)LimitedStream(YarchDatabaseInstance ydb, Stream input, BigDecimal offset, BigDecimal limit, TupleDefinition definition)TableWalkerBuilder(YarchDatabaseInstance ydb, TableDefinition tableDefinition)
-