public interface TupleDomainFilter
| Modifier and Type | Interface and Description |
|---|---|
static class |
TupleDomainFilter.AbstractRange |
static class |
TupleDomainFilter.AbstractTupleDomainFilter |
static class |
TupleDomainFilter.AlwaysFalse |
static class |
TupleDomainFilter.BasePositionalFilter |
static class |
TupleDomainFilter.BigintMultiRange |
static class |
TupleDomainFilter.BigintRange |
static class |
TupleDomainFilter.BigintValuesUsingBitmask |
static class |
TupleDomainFilter.BigintValuesUsingHashTable |
static class |
TupleDomainFilter.BooleanValue |
static class |
TupleDomainFilter.BytesRange |
static class |
TupleDomainFilter.BytesValues |
static class |
TupleDomainFilter.BytesValuesExclusive |
static class |
TupleDomainFilter.DoubleRange |
static class |
TupleDomainFilter.FloatRange |
static class |
TupleDomainFilter.IsNotNull |
static class |
TupleDomainFilter.IsNull |
static class |
TupleDomainFilter.LongDecimalRange |
static class |
TupleDomainFilter.MultiRange |
static class |
TupleDomainFilter.NullsFilter |
static class |
TupleDomainFilter.PositionalFilter |
| Modifier and Type | Field and Description |
|---|---|
static TupleDomainFilter |
ALWAYS_FALSE |
static TupleDomainFilter |
IS_NOT_NULL |
static TupleDomainFilter |
IS_NULL |
| Modifier and Type | Method and Description |
|---|---|
int |
getPrecedingPositionsToFail()
When a filter applied to a nested column fails, the whole top-level position should
fail.
|
int |
getSucceedingPositionsToFail() |
boolean |
isDeterministic()
A filter becomes non-deterministic when applies to nested column,
e.g.
|
boolean |
isPositionalFilter() |
boolean |
testBoolean(boolean value) |
boolean |
testBytes(byte[] buffer,
int offset,
int length) |
boolean |
testDecimal(long low,
long high) |
boolean |
testDouble(double value) |
boolean |
testFloat(float value) |
boolean |
testLength(int length)
Filters like string equality and IN, as well as conditions on cardinality of lists and maps can be at least partly
decided by looking at lengths alone.
|
boolean |
testLong(long value) |
boolean |
testNonNull()
Used to apply is [not] null filters to complex types, e.g.
|
boolean |
testNull() |
static final TupleDomainFilter ALWAYS_FALSE
static final TupleDomainFilter IS_NULL
static final TupleDomainFilter IS_NOT_NULL
boolean isDeterministic()
boolean testNull()
boolean testNonNull()
In these case, the exact values are not known, but it is known whether they are null or not. Furthermore, for some positions only nulls are allowed (a[1] is null), for others only non-nulls (a[3] is not null), and for the rest both are allowed (a[2] and a[N], where N > 3).
boolean testLong(long value)
boolean testDouble(double value)
boolean testFloat(float value)
boolean testDecimal(long low,
long high)
boolean testBoolean(boolean value)
boolean testBytes(byte[] buffer,
int offset,
int length)
boolean testLength(int length)
int getPrecedingPositionsToFail()
int getSucceedingPositionsToFail()
boolean isPositionalFilter()
Copyright © 2012–2022. All rights reserved.