Package org.apache.druid.query.filter
Enum RangeFilter.RangeType
- java.lang.Object
-
- java.lang.Enum<RangeFilter.RangeType>
-
- org.apache.druid.query.filter.RangeFilter.RangeType
-
- All Implemented Interfaces:
Serializable
,Comparable<RangeFilter.RangeType>
- Enclosing class:
- RangeFilter
public static enum RangeFilter.RangeType extends Enum<RangeFilter.RangeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED
[...]LOWER_CLOSED_UPPER_OPEN
[...)LOWER_CLOSED_UPPER_UNBOUNDED
[...∞LOWER_OPEN_UPPER_CLOSED
(...]LOWER_OPEN_UPPER_UNBOUNDED
(...∞LOWER_UNBOUNDED_UPPER_CLOSED
-∞...]LOWER_UNBOUNDED_UPPER_OPEN
-∞...)OPEN
(...)UNBOUNDED
-∞...∞
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RangeFilter.RangeType
of(boolean hasLower, boolean lowerOpen, boolean hasUpper, boolean upperOpen)
static RangeFilter.RangeType
valueOf(String name)
Returns 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 Detail
-
OPEN
public static final RangeFilter.RangeType OPEN
(...)
-
CLOSED
public static final RangeFilter.RangeType CLOSED
[...]
-
LOWER_CLOSED_UPPER_OPEN
public static final RangeFilter.RangeType LOWER_CLOSED_UPPER_OPEN
[...)
-
LOWER_OPEN_UPPER_CLOSED
public static final RangeFilter.RangeType LOWER_OPEN_UPPER_CLOSED
(...]
-
LOWER_OPEN_UPPER_UNBOUNDED
public static final RangeFilter.RangeType LOWER_OPEN_UPPER_UNBOUNDED
(...∞
-
LOWER_CLOSED_UPPER_UNBOUNDED
public static final RangeFilter.RangeType LOWER_CLOSED_UPPER_UNBOUNDED
[...∞
-
LOWER_UNBOUNDED_UPPER_OPEN
public static final RangeFilter.RangeType LOWER_UNBOUNDED_UPPER_OPEN
-∞...)
-
LOWER_UNBOUNDED_UPPER_CLOSED
public static final RangeFilter.RangeType LOWER_UNBOUNDED_UPPER_CLOSED
-∞...]
-
UNBOUNDED
public static final RangeFilter.RangeType UNBOUNDED
-∞...∞
-
-
Method Detail
-
values
public static RangeFilter.RangeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RangeFilter.RangeType c : RangeFilter.RangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RangeFilter.RangeType valueOf(String name)
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)
-
-