public static enum FbBlob.SeekMode extends java.lang.Enum<FbBlob.SeekMode>
FbBlob.seek(int, org.firebirdsql.gds.ng.FbBlob.SeekMode).| Enum Constant and Description |
|---|
ABSOLUTE
Absolute seek from start of blob.
|
ABSOLUTE_FROM_END
Absolute seek from end of blob.
|
RELATIVE
Relative seek from current position in blob.
|
| Modifier and Type | Method and Description |
|---|---|
static FbBlob.SeekMode |
getById(int seekModeId)
Get the SeekMode instance by the (Firebird) seekmode id.
|
int |
getSeekModeId() |
static FbBlob.SeekMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FbBlob.SeekMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FbBlob.SeekMode ABSOLUTE
public static final FbBlob.SeekMode RELATIVE
public static final FbBlob.SeekMode ABSOLUTE_FROM_END
public static FbBlob.SeekMode[] values()
for (FbBlob.SeekMode c : FbBlob.SeekMode.values()) System.out.println(c);
public static FbBlob.SeekMode 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 getSeekModeId()
public static FbBlob.SeekMode getById(int seekModeId)
Valid values are:
0 - for ABSOLUTE1 - for RELATIVE2 - for ABSOLUTE_FROM_ENDseekModeId - The seekmode id.java.lang.IllegalArgumentException - For values that do not have a SeekMode instance.Copyright © 2001-2023 Jaybird (Firebird JDBC/JCA) team. All rights reserved.