| Home | Trees | Index | Help |
|---|
| Package rdflib :: Package store :: Package FOPLRelationalModel :: Module BinaryRelationPartition :: Class AssociativeBox |
|
object --+
|
BinaryRelationPartition --+
|
AssociativeBox
| Method Summary | |
|---|---|
compileQuadToParams(self,
quadSlots)
| |
extractIdentifiers(self,
quadSlots)
| |
| Inherited from BinaryRelationPartition | |
| |
| |
Generates a CREATE TABLE statement which creates a SQL table used for persisting assertions associated with this partition | |
Adds the pending identifiers / values and assertions (using executemany for maximum efficiency), and resets the queue. | |
Generates foreign key expression relating a particular quad term with the identifier hash | |
Generates the SQL JOINS (INNER and LEFT) used to intersect the identifier and value hashes with this partition. | |
Takes a query pattern (a list of quad terms - subject,predicate,object,context) and generates a SQL WHERE clauses which works in conjunction to the intersections to filter the result set by partial matching (by REGEX), full matching (by integer half-hash), and term types. | |
| |
Takes a list of QuadSlot objects and queues the new identifiers / values to insert and the assertions as well (so they can be added in a batch for maximum efficiency) | |
Generates a SQL command with parameter references (%s) in order to facilitate efficient batch insertion of multiple assertions by Python DB implementations (such as MySQLdb) | |
Generates a list of column aliases for the SELECT SQL command used in order to fetch contexts from each partition | |
Returns a list of column aliases for the SELECT SQL command used to fetch quads from a partition | |
| 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.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
list |
columnIntersectionList = [(2, True), (3, True), (0, True...
|
list |
columnNames = ['member', None, 'class', 'context']
|
dict |
hardCodedResultFields = {1: u'http://www.w3.org/1999/02/...
|
dict |
hardCodedResultTermsTypes = {1: 'U'}
|
str |
nameSuffix = 'associativeBox'
|
list |
termEnumerations = [['U', 'B', 'F', 'V'], None, ['U', 'B...
|
| Inherited from BinaryRelationPartition | |
str |
assertedColumnName = 'asserted'
|
str |
indexSuffix = 'Index'
|
| Class Variable Details |
|---|
columnIntersectionList
|
columnNames
|
hardCodedResultFields
|
hardCodedResultTermsTypes
|
nameSuffix
|
termEnumerations
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Mon Oct 23 14:11:23 2006 | http://epydoc.sf.net |