Skip to content

Plsqlap_Buffer_API Overview

The package Plsqlap_Buffer_API is used to handle buffers and context parameters. The package contains methods to create and manipulate buffers and PLSQL subtypes used to declare the method parameters. The package also contains methods to create and retrieve context parameters.

NOTE: This package is private and must only be used internally by the Plsql Access Provider.

Data Types and Constants

Type ListSubtype  list

Methods

Procedure Add_Blob_ItemAdd a simple item to a buffer.
Procedure Add_Clob_ItemAdd a simple item to a buffer.
Procedure Add_Compound_ItemAdd a compound item (buffer) to a buffer.
Procedure Add_ItemAdd a simple item to a buffer.
Procedure Clear_BufferRemoves a buffer and releases the memory occupied by the buffer.
Function Count_ItemsReturns the number of items in a buffer.
Procedure DebugPrints a buffer.
Function Get_Blob_ValueReturns the value of an item as BLOB.
Function Get_BufferReturns a buffer from a compound item.
Function Get_Clob_ValueReturns the value of an item as CLOB.
Function Get_Context_ParameterReturns a named context parameter value.
Function Get_Item_By_NameReturns a named item from a buffer.
Function Get_Item_By_PositionReturns the item at a given position in a buffer.
Function Get_Item_PositionReturns the position of a named item in a buffer.
Function Get_NameReturns the name of an item.
Function Get_StatusReturns the status of an item.
Function Get_TypeReturns the type of an item.
Function Get_Type_NameReturns the name of a type.
Function Get_ValueReturns the value of an item.
Function Is_CompoundReturns TRUE if an item is a compound item otherwise returns FALSE.
Function New_BufferCreate a new buffer.
Procedure Remove_Context_ParameterRemove a context parameter.
Procedure Set_Blob_ItemSets or changes the attributes of a simple item in a buffer.
Procedure Set_Blob_Item_ValueSets or changes the value of a simple item in a buffer.
Procedure Set_Clob_ItemSets or changes the attributes of a simple item in a buffer.
Procedure Set_Clob_Item_ValueSets or changes the value of a simple item in a buffer.
Procedure Set_Context_ParameterSets a named context parameter value.
Procedure Set_ItemSets or changes the attributes of a simple item in a buffer.
Procedure Set_Item_StatusSets or changes the status of a simple item in a buffer.
Procedure Set_Item_TypSets or changes the type of a simple item in a buffer.
Procedure Set_Item_ValueSets or changes the value of a simple item in a buffer.
Function To_XmlConvert buffer to VARCHAR2 containing an XML document.
Procedure To_XmlConvert buffer to CLOB containing an XML document.