@InterfaceAudience.Private public class SecureBulkLoadClient extends Object
| Constructor and Description |
|---|
SecureBulkLoadClient(Table table) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
<any> userToken,
String bulkToken,
byte[] startRow,
boolean copyFile) |
void |
cleanupBulkLoad(String bulkToken) |
Path |
getStagingPath(String bulkToken,
byte[] family) |
String |
prepareBulkLoad(TableName tableName) |
public SecureBulkLoadClient(Table table)
public String prepareBulkLoad(TableName tableName) throws IOException
IOExceptionpublic void cleanupBulkLoad(String bulkToken) throws IOException
IOExceptionpublic boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, <any> userToken, String bulkToken, byte[] startRow, boolean copyFile) throws IOException
IOExceptionpublic Path getStagingPath(String bulkToken, byte[] family) throws IOException
IOException