| Trees | Index | Help |
|
|---|
| Module vtab_media :: Class Media |
|
object--+ |ModuleBase--+ | Media
| Method Summary | |
|---|---|
| |
Provide information on how to best access this table. | |
Find the value for the N-th column of the current row. | |
Determines if the current cursor points to a valid row. | |
filenamefromid(self,
id)
| |
Begin a search of a virtual table. | |
Return the next row ID from a file called rowid | |
idfromfilename(self,
filename)
| |
incrementrowid(self)
| |
Move the cursor to the next row. | |
Return the rowid of the current row. | |
saverowid(self,
id)
| |
Change the row of the current rowid with the new rowid and new values | |
Delete row rowid | |
Insert a new row of data into the table | |
| Inherited from ModuleBase | |
| |
Close a cursor previously created by Open By default, do nothing | |
| |
Connect to an existing virtual table, by default it is identical to Create | |
Called when the virtual table is created. | |
Release a connection to a virtual table and destroy the underlying table implementation. | |
Release a connection to a virtual table. | |
Create/prepare a cursor used for subsequent reading. | |
| |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Method Details |
|---|
__init__(self,
pathname)
|
BestIndex(self, constraints, orderby)
Provide information on how to best access this table.
Must be overriden by subclass.
@params constraints: a tuple of (column #, op) defining a constraints
@params orderby: a tuple of (column #, desc) defining the order by
@returns a tuple of up to 5 values:
0: aConstraingUsage: a tuple of the same size as constraints.
Each item is either None, argv index(int), or (argv index, omit(Bool)).
1: idxNum(int)
2: idxStr(string)
3: orderByConsumed(Bool)
4: estimatedCost(float)
Todo: store the constraints for subsequent evaluation, and tell
sqlite to pass the constraints parameters to Filter.
|
Column(self, N)Find the value for the N-th column of the current row.
|
Eof(self)Determines if the current cursor points to a valid row.
|
Filter(self, idxNum, idxStr, argv)Begin a search of a virtual table.
|
getnextrowid(self)Return the next row ID from a file called rowid |
Next(self)Move the cursor to the next row.
|
Rowid(self)Return the rowid of the current row.
|
UpdateChangeRow(self, rowid, newrowid, fields)Change the row of the current rowid with the new rowid and new values
|
UpdateDeleteRow(self, rowid)Delete row rowid
|
UpdateInsertRow(self, rowid, fields)Insert a new row of data into the table
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Aug 15 18:58:27 2008 | http://epydoc.sf.net |