Package org.apache.druid.query.filter
Enum RangeFilter.RangeType
- All Implemented Interfaces:
Serializable,Comparable<RangeFilter.RangeType>
- Enclosing class:
RangeFilter
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription[...][...)[...∞(...](...∞-∞...]-∞...)(...)-∞...∞ -
Method Summary
Modifier and TypeMethodDescriptionstatic RangeFilter.RangeTypeof(boolean hasLower, boolean lowerOpen, boolean hasUpper, boolean upperOpen) static RangeFilter.RangeTypeReturns the enum constant of this type with the specified name.static RangeFilter.RangeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPEN
(...) -
CLOSED
[...] -
LOWER_CLOSED_UPPER_OPEN
[...) -
LOWER_OPEN_UPPER_CLOSED
(...] -
LOWER_OPEN_UPPER_UNBOUNDED
(...∞ -
LOWER_CLOSED_UPPER_UNBOUNDED
[...∞ -
LOWER_UNBOUNDED_UPPER_OPEN
-∞...) -
LOWER_UNBOUNDED_UPPER_CLOSED
-∞...] -
UNBOUNDED
-∞...∞
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
of
public static RangeFilter.RangeType of(boolean hasLower, boolean lowerOpen, boolean hasUpper, boolean upperOpen)
-