Class InMemoryRepository
java.lang.Object
tech.ydb.yoj.repository.test.inmemory.InMemoryRepository
- All Implemented Interfaces:
Repository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddropDb()voidloadSnapshot(String id) <T extends Entity<T>>
SchemaOperations<T>schema(TableDescriptor<T> tableDescriptor) startTransaction(TxOptions options) Set<TableDescriptor<?>>tables()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.ydb.yoj.repository.db.Repository
checkDataCompatibility, checkSchemaCompatibility, createTablespace, healthCheck, schema, shutdown, startTransaction, startTransaction
-
Constructor Details
-
InMemoryRepository
public InMemoryRepository()
-
-
Method Details
-
dropDb
public void dropDb()- Specified by:
dropDbin interfaceRepository
-
makeSnapshot
- Specified by:
makeSnapshotin interfaceRepository
-
loadSnapshot
- Specified by:
loadSnapshotin interfaceRepository
-
tables
- Specified by:
tablesin interfaceRepository
-
startTransaction
- Specified by:
startTransactionin interfaceRepository
-
schema
- Specified by:
schemain interfaceRepository
-