public class GranularityPathSpec extends Object implements PathSpec
Constructor and Description |
---|
GranularityPathSpec() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.Job |
addInputPaths(HadoopDruidIndexerConfig config,
org.apache.hadoop.mapreduce.Job job) |
com.metamx.common.Granularity |
getDataGranularity() |
String |
getFilePattern() |
Class<? extends org.apache.hadoop.mapreduce.InputFormat> |
getInputFormat() |
String |
getInputPath() |
String |
getPathFormat() |
void |
setDataGranularity(com.metamx.common.Granularity dataGranularity) |
void |
setFilePattern(String filePattern) |
void |
setInputFormat(Class<? extends org.apache.hadoop.mapreduce.InputFormat> inputFormat) |
void |
setInputPath(String inputPath) |
void |
setPathFormat(String pathFormat) |
public String getInputPath()
public void setInputPath(String inputPath)
public Class<? extends org.apache.hadoop.mapreduce.InputFormat> getInputFormat()
public void setInputFormat(Class<? extends org.apache.hadoop.mapreduce.InputFormat> inputFormat)
public String getFilePattern()
public void setFilePattern(String filePattern)
public com.metamx.common.Granularity getDataGranularity()
public void setDataGranularity(com.metamx.common.Granularity dataGranularity)
public String getPathFormat()
public void setPathFormat(String pathFormat)
public org.apache.hadoop.mapreduce.Job addInputPaths(HadoopDruidIndexerConfig config, org.apache.hadoop.mapreduce.Job job) throws IOException
addInputPaths
in interface PathSpec
IOException
Copyright © 2011–2015. All rights reserved.