public enum FetchType extends java.lang.Enum<FetchType>
Enum Constant and Description |
---|
ABSOLUTE |
FIRST |
LAST |
NEXT |
PRIOR |
RELATIVE |
Modifier and Type | Method and Description |
---|---|
abstract FetchDirection |
direction(int position)
Determine the direction of a fetch with the specified position.
|
int |
getFbFetchType() |
boolean |
supportsBatch() |
static FetchType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FetchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FetchType NEXT
public static final FetchType PRIOR
public static final FetchType FIRST
public static final FetchType LAST
public static final FetchType ABSOLUTE
public static final FetchType RELATIVE
public static FetchType[] values()
for (FetchType c : FetchType.values()) System.out.println(c);
public static FetchType 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 getFbFetchType()
public boolean supportsBatch()
true
allows batched fetch (multiple rows), false
if fetching only a single row is allowedpublic abstract FetchDirection direction(int position)
Copyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.