public enum TCursorGetMode extends java.lang.Enum<TCursorGetMode> implements org.apache.thrift.TEnum
| Enum Constant and Description |
|---|
CURRENT |
FIRST |
GET_BOTH |
GET_BOTH_RANGE |
GET_RECNO |
LAST |
NEXT |
NEXT_DUP |
NEXT_NO_DUP |
PREV |
PREV_DUP |
PREV_NO_DUP |
SET |
SET_RANGE |
SET_RECNO |
| Modifier and Type | Method and Description |
|---|---|
static TCursorGetMode |
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 TCursorGetMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TCursorGetMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TCursorGetMode CURRENT
public static final TCursorGetMode FIRST
public static final TCursorGetMode GET_BOTH
public static final TCursorGetMode GET_BOTH_RANGE
public static final TCursorGetMode GET_RECNO
public static final TCursorGetMode LAST
public static final TCursorGetMode NEXT
public static final TCursorGetMode NEXT_DUP
public static final TCursorGetMode NEXT_NO_DUP
public static final TCursorGetMode PREV
public static final TCursorGetMode PREV_DUP
public static final TCursorGetMode PREV_NO_DUP
public static final TCursorGetMode SET
public static final TCursorGetMode SET_RANGE
public static final TCursorGetMode SET_RECNO
public static TCursorGetMode[] values()
for (TCursorGetMode c : TCursorGetMode.values()) System.out.println(c);
public static TCursorGetMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
getValue in interface org.apache.thrift.TEnumpublic static TCursorGetMode findByValue(int value)
Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.