7.19. ODPI-C Structure dpiObjectTypeInfo
This structure is used for passing information about an object type from ODPI-C.
It is used by the function dpiObjectType_getInfo()
.
-
const char *dpiObjectTypeInfo.schema
Specifies the schema which owns the object type, as a byte string in the encoding used for CHAR data.
-
uint32_t dpiObjectTypeInfo.schemaLength
Specifies the length of the
dpiObjectTypeInfo.schema
member, in bytes.
-
const char *dpiObjectTypeInfo.name
Specifies the name of the object type, as a byte string in the encoding used for CHAR data.
-
uint32_t dpiObjectTypeInfo.nameLength
Specifies the length of the
dpiObjectTypeInfo.name
member, in bytes.
-
int dpiObjectTypeInfo.isCollection
Specifies if the object type is a collection (1) or not (0).
-
dpiDataTypeInfo dpiObjectTypeInfo.elementTypeInfo
Specifies the type of data of the elements in the collection. It is a structure of type dpiDataTypeInfo which is only valid if the object type is a collection.
-
uint16_t dpiObjectTypeInfo.numAttributes
Specifies the number of attributes that the object type has.
-
const char *dpiObjectTypeInfo.packageName
Specifies the name of the name of the package for a PL/SQL type, as a byte string in the encoding used for CHAR data. If the type is not a PL/SQL type, this value is NULL.
-
uint32_t dpiObjectTypeInfo.packageNameLength
Specifies the length of the
dpiObjectTypeInfo.packageName
member, in bytes.