public class MapRTableTools
extends java.lang.Object
| Constructor and Description |
|---|
MapRTableTools() |
| Modifier and Type | Method and Description |
|---|---|
static int |
AppendRPC(long clusterP,
long fileP,
MapRPut mput,
boolean needResult,
boolean shouldFlush,
MapRUserInfo userInfo) |
static int |
BulkLoaderAppend(long clusterP,
long fileP,
long bulkLoaderP,
MapRPut[] puts,
MapRUserInfo userInfo) |
static int |
BulkLoaderAppendEncoded(long clusterP,
long fileP,
long bulkLoaderP,
MapRJSONPut[] puts) |
static int |
BulkLoaderClose(long clusterP,
long fileP,
long bulkLoaderP) |
static int |
CheckAndMutateRPC(long clusterP,
long fileP,
java.nio.ByteBuffer key,
java.nio.ByteBuffer[] serRecordMutations,
int[] mutationsFamilyIds,
byte[] serReadConstraint,
java.nio.ByteBuffer serCondition,
boolean shouldFlush,
MapRUpdateAndGet muag) |
static int |
CheckAndPutOrDeleteRPC(long clusterP,
long fileP,
byte[] row,
boolean useCf,
int familyId,
byte[] qualifier,
byte[] value,
MapRPut mput,
boolean shouldFlush,
MapRUserInfo userInfo) |
static int |
CheckAndReplaceOrDeleteRPC(long clusterP,
long fileP,
java.nio.ByteBuffer key,
java.nio.ByteBuffer[] serRecords,
int[] recordFamilyIds,
byte[] serReadConstraint,
java.nio.ByteBuffer condition,
boolean shouldFlush,
boolean isDelete,
MapRUpdateAndGet muag) |
static int |
CheckIndexSyncState(IndexSyncStateTracker jTracker,
long jniP) |
static int |
CreateJNISyncStateTracker(long clusterP,
long fileP,
IndexSyncStateTracker jTracker,
byte[][] startKeys,
byte[][] endKeys,
long maxTs) |
static int |
FlushPuts(long clusterP,
long fileP) |
static int |
FreeArena(long clusterP,
long fileP,
long arenaAddr) |
static long |
GetBulkLoader(long clusterP,
long fileP,
byte[] tableUuidForPuts,
MapRUserInfo userInfo) |
static int |
GetColumnFamilyId(long clusterP,
long fileP,
java.lang.String fname,
MapRConstants.ErrorValue err) |
static java.lang.String |
GetColumnFamilyName(long clusterP,
long fileP,
int id,
MapRConstants.ErrorValue err) |
static long |
GetLastUpdateTime(long fileP) |
static int |
GetRPC(long clusterP,
long fileP,
MapRGet[] gets,
boolean shouldFlush,
MapRUserInfo userInfo) |
static long |
GetScanner(long clusterP,
long fileP,
MapRScan scan,
MapRUserInfo userInfo) |
static byte[] |
GetSchema(long clusterP,
long fileP,
long version) |
static boolean |
HasSecondaryIndex(long clusterP,
long fileP) |
static int |
IncrementRPC(long clusterP,
long fileP,
MapRIncrement incr,
boolean shouldFlush,
MapRUserInfo userInfo) |
static int |
PutOrDeleteRPC(long clusterP,
long fileP,
MapRPut[] puts,
boolean shouldBlock,
boolean shouldFlush,
boolean isRowMut,
MapRUserInfo userInfo) |
static int |
ReleaseJNISyncStateTracker(long jniP) |
static int |
ScannerClearOldBuffer(long clusterP,
long fileP,
long scannerP) |
static int |
ScannerClose(long clusterP,
long fileP,
long scannerP) |
static int |
ScanNext(long clusterP,
long fileP,
long scannerP,
int numRows,
MapRResult[] results,
MapRUserInfo userInfo) |
static int |
UpdateAndGetRPC(long clusterP,
long fileP,
byte[] row,
boolean useCf,
boolean checkForNonExist,
MapRRowConstraint checkConstraint,
byte[] serFilter,
MapRPut[] mputs,
boolean shouldFlush,
MapRUserInfo userInfo) |
static int |
UpdateRecordRPC(long clusterP,
long fileP,
java.nio.ByteBuffer key,
java.nio.ByteBuffer[] serRecordMutations,
int[] mutationsFamilyIds,
byte[] serReadConstraint,
boolean shouldFlush,
MapRUpdateAndGet muag) |
public static int FlushPuts(long clusterP,
long fileP)
public static long GetLastUpdateTime(long fileP)
public static int PutOrDeleteRPC(long clusterP,
long fileP,
MapRPut[] puts,
boolean shouldBlock,
boolean shouldFlush,
boolean isRowMut,
MapRUserInfo userInfo)
public static int GetRPC(long clusterP,
long fileP,
MapRGet[] gets,
boolean shouldFlush,
MapRUserInfo userInfo)
public static int IncrementRPC(long clusterP,
long fileP,
MapRIncrement incr,
boolean shouldFlush,
MapRUserInfo userInfo)
public static int AppendRPC(long clusterP,
long fileP,
MapRPut mput,
boolean needResult,
boolean shouldFlush,
MapRUserInfo userInfo)
public static int FreeArena(long clusterP,
long fileP,
long arenaAddr)
public static int CheckAndPutOrDeleteRPC(long clusterP,
long fileP,
byte[] row,
boolean useCf,
int familyId,
byte[] qualifier,
byte[] value,
MapRPut mput,
boolean shouldFlush,
MapRUserInfo userInfo)
public static int UpdateAndGetRPC(long clusterP,
long fileP,
byte[] row,
boolean useCf,
boolean checkForNonExist,
MapRRowConstraint checkConstraint,
byte[] serFilter,
MapRPut[] mputs,
boolean shouldFlush,
MapRUserInfo userInfo)
public static int ScanNext(long clusterP,
long fileP,
long scannerP,
int numRows,
MapRResult[] results,
MapRUserInfo userInfo)
public static int ScannerClose(long clusterP,
long fileP,
long scannerP)
public static int ScannerClearOldBuffer(long clusterP,
long fileP,
long scannerP)
public static long GetScanner(long clusterP,
long fileP,
MapRScan scan,
MapRUserInfo userInfo)
public static long GetBulkLoader(long clusterP,
long fileP,
byte[] tableUuidForPuts,
MapRUserInfo userInfo)
public static int BulkLoaderAppend(long clusterP,
long fileP,
long bulkLoaderP,
MapRPut[] puts,
MapRUserInfo userInfo)
public static int BulkLoaderAppendEncoded(long clusterP,
long fileP,
long bulkLoaderP,
MapRJSONPut[] puts)
public static int BulkLoaderClose(long clusterP,
long fileP,
long bulkLoaderP)
public static byte[] GetSchema(long clusterP,
long fileP,
long version)
public static java.lang.String GetColumnFamilyName(long clusterP,
long fileP,
int id,
MapRConstants.ErrorValue err)
public static int GetColumnFamilyId(long clusterP,
long fileP,
java.lang.String fname,
MapRConstants.ErrorValue err)
public static int CheckAndReplaceOrDeleteRPC(long clusterP,
long fileP,
java.nio.ByteBuffer key,
java.nio.ByteBuffer[] serRecords,
int[] recordFamilyIds,
byte[] serReadConstraint,
java.nio.ByteBuffer condition,
boolean shouldFlush,
boolean isDelete,
MapRUpdateAndGet muag)
public static int CheckAndMutateRPC(long clusterP,
long fileP,
java.nio.ByteBuffer key,
java.nio.ByteBuffer[] serRecordMutations,
int[] mutationsFamilyIds,
byte[] serReadConstraint,
java.nio.ByteBuffer serCondition,
boolean shouldFlush,
MapRUpdateAndGet muag)
public static int UpdateRecordRPC(long clusterP,
long fileP,
java.nio.ByteBuffer key,
java.nio.ByteBuffer[] serRecordMutations,
int[] mutationsFamilyIds,
byte[] serReadConstraint,
boolean shouldFlush,
MapRUpdateAndGet muag)
public static int CreateJNISyncStateTracker(long clusterP,
long fileP,
IndexSyncStateTracker jTracker,
byte[][] startKeys,
byte[][] endKeys,
long maxTs)
public static int CheckIndexSyncState(IndexSyncStateTracker jTracker, long jniP)
public static int ReleaseJNISyncStateTracker(long jniP)
public static boolean HasSecondaryIndex(long clusterP,
long fileP)