public abstract class Predicate extends Object implements Serializable
谓词下推并不意味着扫描数据量一定会减少,而是通过谓词尽可能的过滤数据桶 只能保证扫描数据中一定包含满足谓词的桶
| Modifier and Type | Class and Description |
|---|---|
static class |
Predicate.PredicateType
定义谓词的类型
|
| Modifier and Type | Field and Description |
|---|---|
static Predicate |
NO_PREDICATE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Predicate.PredicateType |
getType() |
int |
hashCode() |
abstract String |
toString()
要求所有子类实现toString方法,以便输出谓词的字符串表示
|
public static final Predicate NO_PREDICATE
public Predicate.PredicateType getType()
public abstract String toString()
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.