Package com.yahoo.ycsb.db
Class HBaseAdminClient
java.lang.Object
org.apache.hadoop.conf.Configured
com.yahoo.ycsb.db.HBaseAdminClient
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable,org.apache.hadoop.util.Tool
public class HBaseAdminClient
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected intprotected HBaseAdminClient.Operationprotected org.apache.hadoop.hbase.TableNameprotected String -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
num_splits_
protected int num_splits_ -
tablename_
protected org.apache.hadoop.hbase.TableName tablename_ -
family_
-
type_
-
key_prefix_
-
operation_
-
-
Constructor Details
-
HBaseAdminClient
public HBaseAdminClient()
-
-
Method Details
-
run
- Specified by:
runin interfaceorg.apache.hadoop.util.Tool- Throws:
Exception
-
run0
- Throws:
IOException
-
disableTable
- Throws:
IOException
-
enableTable
- Throws:
IOException
-
dropTable
- Throws:
IOException
-
createTable
- Throws:
IOException
-
usage
protected void usage() -
getSplits
protected byte[][] getSplits() -
main
-