public static class TiDAGRequest.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TiDAGRequest.Builder |
addFilter(Expression filter) |
TiDAGRequest.Builder |
addOrderBy(ByItem item) |
TiDAGRequest.Builder |
addRequiredCols(List<String> cols) |
TiDAGRequest |
build(TiDAGRequest.PushDownType pushDownType) |
static TiDAGRequest.Builder |
newBuilder() |
TiDAGRequest.Builder |
setFullTableScan(TiTableInfo tableInfo) |
TiDAGRequest.Builder |
setLimit(int limit) |
TiDAGRequest.Builder |
setPhysicalId(long id) |
TiDAGRequest.Builder |
setStartTs(TiTimestamp ts) |
TiDAGRequest.Builder |
setTableInfo(TiTableInfo tableInfo) |
public static TiDAGRequest.Builder newBuilder()
public TiDAGRequest.Builder setFullTableScan(TiTableInfo tableInfo)
public TiDAGRequest.Builder setLimit(int limit)
public TiDAGRequest.Builder setTableInfo(TiTableInfo tableInfo)
public TiDAGRequest.Builder setPhysicalId(long id)
public TiDAGRequest.Builder addRequiredCols(List<String> cols)
public TiDAGRequest.Builder addFilter(Expression filter)
public TiDAGRequest.Builder addOrderBy(ByItem item)
public TiDAGRequest.Builder setStartTs(@Nonnull TiTimestamp ts)
public TiDAGRequest build(TiDAGRequest.PushDownType pushDownType)
Copyright © 2024 PingCAP. All rights reserved.