com.ziclix.python.sql
Class PyExtendedCursor

java.lang.Object
  |
  +--org.python.core.PyObject
        |
        +--com.ziclix.python.sql.PyCursor
              |
              +--com.ziclix.python.sql.PyExtendedCursor
All Implemented Interfaces:
org.python.core.InitModule, java.io.Serializable

public class PyExtendedCursor
extends PyCursor

A cursor with extensions to the DB API 2.0.

Version:
$Revision: 1.3 $
Author:
brian zimmer, last revised by $Author: bzimmer $
See Also:
Serialized Form

Field Summary
static org.python.core.PyClass __class__
           
protected static org.python.core.PyList __members__
           
protected static org.python.core.PyList __methods__
           
 
Fields inherited from class com.ziclix.python.sql.PyCursor
arraysize, cache, connection, counter, datahandler, description, results, rowcount
 
Constructor Summary
PyExtendedCursor()
           
 
Method Summary
 void columns(org.python.core.PyObject qualifier, org.python.core.PyObject owner, org.python.core.PyObject table, org.python.core.PyObject column)
          $METHOD_DESCRIPTION$
 void foreignkeys(org.python.core.PyObject primaryQualifier, org.python.core.PyObject primaryOwner, org.python.core.PyObject primaryTable, org.python.core.PyObject foreignQualifier, org.python.core.PyObject foreignOwner, org.python.core.PyObject foreignTable)
          Gets a description of the foreign key columns in the foreign key table that reference the primary key columns of the primary key table (describe how one table imports another's key.) This should normally return a single foreign key/primary key pair (most tables only import a foreign key from a table once.) They are ordered by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, and KEY_SEQ.
protected  org.python.core.PyClass getPyClass()
          $METHOD_DESCRIPTION$
 void initModule(org.python.core.PyObject dict)
          $METHOD_DESCRIPTION$
 void primarykeys(org.python.core.PyObject qualifier, org.python.core.PyObject owner, org.python.core.PyObject table)
          Gets a description of a table's primary key columns.
 void procedurecolumns(org.python.core.PyObject qualifier, org.python.core.PyObject owner, org.python.core.PyObject procedure, org.python.core.PyObject column)
          $METHOD_DESCRIPTION$
 void procedures(org.python.core.PyObject qualifier, org.python.core.PyObject owner, org.python.core.PyObject procedure)
          $METHOD_DESCRIPTION$
 void statistics(org.python.core.PyObject qualifier, org.python.core.PyObject owner, org.python.core.PyObject table, org.python.core.PyObject unique, org.python.core.PyObject accuracy)
          Gets a description of a table's indices and statistics.
 void tables(org.python.core.PyObject qualifier, org.python.core.PyObject owner, org.python.core.PyObject table, org.python.core.PyObject type)
          Only table descriptions matching the catalog, schema, table name and type criteria are returned.
 java.lang.String toString()
          String representation of the object.
 
Methods inherited from class com.ziclix.python.sql.PyCursor
__del__, __findattr__, __setattr__, callableStatement, callproc, clear, close, create, createDescription, createResults, execute, executemany, fetchall, fetchmany, fetchone, nextset, prepareStatement, statement
 
Methods inherited from class org.python.core.PyObject
__abs__, __add__, __and__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __call__, __cmp__, __coerce__, __coerce_ex__, __complex__, __contains__, __delattr__, __delattr__, __delitem__, __delitem__, __delslice__, __delslice__, __dir__, __div__, __divmod__, __findattr__, __finditem__, __finditem__, __finditem__, __float__, __getattr__, __getattr__, __getitem__, __getitem__, __getslice__, __getslice__, __hash__, __hex__, __int__, __invert__, __len__, __long__, __lshift__, __mod__, __mul__, __neg__, __nonzero__, __not__, __oct__, __or__, __pos__, __pow__, __pow__, __radd__, __rand__, __rdiv__, __rdivmod__, __repr__, __rlshift__, __rmod__, __rmul__, __ror__, __rpow__, __rrshift__, __rshift__, __rsub__, __rxor__, __setattr__, __setitem__, __setitem__, __setitem__, __setslice__, __setslice__, __str__, __sub__, __tojava__, __xor__, _add, _and, _callextra, _cmp, _div, _divmod, _dodel, _doget, _doget, _doset, _eq, _ge, _gt, _in, _is, _isnot, _jcall, _jcallexc, _jthrow, _le, _lshift, _lt, _mod, _mul, _ne, _notin, _or, _pow, _rshift, _sub, _xor, addKeys, equals, hashCode, invoke, invoke, invoke, invoke, invoke, isCallable, isMappingType, isNumberType, isSequenceType, safeRepr
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

__class__

public static org.python.core.PyClass __class__

__methods__

protected static org.python.core.PyList __methods__

__members__

protected static org.python.core.PyList __members__
Constructor Detail

PyExtendedCursor

public PyExtendedCursor()
Method Detail

getPyClass

protected org.python.core.PyClass getPyClass()
$METHOD_DESCRIPTION$
Overrides:
getPyClass in class PyCursor
Returns:
 

toString

public java.lang.String toString()
String representation of the object.
Overrides:
toString in class PyCursor
Returns:
a string representation of the object.

initModule

public void initModule(org.python.core.PyObject dict)
$METHOD_DESCRIPTION$
Overrides:
initModule in class PyCursor
Parameters:
dict -  

tables

public void tables(org.python.core.PyObject qualifier,
                   org.python.core.PyObject owner,
                   org.python.core.PyObject table,
                   org.python.core.PyObject type)
Only table descriptions matching the catalog, schema, table name and type criteria are returned. They are ordered by TABLE_TYPE, TABLE_SCHEM and TABLE_NAME.
Parameters:
qualifier -  
owner -  
table -  
type -  

columns

public void columns(org.python.core.PyObject qualifier,
                    org.python.core.PyObject owner,
                    org.python.core.PyObject table,
                    org.python.core.PyObject column)
$METHOD_DESCRIPTION$
Parameters:
qualifier -  
owner -  
table -  
column -  

procedures

public void procedures(org.python.core.PyObject qualifier,
                       org.python.core.PyObject owner,
                       org.python.core.PyObject procedure)
$METHOD_DESCRIPTION$
Parameters:
qualifier -  
owner -  
procedure -  

procedurecolumns

public void procedurecolumns(org.python.core.PyObject qualifier,
                             org.python.core.PyObject owner,
                             org.python.core.PyObject procedure,
                             org.python.core.PyObject column)
$METHOD_DESCRIPTION$
Parameters:
qualifier -  
owner -  
procedure -  
column -  

primarykeys

public void primarykeys(org.python.core.PyObject qualifier,
                        org.python.core.PyObject owner,
                        org.python.core.PyObject table)
Gets a description of a table's primary key columns. They are ordered by COLUMN_NAME.
Parameters:
qualifier - a schema name
owner - an owner name
table - a table name

foreignkeys

public void foreignkeys(org.python.core.PyObject primaryQualifier,
                        org.python.core.PyObject primaryOwner,
                        org.python.core.PyObject primaryTable,
                        org.python.core.PyObject foreignQualifier,
                        org.python.core.PyObject foreignOwner,
                        org.python.core.PyObject foreignTable)
Gets a description of the foreign key columns in the foreign key table that reference the primary key columns of the primary key table (describe how one table imports another's key.) This should normally return a single foreign key/primary key pair (most tables only import a foreign key from a table once.) They are ordered by FKTABLE_CAT, FKTABLE_SCHEM, FKTABLE_NAME, and KEY_SEQ.
Parameters:
primaryQualifier -  
primaryOwner -  
primaryTable -  
foreignQualifier -  
foreignOwner -  
foreignTable -  

statistics

public void statistics(org.python.core.PyObject qualifier,
                       org.python.core.PyObject owner,
                       org.python.core.PyObject table,
                       org.python.core.PyObject unique,
                       org.python.core.PyObject accuracy)
Gets a description of a table's indices and statistics. They are ordered by NON_UNIQUE, TYPE, INDEX_NAME, and ORDINAL_POSITION.
Parameters:
qualifier -  
owner -  
table -  
unique -  
accuracy -  


Copyright (c) 2000 brian zimmer. All Rights Reserved.