public static class TiKVScanAnalyzer.TiKVScanPlan.Builder extends Object
Modifier and Type | Method and Description |
---|---|
TiKVScanAnalyzer.TiKVScanPlan |
build() |
static TiKVScanAnalyzer.TiKVScanPlan.Builder |
newBuilder(String tableName) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setCost(double cost) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setDoubleRead(boolean doubleRead) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setEstimatedRowCount(double estimatedRowCount) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setFilters(Set<Expression> filters) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setIndex(TiIndexInfo index) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setKeyRanges(Map<Long,List<Coprocessor.KeyRange>> keyRanges) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setPrunedParts(List<TiPartitionDef> prunedParts) |
TiKVScanAnalyzer.TiKVScanPlan.Builder |
setStoreType(TiStoreType storeType) |
public static TiKVScanAnalyzer.TiKVScanPlan.Builder newBuilder(String tableName)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setKeyRanges(Map<Long,List<Coprocessor.KeyRange>> keyRanges)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setFilters(Set<Expression> filters)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setCost(double cost)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setIndex(TiIndexInfo index)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setDoubleRead(boolean doubleRead)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setEstimatedRowCount(double estimatedRowCount)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setPrunedParts(List<TiPartitionDef> prunedParts)
public TiKVScanAnalyzer.TiKVScanPlan.Builder setStoreType(TiStoreType storeType)
public TiKVScanAnalyzer.TiKVScanPlan build()
Copyright © 2024 PingCAP. All rights reserved.