public class DataFilterV2 extends Object implements DataFilterBase
| 限定符和类型 | 类和说明 |
|---|---|
class |
DataFilterV2.FilterInfo
Class store the raw info user passed.
|
FILTER_SEPARATOR, FILTER_SEPARATOR_INNER| 限定符和类型 | 方法和说明 |
|---|---|
DataFilterV2 |
addFilterTuple(String tenant,
String db,
String table,
String... cols) |
static DataFilterV2 |
create() |
String |
getBranchDB() |
String |
getConnectStoreFilterConditions()
Get the formatted filter string which will be delivered to store.
|
List<DataFilterV2.FilterInfo> |
getFilterInfoList() |
boolean |
getIsAllMatch()
Fast match if cols are all needed.
|
Map<String,Map<String,List<String>>> |
getReflectionMap() |
Map<String,Map<String,List<String>>> |
getRequireMap() |
void |
setBranchDb(String branchDb)
已过时。
|
String |
toString() |
boolean |
validateFilter(com.aliyun.drc.client.enums.DBType dbType)
Validate if the filter user passed is legal
|
public static DataFilterV2 create()
public DataFilterV2 addFilterTuple(String tenant, String db, String table, String... cols)
public List<DataFilterV2.FilterInfo> getFilterInfoList()
public String getBranchDB()
public String getConnectStoreFilterConditions()
DataFilterBasegetConnectStoreFilterConditions 在接口中 DataFilterBasepublic boolean validateFilter(com.aliyun.drc.client.enums.DBType dbType)
throws DRCClientException
DataFilterBasevalidateFilter 在接口中 DataFilterBasedbType - database type which may be ob, mysql, oracle.
For now, only ob1.0 need special handle which 4 tuple contains tenant, db, tb, cols is strictly required.DRCClientException - DRCClientException@Deprecated public void setBranchDb(String branchDb)
setBranchDb 在接口中 DataFilterBasebranchDb - branchDbpublic boolean getIsAllMatch()
DataFilterBasegetIsAllMatch 在接口中 DataFilterBasepublic Map<String,Map<String,List<String>>> getReflectionMap()
getReflectionMap 在接口中 DataFilterBasepublic Map<String,Map<String,List<String>>> getRequireMap()
getRequireMap 在接口中 DataFilterBaseCopyright © 2017. All Rights Reserved.