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 AppenderatorConfig
public Integer getNumShards()
public IndexSpec getIndexSpec()
getIndexSpec
in interface AppenderatorConfig
public File getBasePersistDirectory()
getBasePersistDirectory
in interface AppenderatorConfig
public int getMaxPendingPersists()
getMaxPendingPersists
in interface AppenderatorConfig
public boolean isBuildV9Directly()
public boolean isReportParseExceptions()
isReportParseExceptions
in interface AppenderatorConfig
public boolean isForceExtendableShardSpecs()
public org.joda.time.Period getIntermediatePersistPeriod()
getIntermediatePersistPeriod
in interface AppenderatorConfig
Copyright © 2011–2017. All rights reserved.