Ft.Rdf.Drivers.Memory

Modules

Model  re     

Classes

class DbAdapter
__init__(self, name, modelName='default')
add(self, statements)
begin(self)
bind(self, object, name, scope)
commit(self)
complete(self, subject, predicate, object, statementUri, scope, flags)
contains(self, subject, predicate, object, statementUri, scope, flags)
has_key(self, name, scope)
isResource(self, res)
keys(self, scope)
lookup(self, name, scope)
objectsFromSubAndPreds(self, subject, predicates, scope)
properties(self, scope)
remove(self, statements)
removePattern(self, subject, predicate, object, statementUri, scope, flags)
resources(self, scope)
rollback(self)
size(self, scope)
subjectsFromPredAndObjs(self, predicate, objects, scope)
subjectsFromPredsAndObj(self, predicates, object, scope)
unbind(self, name, scope)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Rdf.Drivers.Memory'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class PROPERTIES

Data and other non-method functions defined here:

OBJECT_TYPE_SUPPORTED = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Rdf.Drivers'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class RdfException(exceptions.Exception)
__init__(self, errorCode, *args)

Data and other non-method functions defined here:

ABOUT_EACH_OBJECT_NOT_CONTAINER = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
FEATURE_NOT_SUPPORTED = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INTERNAL_ERROR = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_ARGUMENT = 5
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_CONTAINER_TYPE = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_FLAG = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_REGEX_STATEMENT = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
MISSING_DRIVER = 200
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Rdf'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class Statement(Ft.Rdf.Resource.Resource)
__cmp__(self, other)
__init__(self, subject, predicate, object, statementUri='', scope='', objectType='?')
__repr__(self)
reify(self, model, uri=None)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Rdf.Statement'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

CreateDb(dbName, modelName='default')
DestroyDb(dbName, modelName='default')
ExistsDb(dbName, modelName='default')
ForceUnicode(*args)
GetDb = CreateDb(dbName, modelName='default')
_regexCompile(cmd)
_regexICCompile(cmd)

Data

OBJECT_TYPE_RESOURCE = 'R'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
OBJECT_TYPE_UNKNOWN = '?'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Rdf/Drivers/Memory.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Rdf.Drivers.Memory'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
bits = 31
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
body = 'f[0](s[0]) and f[1](s[1]) and f[2](s[2]) and f[3](s[3]) and f[4](s[4])'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
g_completes = {(0, 0, 0, 0, 0): <function <lambda>>, (0, 0, 0, 0, 1): <function <lambda>>, (0, 0, 0, 1, 0): <function <lambda>>, (0, 0, 0, 1, 1): <function <lambda>>, (0, 0, 1, 0, 0): <function <lambda>>, (0, 0, 1, 0, 1): <function <lambda>>, (0, 0, 1, 1, 0): <function <lambda>>, (0, 0, 1, 1, 1): <function <lambda>>, (0, 1, 0, 0, 0): <function <lambda>>, (0, 1, 0, 0, 1): <function <lambda>>, ...}
g_contains = {(0, 0, 0, 0, 0): <function <lambda>>, (0, 0, 0, 0, 1): <function <lambda>>, (0, 0, 0, 1, 0): <function <lambda>>, (0, 0, 0, 1, 1): <function <lambda>>, (0, 0, 1, 0, 0): <function <lambda>>, (0, 0, 1, 0, 1): <function <lambda>>, (0, 0, 1, 1, 0): <function <lambda>>, (0, 0, 1, 1, 1): <function <lambda>>, (0, 1, 0, 0, 0): <function <lambda>>, (0, 1, 0, 0, 1): <function <lambda>>, ...}
g_operators = {None: <function <lambda>>, 0: <function <lambda>>, 1: <function <lambda>>, 2: <function _regexCompile>, 3: <function _regexICCompile>}
g_removes = {(0, 0, 0, 0, 0): <function <lambda>>, (0, 0, 0, 0, 1): <function <lambda>>, (0, 0, 0, 1, 0): <function <lambda>>, (0, 0, 0, 1, 1): <function <lambda>>, (0, 0, 1, 0, 0): <function <lambda>>, (0, 0, 1, 0, 1): <function <lambda>>, (0, 0, 1, 1, 0): <function <lambda>>, (0, 0, 1, 1, 1): <function <lambda>>, (0, 1, 0, 0, 0): <function <lambda>>, (0, 1, 0, 0, 1): <function <lambda>>, ...}
key = (1, 1, 1, 1, 1)
tuple() -> an empty tuple tuple(sequence) -> tuple initialized from sequence's items

If the argument is a tuple, the return value is the same object.
parts = ['f[0](s[0])', 'f[1](s[1])', 'f[2](s[2])', 'f[3](s[3])', 'f[4](s[4])']