Php/docs/class.OCI-Lob
(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)
简介
OCI8 LOB functionality for large binary (BLOB) and character (CLOB) objects.
Note:
The OCI-Lob class was renamed to OCILob in PHP 8 and PECL OCI8 3.0.0 to align with PHP naming standards.
类摘要
OCILob {
append
( OCILob $lob_from
) : bool
close ( ) : bool
eof ( ) : bool
erase
([ int $offset
[, int $length
]] ) : int|false
export
( string $filename
[, int $start
[, int $length
]] ) : bool
flush
([ int $flag
] ) : bool
free ( ) : bool
getBuffering ( ) : bool
import
( string $filename
) : bool
load ( ) : string
read
( int $length
) : string|false
rewind ( ) : bool
save
( string $data
[, int $offset
] ) : bool
seek
( int $offset
[, int $whence
= OCI_SEEK_SET
] ) : bool
setBuffering
( bool $on_off
) : bool
size ( ) : int|false
tell ( ) : int
Lob::truncate
([ int $length
= 0
] ) : bool
write
( string $data
[, int $length
] ) : int|false
writeTemporary
( string $data
[, int $lob_type
= OCI_TEMP_CLOB
] ) : bool
}
Table of Contents
- OCILob::append — Appends data from the large object to another large object
- OCILob::close — Closes LOB descriptor
- OCILob::eof — Tests for end-of-file on a large object's descriptor
- OCILob::erase — Erases a specified portion of the internal LOB data
- OCILob::export — Exports LOB's contents to a file
- OCILob::flush — Flushes/writes buffer of the LOB to the server
- OCILob::free — Frees resources associated with the LOB descriptor
- OCILob::getBuffering — Returns current state of buffering for the large object
- OCILob::import — Imports file data to the LOB
- OCILob::load — Returns large object's contents
- OCILob::read — Reads part of the large object
- OCILob::rewind — Moves the internal pointer to the beginning of the large object
- OCILob::save — Saves data to the large object
- OCILob::saveFile — 别名 OCILob::import
- OCILob::seek — Sets the internal pointer of the large object
- OCILob::setBuffering — Changes current state of buffering for the large object
- OCILob::size — Returns size of large object
- OCILob::tell — Returns the current position of internal pointer of large object
- OCILob::truncate — Truncates large object
- OCILob::write — Writes data to the large object
- OCILob::writeTemporary — Writes a temporary large object
- OCILob::writeToFile — 别名 OCILob::export
/* 方法 */