public static class TupleDomainFilter.BytesRange extends TupleDomainFilter.AbstractTupleDomainFilter
TupleDomainFilter.AbstractRange, TupleDomainFilter.AbstractTupleDomainFilter, TupleDomainFilter.AlwaysFalse, TupleDomainFilter.BasePositionalFilter, TupleDomainFilter.BigintMultiRange, TupleDomainFilter.BigintRange, TupleDomainFilter.BigintValuesUsingBitmask, TupleDomainFilter.BigintValuesUsingHashTable, TupleDomainFilter.BooleanValue, TupleDomainFilter.BytesRange, TupleDomainFilter.BytesValues, TupleDomainFilter.BytesValuesExclusive, TupleDomainFilter.DoubleRange, TupleDomainFilter.FloatRange, TupleDomainFilter.IsNotNull, TupleDomainFilter.IsNull, TupleDomainFilter.LongDecimalRange, TupleDomainFilter.MultiRange, TupleDomainFilter.NullsFilter, TupleDomainFilter.PositionalFilternullAllowedALWAYS_FALSE, IS_NOT_NULL, IS_NULL| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getLower() |
int |
hashCode() |
boolean |
isSingleValue() |
static TupleDomainFilter.BytesRange |
of(byte[] lower,
boolean lowerExclusive,
byte[] upper,
boolean upperExclusive,
boolean nullAllowed) |
boolean |
testBytes(byte[] buffer,
int offset,
int length) |
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.
|
String |
toString() |
getPrecedingPositionsToFail, getSucceedingPositionsToFail, isDeterministic, isPositionalFilter, testBoolean, testDecimal, testDouble, testFloat, testLong, testNonNull, testNullpublic static TupleDomainFilter.BytesRange of(byte[] lower, boolean lowerExclusive, byte[] upper, boolean upperExclusive, boolean nullAllowed)
public boolean testBytes(byte[] buffer,
int offset,
int length)
testBytes in interface TupleDomainFiltertestBytes in class TupleDomainFilter.AbstractTupleDomainFilterpublic boolean testLength(int length)
TupleDomainFiltertestLength in interface TupleDomainFiltertestLength in class TupleDomainFilter.AbstractTupleDomainFilterpublic boolean isSingleValue()
public byte[] getLower()
Copyright © 2012–2022. All rights reserved.