public class Indexer
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Indexer.IndexerOutputCommitter
Output committer that concatenates all master files into one master file.
|
static class |
Indexer.IndexMethods
The map and reduce functions for the repartition
|
| Constructor and Description |
|---|
Indexer() |
| Modifier and Type | Method and Description |
|---|---|
static Partitioner |
createPartitioner(Path[] ins,
Path out,
Configuration job,
java.lang.String partitionerName)
Create a partitioner for a particular job
|
static Partitioner |
createPartitioner(Path in,
Path out,
Configuration job,
java.lang.String partitionerName) |
static RunningJob |
index(Path inPath,
Path outPath,
OperationsParams params) |
static void |
main(java.lang.String[] args)
Entry point to the indexing operation.
|
protected static void |
printUsage() |
public static Partitioner createPartitioner(Path in, Path out, Configuration job, java.lang.String partitionerName) throws java.io.IOException
java.io.IOExceptionpublic static Partitioner createPartitioner(Path[] ins, Path out, Configuration job, java.lang.String partitionerName) throws java.io.IOException
in - out - job - partitionerName - java.io.IOExceptionpublic static RunningJob index(Path inPath,
Path outPath,
OperationsParams params)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionprotected static void printUsage()
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - java.lang.Exception