public static enum PredicateLeaf.Type extends Enum<PredicateLeaf.Type>
Enum Constant and Description |
---|
BOOLEAN |
DATE |
DECIMAL |
FLOAT |
LONG |
STRING |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
Class |
getValueClass()
For all SARG leaves, the values must be the matching class.
|
static PredicateLeaf.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PredicateLeaf.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PredicateLeaf.Type LONG
public static final PredicateLeaf.Type FLOAT
public static final PredicateLeaf.Type STRING
public static final PredicateLeaf.Type DATE
public static final PredicateLeaf.Type DECIMAL
public static final PredicateLeaf.Type TIMESTAMP
public static final PredicateLeaf.Type BOOLEAN
public static PredicateLeaf.Type[] values()
for (PredicateLeaf.Type c : PredicateLeaf.Type.values()) System.out.println(c);
public static PredicateLeaf.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class getValueClass()
Copyright © 2022 The Apache Software Foundation. All rights reserved.