public class RealtimeTuningConfig extends Object implements AppenderatorConfig
DEFAULT_APPENDABLE_INDEX, DEFAULT_AWAIT_SEGMENT_AVAILABILITY_TIMEOUT_MILLIS, DEFAULT_LOG_PARSE_EXCEPTIONS, DEFAULT_MAX_PARSE_EXCEPTIONS, DEFAULT_MAX_ROWS_IN_MEMORY, DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS, DEFAULT_SKIP_BYTES_IN_MEMORY_OVERHEAD_CHECK| Constructor and Description |
|---|
RealtimeTuningConfig(AppendableIndexSpec appendableIndexSpec,
Integer maxRowsInMemory,
Long maxBytesInMemory,
Boolean skipBytesInMemoryOverheadCheck,
org.joda.time.Period intermediatePersistPeriod,
org.joda.time.Period windowPeriod,
File basePersistDirectory,
VersioningPolicy versioningPolicy,
RejectionPolicyFactory rejectionPolicyFactory,
Integer maxPendingPersists,
ShardSpec shardSpec,
IndexSpec indexSpec,
IndexSpec indexSpecForIntermediatePersists,
int persistThreadPriority,
int mergeThreadPriority,
Boolean reportParseExceptions,
Long handoffConditionTimeout,
Long alertTimeout,
SegmentWriteOutMediumFactory segmentWriteOutMediumFactory,
String dedupColumn) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxColumnsToMerge, getMaxRowsPerSegment, getMaxTotalRowsgetMaxBytesInMemoryOrDefaultpublic RealtimeTuningConfig(@Nullable AppendableIndexSpec appendableIndexSpec, Integer maxRowsInMemory, Long maxBytesInMemory, @Nullable Boolean skipBytesInMemoryOverheadCheck, 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, int persistThreadPriority, int mergeThreadPriority, Boolean reportParseExceptions, Long handoffConditionTimeout, Long alertTimeout, @Nullable SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, @Nullable String dedupColumn)
public static RealtimeTuningConfig makeDefaultTuningConfig(@Nullable File basePersistDirectory)
public AppendableIndexSpec getAppendableIndexSpec()
TuningConfiggetAppendableIndexSpec in interface TuningConfigpublic int getMaxRowsInMemory()
TuningConfiggetMaxRowsInMemory in interface TuningConfigpublic long getMaxBytesInMemory()
TuningConfiggetMaxBytesInMemory in interface TuningConfigpublic boolean isSkipBytesInMemoryOverheadCheck()
isSkipBytesInMemoryOverheadCheck 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 TuningConfigpublic ShardSpec getShardSpec()
public IndexSpec getIndexSpec()
getIndexSpec in interface TuningConfigpublic IndexSpec getIndexSpecForIntermediatePersists()
getIndexSpecForIntermediatePersists in interface TuningConfigpublic 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–2021 The Apache Software Foundation. All rights reserved.