public static class IndexTask.IndexTuningConfig extends Object implements TuningConfig, AppenderatorConfig
| Constructor and Description |
|---|
IndexTuningConfig(Integer targetPartitionSize,
Integer maxRowsInMemory,
Integer rowFlushBoundary_forBackCompatibility,
Integer numShards,
IndexSpec indexSpec,
Integer maxPendingPersists,
Boolean buildV9Directly,
Boolean forceExtendableShardSpecs,
Boolean reportParseExceptions) |
| Modifier and Type | Method and Description |
|---|---|
File |
getBasePersistDirectory() |
IndexSpec |
getIndexSpec() |
org.joda.time.Period |
getIntermediatePersistPeriod() |
int |
getMaxPendingPersists() |
int |
getMaxRowsInMemory() |
Integer |
getNumShards() |
Integer |
getTargetPartitionSize() |
boolean |
isBuildV9Directly() |
boolean |
isForceExtendableShardSpecs() |
boolean |
isReportParseExceptions() |
IndexTask.IndexTuningConfig |
withBasePersistDirectory(File dir) |
public IndexTuningConfig(@Nullable Integer targetPartitionSize, @Nullable Integer maxRowsInMemory, @Nullable Integer rowFlushBoundary_forBackCompatibility, @Nullable Integer numShards, @Nullable IndexSpec indexSpec, @Nullable Integer maxPendingPersists, @Nullable Boolean buildV9Directly, @Nullable Boolean forceExtendableShardSpecs, @Nullable Boolean reportParseExceptions)
public IndexTask.IndexTuningConfig withBasePersistDirectory(File dir)
public Integer getTargetPartitionSize()
public int getMaxRowsInMemory()
getMaxRowsInMemory in interface AppenderatorConfigpublic Integer getNumShards()
public IndexSpec getIndexSpec()
getIndexSpec in interface AppenderatorConfigpublic File getBasePersistDirectory()
getBasePersistDirectory in interface AppenderatorConfigpublic int getMaxPendingPersists()
getMaxPendingPersists in interface AppenderatorConfigpublic boolean isBuildV9Directly()
public boolean isReportParseExceptions()
isReportParseExceptions in interface AppenderatorConfigpublic boolean isForceExtendableShardSpecs()
public org.joda.time.Period getIntermediatePersistPeriod()
getIntermediatePersistPeriod in interface AppenderatorConfigCopyright © 2011–2017. All rights reserved.