public class HadoopDruidConverterConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPERTY |
static com.fasterxml.jackson.databind.ObjectMapper |
jsonMapper |
Constructor and Description |
---|
HadoopDruidConverterConfig(String dataSource,
org.joda.time.Interval interval,
IndexSpec indexSpec,
List<io.druid.timeline.DataSegment> segments,
Boolean validate,
URI distributedSuccessCache,
Map<String,String> hadoopProperties,
String jobPriority,
String segmentOutputPath) |
Modifier and Type | Method and Description |
---|---|
static HadoopDruidConverterConfig |
fromFile(File file) |
static HadoopDruidConverterConfig |
fromMap(Map<String,Object> map) |
static HadoopDruidConverterConfig |
fromString(String string) |
String |
getDataSource() |
URI |
getDistributedSuccessCache() |
Map<String,String> |
getHadoopProperties() |
IndexSpec |
getIndexSpec() |
org.joda.time.Interval |
getInterval() |
String |
getJobPriority() |
String |
getSegmentOutputPath() |
List<io.druid.timeline.DataSegment> |
getSegments() |
boolean |
isValidate() |
public static final String CONFIG_PROPERTY
public static final com.fasterxml.jackson.databind.ObjectMapper jsonMapper
public HadoopDruidConverterConfig(String dataSource, org.joda.time.Interval interval, IndexSpec indexSpec, List<io.druid.timeline.DataSegment> segments, Boolean validate, URI distributedSuccessCache, Map<String,String> hadoopProperties, String jobPriority, String segmentOutputPath)
public static HadoopDruidConverterConfig fromString(String string) throws IOException
IOException
public static HadoopDruidConverterConfig fromFile(File file) throws IOException
IOException
public static HadoopDruidConverterConfig fromMap(Map<String,Object> map)
public boolean isValidate()
public String getDataSource()
public org.joda.time.Interval getInterval()
public IndexSpec getIndexSpec()
public List<io.druid.timeline.DataSegment> getSegments()
public URI getDistributedSuccessCache()
public String getJobPriority()
public String getSegmentOutputPath()
Copyright © 2011–2015. All rights reserved.