com.infomaximum.database.provider.DBProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdao Show documentation
Show all versions of rdao Show documentation
Library for creating a light cluster
The newest version!
package com.infomaximum.database.provider;
import com.infomaximum.database.exception.DatabaseException;
import com.infomaximum.rocksdb.options.columnfamily.ColumnFamilyConfig;
public interface DBProvider extends DBDataReader {
DBIterator createIterator(String columnFamily) throws DatabaseException;
DBTransaction beginTransaction() throws DatabaseException;
byte[] getValue(String columnFamily, byte[] key) throws DatabaseException;
boolean containsColumnFamily(String name) throws DatabaseException;
String[] getColumnFamilies() throws DatabaseException;
void createColumnFamily(String name) throws DatabaseException;
void createColumnFamily(String name, ColumnFamilyConfig options) throws DatabaseException;
void dropColumnFamily(String name) throws DatabaseException;
void compactRange() throws DatabaseException;
boolean containsSequence(String name) throws DatabaseException;
void createSequence(String name) throws DatabaseException;
void dropSequence(String name) throws DatabaseException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy