org.apache.accumulo.examples.simple.shard
Class Index
java.lang.Object
org.apache.accumulo.examples.simple.shard.Index
public class Index
- extends Object
This program indexes a set of documents given on the command line into a shard table.
What it writes to the table is row = partition id, column family = term, column qualifier = document id.
See docs/examples/README.shard for instructions.
Constructor Summary |
Index()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Index
public Index()
index
public static void index(int numPartitions,
org.apache.hadoop.io.Text docId,
String doc,
String splitRegex,
BatchWriter bw)
throws Exception
- Throws:
Exception
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2013 Apache Accumulo Project. All Rights Reserved.