Interface KvDatabaseOp

All Known Implementing Classes:
InMemoryKvDatabaseOp, Operation

public interface KvDatabaseOp
  • Method Details

    • insert

      int insert(KvTable<Integer> kv, Integer key, com.google.protobuf.MessageLite value, boolean verifyKey)
    • insert

      int insert(KvTable<Long> kv, Long key, com.google.protobuf.MessageLite value, boolean verifyKey)
    • insert

      int insert(KvTable<String> kv, String key, com.google.protobuf.MessageLite value)
    • insert

      int insert(KvTable<String> kv, String key, com.google.protobuf.MessageLite value, boolean verifyKey)
    • insert

      int insert(KvTable<String> kv, String key, String value)
    • insert

      int insert(KvTable<com.google.protobuf.ByteString> kv, com.google.protobuf.ByteString key, com.google.protobuf.MessageLite value)
    • insert

      int insert(KvTable<?> kv, com.mapr.fs.proto.Fileserver.KvStoreKey key, com.google.protobuf.ByteString value)
    • delete

      int delete(KvTable<Integer> kv, Integer keyValue)
    • delete

      int delete(KvTable<Long> kv, Long keyValue)
    • delete

      int delete(KvTable<String> kv, String keyValue)
    • delete

      int delete(KvTable<com.google.protobuf.ByteString> kvTable, com.google.protobuf.ByteString key)
    • delete

      int delete(KvTable<?> kv, com.mapr.fs.proto.Fileserver.KvStoreKey key)
    • apply

      int apply()
    • setSkipLogFlush

      void setSkipLogFlush(boolean skipLogFlush)
    • hashedKeyInsert

      int hashedKeyInsert(KvTable<String> kv, String key, int value, boolean skipCollisionCountUpdate, boolean verifyKey)
    • hashedKeyInsert

      int hashedKeyInsert(KvTable<String> kv, String key, int value)
    • hashedKeyInsertCollisionCount

      int hashedKeyInsertCollisionCount(KvTable<String> kv)
    • hashedKeyDelete

      int hashedKeyDelete(KvTable<String> kv, String key)
    • getKey

      static com.mapr.fs.proto.Fileserver.KvStoreKey getKey(byte[] keyBytes, int keyLength)
    • cleanUpForHashedStringTables

      void cleanUpForHashedStringTables()