public class SecureBulkLoadClient extends Object
Constructor and Description |
---|
SecureBulkLoadClient(HTable table) |
SecureBulkLoadClient(HTable table,
byte[] startRow) |
Modifier and Type | Method and Description |
---|---|
boolean |
bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken) |
boolean |
bulkLoadHFiles(List<Pair<byte[],String>> familyPaths,
org.apache.hadoop.security.token.Token<?> userToken,
String bulkToken,
boolean assignSeqNum) |
void |
cleanupBulkLoad(String bulkToken) |
org.apache.hadoop.fs.Path |
getStagingPath(String bulkToken,
byte[] family) |
String |
prepareBulkLoad(byte[] tableName) |
public SecureBulkLoadClient(HTable table) throws IOException
IOException
public SecureBulkLoadClient(HTable table, byte[] startRow) throws IOException
IOException
public String prepareBulkLoad(byte[] tableName) throws IOException
IOException
public void cleanupBulkLoad(String bulkToken) throws IOException
IOException
public boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken) throws IOException
IOException
public boolean bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, boolean assignSeqNum) throws IOException
IOException
public org.apache.hadoop.fs.Path getStagingPath(String bulkToken, byte[] family) throws IOException
IOException
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.