public class RealtimeTuningConfig extends Object implements TuningConfig
Constructor and Description |
---|
RealtimeTuningConfig(Integer maxRowsInMemory,
org.joda.time.Period intermediatePersistPeriod,
org.joda.time.Period windowPeriod,
File basePersistDirectory,
VersioningPolicy versioningPolicy,
RejectionPolicyFactory rejectionPolicyFactory,
Integer maxPendingPersists,
io.druid.timeline.partition.ShardSpec shardSpec,
IndexSpec indexSpec,
Boolean persistInHeap,
Boolean ingestOffheap,
Integer bufferSize,
Float aggregationBufferRatio) |
Modifier and Type | Method and Description |
---|---|
float |
getAggregationBufferRatio() |
File |
getBasePersistDirectory() |
int |
getBufferSize() |
IndexSpec |
getIndexSpec() |
org.joda.time.Period |
getIntermediatePersistPeriod() |
int |
getMaxPendingPersists() |
int |
getMaxRowsInMemory() |
RejectionPolicyFactory |
getRejectionPolicyFactory() |
io.druid.timeline.partition.ShardSpec |
getShardSpec() |
VersioningPolicy |
getVersioningPolicy() |
org.joda.time.Period |
getWindowPeriod() |
boolean |
isIngestOffheap() |
boolean |
isPersistInHeap() |
static RealtimeTuningConfig |
makeDefaultTuningConfig() |
RealtimeTuningConfig |
withBasePersistDirectory(File dir) |
RealtimeTuningConfig |
withVersioningPolicy(VersioningPolicy policy) |
public RealtimeTuningConfig(Integer maxRowsInMemory, org.joda.time.Period intermediatePersistPeriod, org.joda.time.Period windowPeriod, File basePersistDirectory, VersioningPolicy versioningPolicy, RejectionPolicyFactory rejectionPolicyFactory, Integer maxPendingPersists, io.druid.timeline.partition.ShardSpec shardSpec, IndexSpec indexSpec, Boolean persistInHeap, Boolean ingestOffheap, Integer bufferSize, Float aggregationBufferRatio)
public static RealtimeTuningConfig makeDefaultTuningConfig()
public int getMaxRowsInMemory()
public org.joda.time.Period getIntermediatePersistPeriod()
public org.joda.time.Period getWindowPeriod()
public File getBasePersistDirectory()
public VersioningPolicy getVersioningPolicy()
public RejectionPolicyFactory getRejectionPolicyFactory()
public int getMaxPendingPersists()
public io.druid.timeline.partition.ShardSpec getShardSpec()
public IndexSpec getIndexSpec()
public boolean isPersistInHeap()
public boolean isIngestOffheap()
public int getBufferSize()
public float getAggregationBufferRatio()
public RealtimeTuningConfig withVersioningPolicy(VersioningPolicy policy)
public RealtimeTuningConfig withBasePersistDirectory(File dir)
Copyright © 2011–2015. All rights reserved.