public class HadoopTuningConfig extends Object implements TuningConfig
DEFAULT_APPENDABLE_INDEX, DEFAULT_LOG_PARSE_EXCEPTIONS, DEFAULT_MAX_PARSE_EXCEPTIONS, DEFAULT_MAX_ROWS_IN_MEMORY, DEFAULT_MAX_SAVED_PARSE_EXCEPTIONS| Constructor and Description |
|---|
HadoopTuningConfig(String workingPath,
String version,
DimensionBasedPartitionsSpec partitionsSpec,
Map<Long,List<HadoopyShardSpec>> shardSpecs,
IndexSpec indexSpec,
IndexSpec indexSpecForIntermediatePersists,
AppendableIndexSpec appendableIndexSpec,
Integer maxRowsInMemory,
Long maxBytesInMemory,
boolean leaveIntermediate,
Boolean cleanupOnFailure,
boolean overwriteFiles,
Boolean ignoreInvalidRows,
Map<String,String> jobProperties,
boolean combineText,
Boolean useCombiner,
Integer maxRowsInMemoryCOMPAT,
Boolean buildV9Directly,
Integer numBackgroundPersistThreads,
boolean forceExtendableShardSpecs,
boolean useExplicitVersion,
List<String> allowedHadoopPrefix,
Boolean logParseExceptions,
Integer maxParseExceptions,
Boolean useYarnRMJobStatusFallback) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxBytesInMemoryOrDefaultpublic HadoopTuningConfig(@Nullable String workingPath, @Nullable String version, @Nullable DimensionBasedPartitionsSpec partitionsSpec, @Nullable Map<Long,List<HadoopyShardSpec>> shardSpecs, @Nullable IndexSpec indexSpec, @Nullable IndexSpec indexSpecForIntermediatePersists, @Nullable AppendableIndexSpec appendableIndexSpec, @Nullable Integer maxRowsInMemory, @Nullable Long maxBytesInMemory, boolean leaveIntermediate, @Nullable Boolean cleanupOnFailure, boolean overwriteFiles, @Deprecated @Nullable Boolean ignoreInvalidRows, @Nullable Map<String,String> jobProperties, boolean combineText, @Nullable Boolean useCombiner, @Nullable Integer maxRowsInMemoryCOMPAT, Boolean buildV9Directly, @Nullable Integer numBackgroundPersistThreads, boolean forceExtendableShardSpecs, boolean useExplicitVersion, @Nullable List<String> allowedHadoopPrefix, @Nullable Boolean logParseExceptions, @Nullable Integer maxParseExceptions, @Nullable Boolean useYarnRMJobStatusFallback)
public static HadoopTuningConfig makeDefaultTuningConfig()
public String getVersion()
public DimensionBasedPartitionsSpec getPartitionsSpec()
getPartitionsSpec in interface TuningConfigpublic Map<Long,List<HadoopyShardSpec>> getShardSpecs()
public IndexSpec getIndexSpec()
getIndexSpec in interface TuningConfigpublic IndexSpec getIndexSpecForIntermediatePersists()
getIndexSpecForIntermediatePersists in interface TuningConfigpublic AppendableIndexSpec getAppendableIndexSpec()
getAppendableIndexSpec in interface TuningConfigpublic int getMaxRowsInMemory()
getMaxRowsInMemory in interface TuningConfigpublic long getMaxBytesInMemory()
getMaxBytesInMemory in interface TuningConfigpublic boolean isLeaveIntermediate()
public Boolean isCleanupOnFailure()
public boolean isOverwriteFiles()
public Boolean isIgnoreInvalidRows()
public boolean isCombineText()
public boolean getUseCombiner()
@Deprecated public Boolean getBuildV9Directly()
public int getNumBackgroundPersistThreads()
public boolean isForceExtendableShardSpecs()
public boolean isUseExplicitVersion()
public boolean isLogParseExceptions()
public int getMaxParseExceptions()
public boolean isUseYarnRMJobStatusFallback()
public HadoopTuningConfig withWorkingPath(String path)
public HadoopTuningConfig withVersion(String ver)
public HadoopTuningConfig withShardSpecs(Map<Long,List<HadoopyShardSpec>> specs)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.