public class RealtimeTuningConfig extends Object implements TuningConfig, AppenderatorConfig
DEFAULT_LOG_PARSE_EXCEPTIONS, DEFAULT_MAX_BYTES_IN_MEMORY, DEFAULT_MAX_PARSE_EXCEPTIONS, DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS| Constructor and Description |
|---|
RealtimeTuningConfig(Integer maxRowsInMemory,
Long maxBytesInMemory,
org.joda.time.Period intermediatePersistPeriod,
org.joda.time.Period windowPeriod,
File basePersistDirectory,
VersioningPolicy versioningPolicy,
RejectionPolicyFactory rejectionPolicyFactory,
Integer maxPendingPersists,
ShardSpec shardSpec,
IndexSpec indexSpec,
IndexSpec indexSpecForIntermediatePersists,
Boolean buildV9Directly,
int persistThreadPriority,
int mergeThreadPriority,
Boolean reportParseExceptions,
Long handoffConditionTimeout,
Long alertTimeout,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory,
String dedupColumn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxRowsPerSegment, getMaxTotalRowspublic RealtimeTuningConfig(Integer maxRowsInMemory, Long maxBytesInMemory, org.joda.time.Period intermediatePersistPeriod, org.joda.time.Period windowPeriod, File basePersistDirectory, VersioningPolicy versioningPolicy, RejectionPolicyFactory rejectionPolicyFactory, Integer maxPendingPersists, ShardSpec shardSpec, IndexSpec indexSpec, @Nullable IndexSpec indexSpecForIntermediatePersists, Boolean buildV9Directly, int persistThreadPriority, int mergeThreadPriority, Boolean reportParseExceptions, Long handoffConditionTimeout, Long alertTimeout, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, @Nullable String dedupColumn)
public static RealtimeTuningConfig makeDefaultTuningConfig(@Nullable File basePersistDirectory)
public int getMaxRowsInMemory()
AppenderatorConfiggetMaxRowsInMemory in interface AppenderatorConfigpublic long getMaxBytesInMemory()
AppenderatorConfiggetMaxBytesInMemory in interface AppenderatorConfigpublic org.joda.time.Period getIntermediatePersistPeriod()
AppenderatorConfiggetIntermediatePersistPeriod in interface AppenderatorConfigpublic org.joda.time.Period getWindowPeriod()
public File getBasePersistDirectory()
getBasePersistDirectory in interface AppenderatorConfigpublic VersioningPolicy getVersioningPolicy()
public RejectionPolicyFactory getRejectionPolicyFactory()
public int getMaxPendingPersists()
getMaxPendingPersists in interface AppenderatorConfigpublic PartitionsSpec getPartitionsSpec()
getPartitionsSpec in interface AppenderatorConfigpublic ShardSpec getShardSpec()
public IndexSpec getIndexSpec()
getIndexSpec in interface AppenderatorConfigpublic IndexSpec getIndexSpecForIntermediatePersists()
getIndexSpecForIntermediatePersists in interface AppenderatorConfig@Deprecated public Boolean getBuildV9Directly()
public int getPersistThreadPriority()
public int getMergeThreadPriority()
public boolean isReportParseExceptions()
isReportParseExceptions in interface AppenderatorConfigpublic long getHandoffConditionTimeout()
public long getAlertTimeout()
@Nullable public SegmentWriteOutMediumFactory getSegmentWriteOutMediumFactory()
getSegmentWriteOutMediumFactory in interface AppenderatorConfigpublic RealtimeTuningConfig withVersioningPolicy(VersioningPolicy policy)
public RealtimeTuningConfig withBasePersistDirectory(File dir)
withBasePersistDirectory in interface AppenderatorConfigCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.