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()
           
 
Method Summary
 JobConf createJob(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()
Method Detail

run

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

createJob

public JobConf createJob(Configuration conf,
                         int numMapTasks,
                         int numReduceTasks,
                         String indexDir,
                         String tableName,
                         String columnNames)

main

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


Copyright © 2006 The Apache Software Foundation