public static enum ServiceParameterBufferImp.SpbMetaData extends java.lang.Enum<ServiceParameterBufferImp.SpbMetaData> implements ParameterBufferMetaData
| Enum Constant and Description | 
|---|
| SPB_VERSION_2 | 
| SPB_VERSION_2_ATTACH | 
| SPB_VERSION_3_ATTACH | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addPreamble(ParameterBuffer parameterBuffer)Allows the metadata to add a preamble to the parameter buffer. | 
| int | getType()Parameter buffer type (this usually is the version of the parameter buffer). | 
| static ServiceParameterBufferImp.SpbMetaData | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ServiceParameterBufferImp.SpbMetaData[] | 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, valueOfgetByteArrayArgumentType, getIntegerArgumentType, getStringArgumentTypepublic static final ServiceParameterBufferImp.SpbMetaData SPB_VERSION_2_ATTACH
public static final ServiceParameterBufferImp.SpbMetaData SPB_VERSION_2
public static final ServiceParameterBufferImp.SpbMetaData SPB_VERSION_3_ATTACH
public static ServiceParameterBufferImp.SpbMetaData[] values()
for (ServiceParameterBufferImp.SpbMetaData c : ServiceParameterBufferImp.SpbMetaData.values()) System.out.println(c);
public static ServiceParameterBufferImp.SpbMetaData 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()
ParameterBufferMetaDatagetType in interface ParameterBufferMetaDataISCConstants.isc_spb_version3).public void addPreamble(ParameterBuffer parameterBuffer)
ParameterBufferMetaData
 This is only intended for the weird "version 2" connection service parameter buffer that requires two tags for
 the version with isc_spb_version, isc_spb_current_version.
 
addPreamble in interface ParameterBufferMetaDataparameterBuffer - Parameter buffer.Copyright © 2001-2023 Jaybird (Firebird JDBC/JCA) team. All rights reserved.