This appendix presents reference information about the init( ) methods for these four Oracle Multimedia object types:
ORDAudio
ORDDoc
ORDImage
ORDVideo
In this appendix, references to ORDxxx objects represent these four Oracle Multimedia object types.
Note:
In Oracle Database 11g Release 2 (11.2), Oracle introduces new constructor functions to construct ORDxxx objects from BLOBs and other sources. The init( ) methods will continue to be available in Oracle Database 11g Release 2. However, Oracle recommends writing new applications to use the new constructor functions. Oracle also recommends migrating existing applications from the init( ) methods to the new constructor functions at your earliest convenience.See Chapter 3, Chapter 4, Chapter 5, and Chapter 6 for information about the new constructor functions for ORDxxx objects.
This appendix describes these methods:
init( ) RETURN ORDAudio;
Initializes instances of the ORDAudio object type.
None.
None.
None.
This constructor is a static method that initializes all the ORDAudio attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 1 (local)
source.localData is set to empty_blob
None.
init( ) RETURN ORDDoc;
Initializes instances of the ORDDoc object type.
None.
None.
None.
This constructor is a static method that initializes all the ORDDoc attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 1 (local)
source.localData is set to empty_blob
None.
init( ) RETURN ORDImage;
Initializes instances of the ORDImage object type.
None.
None.
None.
This constructor is a static method that initializes all the ORDImage attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 1 (local)
source.localData is set to empty_blob
None.
init( ) RETURN ORDVideo;
Initializes instances of the ORDVideo object type.
None.
None.
None.
This constructor is a static method that initializes all the ORDVideo attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 1 (local)
source.localData is set to empty_blob
None.
init(srcType IN VARCHAR2,
srcLocation IN VARCHAR2,
srcName IN VARCHAR2)
RETURN ORDAudio;
Initializes instances of the ORDAudio object type.
The source type of the audio data. (See Table 2-1.)
The source location of the audio data. (See Table 2-2.)
The source name of the audio data. (See Table 2-3.)
None.
None.
This constructor is a static method that initializes all the ORDAudio attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 0
source.localData is set to empty_blob
source.srcType is set to the input value
source.srcLocation is set to the input value
source.srcName is set to the input value
None.
init(srcType IN VARCHAR2,
srcLocation IN VARCHAR2,
srcName IN VARCHAR2)
RETURN ORDDoc;
Initializes instances of the ORDDoc object type.
The source type of the media data. (See Table 2-1.)
The source location of the media data. (See Table 2-2.)
The source name of the media data. (See Table 2-3.)
None.
None.
This constructor is a static method that initializes all the ORDDoc attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 0
source.localData is set to empty_blob
source.srcType is set to the input value
source.srcLocation is set to the input value
source.srcName is set to the input value
None.
init(srcType IN VARCHAR2,
srcLocation IN VARCHAR2,
srcName IN VARCHAR2)
RETURN ORDImage;
Initializes instances of the ORDImage object type.
The source type of the image data. (See Table 2-1.)
The source location of the image data. (See Table 2-2.)
The source name of the image data. (See Table 2-3.)
None.
None.
This constructor is a static method that initializes all the ORDImage attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 0
source.localData is set to empty_blob
source.srcType is set to the input value
source.srcLocation is set to the input value
source.srcName is set to the input value
None.
init(srcType IN VARCHAR2,
srcLocation IN VARCHAR2,
srcName IN VARCHAR2)
RETURN ORDVideo;
Initializes instances of the ORDVideo object type.
The source type of the video data. (See Table 2-1.)
The source location of the video data. (See Table 2-2.)
The source name of the video data. (See Table 2-3.)
None.
None.
This constructor is a static method that initializes all the ORDVideo attributes to NULL with these exceptions:
source.updateTime is set to SYSDATE
source.local is set to 0
source.localData is set to empty_blob
source.srcType is set to the input value
source.srcLocation is set to the input value
source.srcName is set to the input value
None.