org.apache.accumulo.examples.shard
Class Index
java.lang.Object
org.apache.accumulo.examples.shard.Index
public class Index
- extends java.lang.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
Constructor Summary |
Index()
|
Method Summary |
static void |
index(int numPartitions,
org.apache.hadoop.io.Text docId,
java.lang.String doc,
java.lang.String splitRegex,
BatchWriter bw)
|
static void |
main(java.lang.String[] args)
|
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,
java.lang.String doc,
java.lang.String splitRegex,
BatchWriter bw)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.