Package com.mapr.kvstore
Interface KvDatabaseOp
- All Known Implementing Classes:
InMemoryKvDatabaseOp,Operation
public interface KvDatabaseOp
-
Method Summary
Modifier and TypeMethodDescriptionintapply()voidintintintintintstatic com.mapr.fs.proto.Fileserver.KvStoreKeygetKey(byte[] keyBytes, int keyLength) inthashedKeyDelete(KvTable<String> kv, String key) inthashedKeyInsert(KvTable<String> kv, String key, int value) inthashedKeyInsert(KvTable<String> kv, String key, int value, boolean skipCollisionCountUpdate, boolean verifyKey) intintinsert(KvTable<?> kv, com.mapr.fs.proto.Fileserver.KvStoreKey key, com.google.protobuf.ByteString value) intinsert(KvTable<com.google.protobuf.ByteString> kv, com.google.protobuf.ByteString key, com.google.protobuf.MessageLite value) intintintintintvoidsetSkipLogFlush(boolean skipLogFlush)
-
Method Details
-
insert
-
insert
-
insert
-
insert
-
insert
-
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
-
delete
-
delete
-
delete
-
delete
-
apply
int apply() -
setSkipLogFlush
void setSkipLogFlush(boolean skipLogFlush) -
hashedKeyInsert
-
hashedKeyInsert
-
hashedKeyInsertCollisionCount
-
hashedKeyDelete
-
getKey
static com.mapr.fs.proto.Fileserver.KvStoreKey getKey(byte[] keyBytes, int keyLength) -
cleanUpForHashedStringTables
void cleanUpForHashedStringTables()
-