Package tech.ydb.yoj.repository.db
Interface Repository
public interface Repository
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault voiddefault voidvoiddropDb()default booleanvoidloadSnapshot(String id) <T extends Entity<T>>
SchemaOperations<T>default voidshutdown()default RepositoryTransactiondefault RepositoryTransactionstartTransaction(IsolationLevel isolationLevel) startTransaction(TxOptions options) tables()Deprecated.For testing purposes only.
-
Method Details
-
createTablespace
default void createTablespace() -
checkDataCompatibility
default void checkDataCompatibility() -
checkSchemaCompatibility
default void checkSchemaCompatibility() -
schema
-
tables
Deprecated.For testing purposes only. Will only reliably work for tables that were created or inspected using calls toschema(Class). -
startTransaction
-
startTransaction
-
startTransaction
-
dropDb
void dropDb() -
makeSnapshot
String makeSnapshot() -
loadSnapshot
-
healthCheck
default boolean healthCheck() -
shutdown
default void shutdown()
-