<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Rdf.Drivers.Psyco" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-7.1-RELEASE-i386-2.4/Ft/Rdf/Drivers/Psyco.py">
  <modification-date>2005-03-29 00:30:48</modification-date>
  <abstract>A persistent RDF model driver using the PsycoPG adapter for PostgreSQL</abstract>
  <description>See http://initd.org/projects/psycopg1

Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/</description>
  <classes>
    <class name="DbAdapter" public="yes">
      <bases>
      </bases>
      <abstract/>
      <description/>
      <method-resolution-order>
        <base name="DbAdapter" module="Ft.Rdf.Drivers.Psyco"/>
      </method-resolution-order>
      <methods documented="yes" class="DbAdapter" module="Ft.Rdf.Drivers.Psyco" inherited="no">
        <method public="no" name="__init__" id="DbAdapter-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="connString"/>
            <arg default="'default'" name="modelName"/>
            <arg default="None" name="db"/>
          </arguments>
        </method>
        <method public="yes" name="add" id="DbAdapter-add">
          <abstract>####### Legacy API #######</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="statements"/>
          </arguments>
        </method>
        <method public="yes" name="begin" id="DbAdapter-begin">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="commit" id="DbAdapter-commit">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="complete" id="DbAdapter-complete">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicate"/>
            <arg name="object"/>
            <arg name="statementUri"/>
            <arg name="domain"/>
            <arg name="flags"/>
          </arguments>
        </method>
        <method public="yes" name="contains" id="DbAdapter-contains">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicate"/>
            <arg name="object"/>
            <arg name="statementUri"/>
            <arg name="domain"/>
            <arg name="flags"/>
          </arguments>
        </method>
        <method public="yes" name="isResource" id="DbAdapter-isResource">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="res"/>
          </arguments>
        </method>
        <method public="yes" name="objectsFromSubAndPreds" id="DbAdapter-objectsFromSubAndPreds">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicates"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="remove" id="DbAdapter-remove">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="statements"/>
          </arguments>
        </method>
        <method public="yes" name="removePattern" id="DbAdapter-removePattern">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicate"/>
            <arg name="object"/>
            <arg name="statementUri"/>
            <arg name="domain"/>
            <arg name="flags"/>
          </arguments>
        </method>
        <method public="yes" name="resources" id="DbAdapter-resources">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="rollback" id="DbAdapter-rollback">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
          </arguments>
        </method>
        <method public="yes" name="size" id="DbAdapter-size">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg default="None" name="domain"/>
          </arguments>
        </method>
        <method public="yes" name="subjectsFromPredAndObjs" id="DbAdapter-subjectsFromPredAndObjs">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="predicate"/>
            <arg name="objects"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="subjectsFromPredsAndObj" id="DbAdapter-subjectsFromPredsAndObj">
          <abstract>####### Versa API #######</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="predicates"/>
            <arg name="object"/>
            <arg default="None" name="scope"/>
          </arguments>
        </method>
      </methods>
    </class>
  </classes>
  <functions>
    <function public="yes" name="ConnectStringToDict" id="ConnectStringToDict">
      <abstract/>
      <description/>
      <arguments>
        <arg name="connStr"/>
      </arguments>
    </function>
    <function public="yes" name="CreateDb" id="CreateDb">
      <abstract/>
      <description/>
      <arguments>
        <arg name="connString"/>
        <arg default="'default'" name="modelName"/>
      </arguments>
    </function>
    <function public="yes" name="DestroyDb" id="DestroyDb">
      <abstract/>
      <description/>
      <arguments>
        <arg name="connString"/>
        <arg default="'default'" name="modelName"/>
      </arguments>
    </function>
    <function public="yes" name="ExistsDb" id="ExistsDb">
      <abstract/>
      <description/>
      <arguments>
        <arg name="connString"/>
        <arg default="'default'" name="modelName"/>
      </arguments>
    </function>
    <function public="yes" name="GetDb" id="GetDb">
      <abstract/>
      <description/>
      <arguments>
        <arg name="connStr"/>
        <arg default="'default'" name="modelName"/>
      </arguments>
    </function>
    <function public="yes" name="InitializeModule" id="InitializeModule">
      <abstract>Post-import hook to initialize module's runtime variables that are not
required at import time, but will be needed before the module-level
functions are called.</abstract>
      <description/>
      <arguments>
      </arguments>
    </function>
    <function public="yes" name="MapObjectType" id="MapObjectType">
      <abstract/>
      <description/>
      <arguments>
        <arg name="ot"/>
      </arguments>
    </function>
    <function public="yes" name="ProcessFlags" id="ProcessFlags">
      <abstract>flags is a dict.  keys are subjectFlags, predicateFlags, objectFlags,
statementUriFlags and domainFlags
values are Model.NORMAL, Model.IGNORE_CASE and Model.REGEX</abstract>
      <description/>
      <arguments>
        <arg name="flags"/>
      </arguments>
    </function>
    <function public="yes" name="SplitUri" id="SplitUri">
      <abstract/>
      <description/>
      <arguments>
        <arg name="uri"/>
      </arguments>
    </function>
    <function public="yes" name="dec_utf8" realname="lambda" id="dec_utf8">
      <abstract/>
      <description/>
      <arguments>
        <arg name="x"/>
      </arguments>
    </function>
  </functions>
  <fields>
    <field public="yes" name="CREATE_DDL" id="CREATE_DDL">
      <value>'CREATE TABLE %(model)sUriHead (\nID  integer prim...AclIdent (Name);\nCOMMIT; VACUUM ANALYZE; BEGIN;\n\n'</value>
    </field>
    <field public="yes" name="CREATE_FUNCS" id="CREATE_FUNCS">
      <value>&quot;CREATE FUNCTION %(model)s_rlookup_func (int4)\n  ... WHERE STR.id = $2 OR R.id = $2;'\nLANGUAGE 'sql'\n&quot;</value>
    </field>
    <field public="yes" name="DESTROY_DDL" id="DESTROY_DDL">
      <value>'DROP TABLE %(model)sUriHead;\nDROP TABLE %(model)...gLiteralIDX;\n--DROP INDEX %(model)sACLIdentName;\n'</value>
    </field>
    <field public="yes" name="FLAG_DICT" id="FLAG_DICT">
      <value>{0: '=', 2: '~', 3: '~*'}</value>
    </field>
    <field public="yes" name="HTTPPLUS_PATTERN" id="HTTPPLUS_PATTERN">
      <abstract>Compiled regular expression objects</abstract>
      <description/>
      <value>&lt;_sre.SRE_Pattern object&gt;</value>
    </field>
    <field public="yes" name="MAILTO_PATTERN" id="MAILTO_PATTERN">
      <abstract>Compiled regular expression objects</abstract>
      <description/>
      <value>&lt;_sre.SRE_Pattern object&gt;</value>
    </field>
    <field public="yes" name="OBJECT_TYPE_LITERAL" id="OBJECT_TYPE_LITERAL">
      <value>'L'</value>
    </field>
    <field public="yes" name="OBJECT_TYPE_RESOURCE" id="OBJECT_TYPE_RESOURCE">
      <value>'R'</value>
    </field>
    <field public="yes" name="OBJECT_TYPE_UNKNOWN" id="OBJECT_TYPE_UNKNOWN">
      <value>'?'</value>
    </field>
    <field public="yes" name="QUICK_TEST" id="QUICK_TEST">
      <value>&quot;RDF_FILE = 'w3c1.rdf'\nfrom Ft.Rdf.Drivers import...Map=NSMAP)\nprint r\nprint Util.VersaDataToXml(r)\n\n&quot;</value>
    </field>
    <field public="yes" name="RDF_MS_BASE" id="RDF_MS_BASE">
      <value>'http://www.w3.org/1999/02/22-rdf-syntax-ns#'</value>
    </field>
    <field public="yes" name="UUID_PATTERN" id="UUID_PATTERN">
      <abstract>Compiled regular expression objects</abstract>
      <description/>
      <value>&lt;_sre.SRE_Pattern object&gt;</value>
    </field>
  </fields>
</module>
