|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.mapred.BuildTableIndex
@Deprecated public class BuildTableIndex
Example table column indexing class. Runs a mapreduce job to index specified table columns.
IndexConfiguration
which is used to set various Lucene parameters,
specify whether to optimize an index and which columns to index and/or
store, in tokenized or untokenized form, etc. For an example, see the
createIndexConfContent
method in TestTableIndex
Constructor Summary | |
---|---|
BuildTableIndex()
Deprecated. 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)
Deprecated. |
static void |
main(String[] args)
Deprecated. |
void |
run(String[] args)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildTableIndex()
Method Detail |
---|
public void run(String[] args) throws IOException
args
-
IOException
public org.apache.hadoop.mapred.JobConf createJob(org.apache.hadoop.conf.Configuration conf, int numMapTasks, int numReduceTasks, String indexDir, String tableName, String columnNames)
conf
- numMapTasks
- numReduceTasks
- indexDir
- tableName
- columnNames
-
public static void main(String[] args) throws IOException
args
-
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |