public enum TFetchOrientation extends Enum<TFetchOrientation> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
FETCH_ABSOLUTE |
FETCH_FIRST |
FETCH_LAST |
FETCH_NEXT |
FETCH_PRIOR |
FETCH_RELATIVE |
Modifier and Type | Method and Description |
---|---|
static TFetchOrientation |
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 TFetchOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TFetchOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TFetchOrientation FETCH_NEXT
public static final TFetchOrientation FETCH_PRIOR
public static final TFetchOrientation FETCH_RELATIVE
public static final TFetchOrientation FETCH_ABSOLUTE
public static final TFetchOrientation FETCH_FIRST
public static final TFetchOrientation FETCH_LAST
public static TFetchOrientation[] values()
for (TFetchOrientation c : TFetchOrientation.values()) System.out.println(c);
public static TFetchOrientation 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 TFetchOrientation findByValue(int value)
Copyright © 2016 The Apache Software Foundation. All rights reserved.