public static enum DatabaseParameterBufferImp.DpbMetaData extends java.lang.Enum<DatabaseParameterBufferImp.DpbMetaData> implements ParameterBufferMetaData
Enum Constant and Description |
---|
DPB_VERSION_1 |
DPB_VERSION_2 |
Modifier and Type | Method and Description |
---|---|
ArgumentType |
getByteArrayArgumentType(int tag)
Gets the byte array argument type for the supplied tag.
|
ArgumentType |
getIntegerArgumentType(int tag)
Gets the integer argument type for the supplied tag.
|
ArgumentType |
getSingleArgumentType(int tag)
Gets the single argument type for the supplied tag.
|
ArgumentType |
getStringArgumentType(int tag)
Gets the string argument type for the supplied tag.
|
int |
getType()
Parameter buffer type (this usually is the version of the parameter buffer).
|
static DatabaseParameterBufferImp.DpbMetaData |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseParameterBufferImp.DpbMetaData[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
addPreamble, getByteArgumentType
public static final DatabaseParameterBufferImp.DpbMetaData DPB_VERSION_1
public static final DatabaseParameterBufferImp.DpbMetaData DPB_VERSION_2
public static DatabaseParameterBufferImp.DpbMetaData[] values()
for (DatabaseParameterBufferImp.DpbMetaData c : DatabaseParameterBufferImp.DpbMetaData.values()) System.out.println(c);
public static DatabaseParameterBufferImp.DpbMetaData 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 final int getType()
ParameterBufferMetaData
getType
in interface ParameterBufferMetaData
ISCConstants.isc_spb_version3
).public final ArgumentType getStringArgumentType(int tag)
ParameterBufferMetaData
When the tag is not known (or unsupported for string arguments), then the default should be returned.
getStringArgumentType
in interface ParameterBufferMetaData
tag
- Tag (item type)null
)public final ArgumentType getByteArrayArgumentType(int tag)
ParameterBufferMetaData
When the tag is not known (or unsupported for string arguments), then the default should be returned.
getByteArrayArgumentType
in interface ParameterBufferMetaData
tag
- Tag (item type)null
)public final ArgumentType getIntegerArgumentType(int tag)
ParameterBufferMetaData
When the tag is not known (or unsupported for string arguments), then the default should be returned.
getIntegerArgumentType
in interface ParameterBufferMetaData
tag
- Tag (item type)null
)public final ArgumentType getSingleArgumentType(int tag)
ParameterBufferMetaData
When the tag is not known (or unsupported for string arguments), then the default should be returned.
getSingleArgumentType
in interface ParameterBufferMetaData
tag
- Tag (item type)null
)Copyright © 2001-2024 Jaybird (Firebird JDBC) team. All rights reserved.