org.apache.hadoop.hbase.mapreduce
Class BuildTableIndex

java.lang.Object
  extended by org.apache.hadoop.hbase.mapreduce.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
static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf, String[] args)
          Creates a new job.
static void main(String[] args)
          The main entry point.
 
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

createSubmittableJob

public static org.apache.hadoop.mapreduce.Job createSubmittableJob(org.apache.hadoop.conf.Configuration conf,
                                                                   String[] args)
                                                            throws IOException
Creates a new job.

Parameters:
conf -
args - The command line arguments.
Throws:
IOException - When reading the configuration fails.

main

public static void main(String[] args)
                 throws Exception
The main entry point.

Parameters:
args - The command line arguments.
Throws:
Exception - When running the job fails.


Copyright © 2009 The Apache Software Foundation