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) |
Granularity |
getDataGranularity() |
String |
getFilePattern() |
Class<? extends org.apache.hadoop.mapreduce.InputFormat> |
getInputFormat() |
String |
getInputPath() |
String |
getPathFormat() |
void |
setDataGranularity(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 Granularity getDataGranularity()
public void setDataGranularity(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 PathSpecIOExceptionCopyright © 2011–2017. All rights reserved.