Package org.apache.druid.indexer
Class IndexGeneratorJob
- java.lang.Object
-
- org.apache.druid.indexer.IndexGeneratorJob
-
- All Implemented Interfaces:
org.apache.druid.indexer.Jobby
public class IndexGeneratorJob extends Object implements org.apache.druid.indexer.Jobby
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexGeneratorJob.IndexGeneratorCombinerstatic classIndexGeneratorJob.IndexGeneratorMapperstatic classIndexGeneratorJob.IndexGeneratorOutputFormatstatic classIndexGeneratorJob.IndexGeneratorPartitionerstatic classIndexGeneratorJob.IndexGeneratorReducerstatic classIndexGeneratorJob.IndexGeneratorStats
-
Constructor Summary
Constructors Constructor Description IndexGeneratorJob(HadoopDruidIndexerConfig config)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetErrorMessage()static List<DataSegmentAndIndexZipFilePath>getPublishedSegmentAndIndexZipFilePaths(HadoopDruidIndexerConfig config)Map<String,Object>getStats()booleanrun()protected voidsetReducerClass(org.apache.hadoop.mapreduce.Job job)
-
-
-
Constructor Detail
-
IndexGeneratorJob
public IndexGeneratorJob(HadoopDruidIndexerConfig config)
-
-
Method Detail
-
getPublishedSegmentAndIndexZipFilePaths
public static List<DataSegmentAndIndexZipFilePath> getPublishedSegmentAndIndexZipFilePaths(HadoopDruidIndexerConfig config)
-
setReducerClass
protected void setReducerClass(org.apache.hadoop.mapreduce.Job job)
-
run
public boolean run()
- Specified by:
runin interfaceorg.apache.druid.indexer.Jobby
-
getStats
public Map<String,Object> getStats()
- Specified by:
getStatsin interfaceorg.apache.druid.indexer.Jobby
-
getErrorMessage
public String getErrorMessage()
- Specified by:
getErrorMessagein interfaceorg.apache.druid.indexer.Jobby
-
-