org.apache.hadoop.hbase.mapred
Class BuildTableIndex

java.lang.Object
  extended by org.apache.hadoop.hbase.mapred.BuildTableIndex

public class BuildTableIndex
extends Object

Example table column indexing class. Runs a mapreduce job to index specified table columns.


Constructor Summary
BuildTableIndex()
          default constructor
 
Method Summary
 org.apache.hadoop.mapred.JobConf createJob(org.apache.hadoop.conf.Configuration conf, int numMapTasks, int numReduceTasks, String indexDir, String tableName, String columnNames)
           
static void main(String[] args)
           
 void run(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildTableIndex

public BuildTableIndex()
default constructor

Method Detail

run

public void run(String[] args)
         throws IOException
Parameters:
args -
Throws:
IOException

createJob

public org.apache.hadoop.mapred.JobConf createJob(org.apache.hadoop.conf.Configuration conf,
                                                  int numMapTasks,
                                                  int numReduceTasks,
                                                  String indexDir,
                                                  String tableName,
                                                  String columnNames)
Parameters:
conf -
numMapTasks -
numReduceTasks -
indexDir -
tableName -
columnNames -
Returns:
JobConf

main

public static void main(String[] args)
                 throws IOException
Parameters:
args -
Throws:
IOException


Copyright © 2008 The Apache Software Foundation