All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.infomaximum.database.provider.DBProvider Maven / Gradle / Ivy

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