public class KeyColumnValueStoreUtil extends Object
| Constructor and Description |
|---|
KeyColumnValueStoreUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
bufferToLong(StaticBuffer b) |
static String |
byteBufferToString(StaticBuffer b) |
static void |
delete(KeyColumnValueStore store,
StoreTransaction txn,
long key,
String col) |
static String |
get(KeyColumnValueStore store,
StoreTransaction txn,
long key,
String col) |
static void |
insert(KeyColumnValueStore store,
StoreTransaction txn,
long key,
String col,
String val) |
static void |
loadValues(KeyColumnValueStore store,
StoreTransaction tx,
String[][] values) |
static void |
loadValues(KeyColumnValueStore store,
StoreTransaction tx,
String[][] values,
int shiftEveryNthRow,
int shiftSliceLength) |
static StaticBuffer |
longToByteBuffer(long l) |
static StaticBuffer |
stringToByteBuffer(String s) |
public static void delete(KeyColumnValueStore store, StoreTransaction txn, long key, String col) throws BackendException
BackendExceptionpublic static String get(KeyColumnValueStore store, StoreTransaction txn, long key, String col) throws BackendException
BackendExceptionpublic static void insert(KeyColumnValueStore store, StoreTransaction txn, long key, String col, String val) throws BackendException
BackendExceptionpublic static void loadValues(KeyColumnValueStore store, StoreTransaction tx, String[][] values) throws BackendException
BackendExceptionpublic static void loadValues(KeyColumnValueStore store, StoreTransaction tx, String[][] values, int shiftEveryNthRow, int shiftSliceLength) throws BackendException
BackendExceptionpublic static String byteBufferToString(StaticBuffer b)
public static StaticBuffer stringToByteBuffer(String s)
public static StaticBuffer longToByteBuffer(long l)
public static long bufferToLong(StaticBuffer b)
Copyright © 2012–2024. All rights reserved.