sqlite3_io_methods class

Every file opened by the sqlite3_vfs.xOpen method populates an sqlite3_file object (or, more commonly, a subclass of the sqlite3_file object) with a pointer to an instance of this object.

This object defines the methods used to perform various operations against the open file represented by the sqlite3_file object. If the sqlite3_vfs.xOpen method sets the sqlite3_file.pMethods element to a non-NULL pointer, then the sqlite3_io_methods.xClose method may be invoked even if the sqlite3_vfs.xOpen reported that it failed. The only way to prevent a call to xClose following a failed sqlite3_vfs.xOpen is for the sqlite3_vfs.xOpen to set the sqlite3_file.pMethods element to NULL. The flags argument to xSync may be one of SQLITE_SYNC_NORMAL or SQLITE_SYNC_FULL. The first choice is the normal fsync(). The second choice is a Mac OS X style fullsync. The SQLITE_SYNC_DATAONLY flag may be ORed in to indicate that only the data of the file and not its inode needs to be synced. The integer values to xLock() and xUnlock() are one of

Inheritance
Implemented types
Available extensions

Constructors

sqlite3_io_methods()

Properties

hashCode int
The hash code for this object.
no setterinherited
iVersion int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xCheckReservedLock PtrDefxCheckReservedLock
getter/setter pair
xClose PtrDefxClose
getter/setter pair
xDeviceCharacteristics PtrDefxClose
getter/setter pair
xFetch PtrDefxFetch
getter/setter pair
xFileControl PtrDefxFileControl
getter/setter pair
xFileSize PtrDefxFileSize
getter/setter pair
xLock PtrDefxSync
getter/setter pair
xRead PtrDefxRead
getter/setter pair
xSectorSize PtrDefxClose
getter/setter pair
xShmBarrier PtrDefxShmBarrier
getter/setter pair
xShmLock PtrDefxShmLock
getter/setter pair
xShmMap PtrDefxShmMap
getter/setter pair
xShmUnmap PtrDefxSync
getter/setter pair
xSync PtrDefxSync
getter/setter pair
xTruncate PtrDefxTruncate
getter/setter pair
xUnfetch PtrDefxUnfetch
getter/setter pair
xUnlock PtrDefxSync
getter/setter pair
xWrite PtrDefxRead
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited