<?xml version="1.0" encoding="iso-8859-1"?>
<module name="Ft.Rdf.Drivers.BerkeleyDB" file="/work/a/ports/textproc/py-4suite/work/4Suite-1.0b1/build/lib.freebsd-8.0-RELEASE-p2-i386-2.4/Ft/Rdf/Drivers/BerkeleyDB.py">
  <modification-date>2005-04-06 22:00:57</modification-date>
  <abstract>A persistent RDF model driver using Berkeley (BSD) database files</abstract>
  <description>This driver implements 4RDF in the same structural format as SQL.py,
but applies this interface on top of the embedded Berkeley DB.

Requires pybsddb (http://pybsddb.sourceforge.net/bsddb3.html), which is
the standard bsddb module in Python 2.3 and up. However, even if you are
using Python 2.3 up, it is possible that you won't have a functioning
bsddb at all, or it may be wrapping the db185 Berkeley DB C libraries.

If necessary, update your C libs (db4+ preferred for compatibility with
Berkeley DB XML). And if possible, upgrade or install pybsddb (this is
mandatory on Python 2.2, if you want this driver to work).

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.BerkeleyDB"/>
      </method-resolution-order>
      <methods documented="yes" class="DbAdapter" module="Ft.Rdf.Drivers.BerkeleyDB" inherited="no">
        <method public="no" name="__init__" id="DbAdapter-__init__">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="modelName"/>
            <arg default="None" name="db"/>
          </arguments>
        </method>
        <method public="yes" name="add" id="DbAdapter-add">
          <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="bind" id="DbAdapter-bind">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="object_"/>
            <arg name="name"/>
            <arg name="scope"/>
          </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="scope"/>
            <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="scope"/>
            <arg name="flags"/>
          </arguments>
        </method>
        <method public="yes" name="has_key" id="DbAdapter-has_key">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="scope"/>
          </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="keys" id="DbAdapter-keys">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="lookup" id="DbAdapter-lookup">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="objectsFromSubAndPreds" id="DbAdapter-objectsFromSubAndPreds">
          <abstract>Get a list of obejcts with the given predicates and subject</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subject"/>
            <arg name="predicates"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="objectsFromSubsAndPred" id="DbAdapter-objectsFromSubsAndPred">
          <abstract>Get a list of obejcts with the given predicate and subjects</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subjects"/>
            <arg name="predicate"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="objectsFromSubsAndPredNonDistinct" id="DbAdapter-objectsFromSubsAndPredNonDistinct">
          <abstract>Get a list of *non-distinct* objects with the given predicate and subjects</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="subjects"/>
            <arg name="predicate"/>
            <arg 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="scope"/>
            <arg name="flags"/>
          </arguments>
        </method>
        <method public="yes" name="resources" id="DbAdapter-resources">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="scope"/>
          </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 name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="subjectsFromPredAndObjs" id="DbAdapter-subjectsFromPredAndObjs">
          <abstract>Get a list of resources with the given predicate and object</abstract>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="predicate"/>
            <arg name="objects"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="subjectsFromPredsAndObj" id="DbAdapter-subjectsFromPredsAndObj">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="predicates"/>
            <arg name="object_"/>
            <arg name="scope"/>
          </arguments>
        </method>
        <method public="yes" name="unbind" id="DbAdapter-unbind">
          <abstract/>
          <description/>
          <arguments>
            <arg name="self"/>
            <arg name="name"/>
            <arg name="scope"/>
          </arguments>
        </method>
      </methods>
    </class>
  </classes>
  <functions>
    <function public="yes" name="CreateDb" id="CreateDb">
      <abstract/>
      <description/>
      <arguments>
        <arg default="'default'" name="modelName"/>
      </arguments>
    </function>
    <function public="yes" name="DestroyDb" id="DestroyDb">
      <abstract/>
      <description/>
      <arguments>
        <arg default="'default'" name="modelName"/>
      </arguments>
    </function>
    <function public="yes" name="ExistsDb" id="ExistsDb">
      <abstract/>
      <description/>
      <arguments>
        <arg default="'default'" name="modelName"/>
      </arguments>
    </function>
    <function public="yes" name="GetDb" id="GetDb">
      <abstract/>
      <description/>
      <arguments>
        <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="addStatementPartCondition" id="addStatementPartCondition">
      <abstract/>
      <description/>
      <arguments>
        <arg name="conditions"/>
        <arg name="stmtPart"/>
        <arg name="value"/>
        <arg default="None" name="flags"/>
      </arguments>
    </function>
  </functions>
  <fields>
    <field public="yes" name="OBJECT_TYPE_UNKNOWN" id="OBJECT_TYPE_UNKNOWN">
      <value>'?'</value>
    </field>
    <field public="yes" name="STATEMENTS_TABLE_NAME" id="STATEMENTS_TABLE_NAME">
      <value>'ftrdf_statements'</value>
    </field>
    <field public="yes" name="STATEMENT_PARTS" id="STATEMENT_PARTS">
      <value>['subject', 'predicate', 'object', 'statementUri', 'scope', 'otype']</value>
    </field>
    <field public="yes" name="VERSION" id="VERSION">
      <value>'0.1'</value>
    </field>
  </fields>
</module>
