Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The table of committed containment relationships. Accessible to all requests.

FieldTypeConstraintsDescription
fedora_idvarchar(503)NOT NULL, PRIMARY KEY
the
The internal ID of the resource
parentvarchar(503)NOT NULL
the
The internal ID of the containing resource
start_timedatetimeNOT NULL
the
The datetime when the resource was created
end_timedatetime
the

The datetime when the resource was deleted (but still has a tombstone)
updateddatetime
the

The datetime when any contained resources were updated (used for eTags)

containment_transactions

The table of relationships created in a transaction that have containment relationship operations that not been committed to the containment table yet. These are only accessible to the indicated transaction.

FieldTypeConstraintsDescription
fedora_idvarchar(503)NOT NULLThe internal ID of the resource
parentvarchar(503)NOT NULLThe internal ID of the containing resource
start_timedatetime
The datetime when the resource was created
end_timedatetime
The datetime when the resource was deleted (but still has a tombstone)
transaction_idvarchar(255)NOT NULLThe transaction id this record belongs to
operationvarchar(10)NOT NULLThe type of operation this is, one of 'add', 'delete' or 'purge'

...

Membership Index

The membership index contains relationships generated by ldp:DirectContainer and ldp:IndirectContainer resources.

...

The main table of membership relationships. Accessible to all requests.

FieldTypeConstraintsDescription

subject_id

varchar(503)NOT NULLThe internal ID of the resource initiating the relationship (ie. the subject)
propertyvarchar(503)NOT NULLThe predicate of the relationship
object_idvarchar(503)NOT NULLThe internal ID of the resource which is the target of the relationship (ie. the object)
source_idvarchar(503)NOT NULLThe internal ID of the direct or indirect container containing the resource that created the relationship.
proxy_idvarchar(503)NOT NULLThe internal ID of the resource that created the relationship. This is contained within the source_id
start_timedatetime
The datetime the relationship started.
end_timedatetime
The datetime the relationship ended.

membership_tx_operations

The table of membership relationships created but operations not yet committed to the the membership table. These are only accessible to the specified transaction.

FieldTypeConstraintsDescription

subject_id

varchar(503)NOT NULLThe internal ID of the resource initiating the relationship (ie. the subject)
propertyvarchar(503)NOT NULLThe predicate of the relationship
object_idvarchar(503)NOT NULLThe internal ID of the resource which is the target of the relationship (ie. the object)
source_idvarchar(503)NOT NULLThe internal ID of the direct or indirect container containing the resource that created the relationship.
proxy_idvarchar(503)NOT NULLThe internal ID of the resource that created the relationship. This is contained within the source_id
start_timedatetime
The datetime the relationship started.
end_timedatetime
The datetime the relationship ended.
last_updateddatetime
The datetime the relationship was last updated. (used for eTags)
tx_idvarchar(36)NOT NULLThe transaction id this record belongs to
operationvarchar(10)NOT NULLThe type of operation this is, one of 'add' or 'delete'
force_flagvarchar(10)
??

...

Inbound Reference Index

The inbound reference tables hold relationships between two resources in the repository, due to there being no single subject restriction it is possible for a 3rd resource to generate an inbound reference from a 1st resource to a 2nd resource. This relationship will persist even if the 2nd resource was deleted.

reference

The main source of inbound/outbound referenced information. Accessible to all requests.

FieldTypeConstraintsDescription
fedora_idvarchar(503)NOT NULLThe internal ID of the resource creating the relationship
subject_idvarchar(503)NOT NULLThe internal ID of the resource which is the subject of the relationship.
propertyvarchar(503)NOT NULLThe predicate of the relationship.
object_idvarchar(503)NOT NULLThe internal ID of the resource which is the object of the relationship.

reference_transaction_operations

The reference operations being performed in a transaction. Only accessible to the same transaction.

FieldTypeConstraintsDescription
fedora_idvarchar(503)NOT NULLThe internal ID of the resource creating the relationship
subject_idvarchar(503)NOT NULLThe internal ID of the resource which is the subject of the relationship.
propertyvarchar(503)NOT NULLThe predicate of the relationship.
object_idvarchar(503)NOT NULLThe internal ID of the resource which is the object of the relationship.
transaction_idvarchar(255)NOT NULLThe transaction ID this relationship operation is part of
operationvarchar(10)NOT NULLThe operation being performed. One of 'add' or 'delete'