public enum TCompareOp extends Enum<TCompareOp> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
EQUAL |
GREATER |
GREATER_OR_EQUAL |
LESS |
LESS_OR_EQUAL |
NO_OP |
NOT_EQUAL |
Modifier and Type | Method and Description |
---|---|
static TCompareOp |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static TCompareOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TCompareOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TCompareOp LESS
public static final TCompareOp LESS_OR_EQUAL
public static final TCompareOp EQUAL
public static final TCompareOp NOT_EQUAL
public static final TCompareOp GREATER_OR_EQUAL
public static final TCompareOp GREATER
public static final TCompareOp NO_OP
public static TCompareOp[] values()
for (TCompareOp c : TCompareOp.values()) System.out.println(c);
public static TCompareOp 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 int getValue()
getValue
in interface org.apache.thrift.TEnum
public static TCompareOp findByValue(int value)
Copyright © 2007–2019 Cloudera. All rights reserved.