|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MemResource
A MemoryStore-specific extension of Resource giving it subject statements.
| Field Summary |
|---|
| Fields inherited from interface org.openrdf.sail.memory.model.MemValue |
|---|
EMPTY_LIST |
| Method Summary | |
|---|---|
void |
addContextStatement(MemStatement st)
Adds a statement to this MemResource's list of statements for which it represents the context. |
void |
addSubjectStatement(MemStatement st)
Adds a statement to this MemResource's list of statements for which it is the subject. |
void |
cleanSnapshotsFromContextStatements(int currentSnapshot)
Removes statements from old snapshots (those that have expired at or before the specified snapshot version) from this MemValue's list of statements for which it is the context. |
void |
cleanSnapshotsFromSubjectStatements(int currentSnapshot)
Removes statements from old snapshots (those that have expired at or before the specified snapshot version) from this MemValue's list of statements for which it is the subject. |
int |
getContextStatementCount()
Gets the number of statements for which this MemResource represents the context. |
MemStatementList |
getContextStatementList()
Gets the list of statements for which this MemResource represents the context. |
int |
getSubjectStatementCount()
Gets the number of statements for which this MemResource is the subject. |
MemStatementList |
getSubjectStatementList()
Gets the list of statements for which this MemResource is the subject. |
void |
removeContextStatement(MemStatement st)
Removes a statement from this MemResource's list of statements for which it represents the context. |
void |
removeSubjectStatement(MemStatement st)
Removes a statement from this MemResource's list of statements for which it is the subject. |
| Methods inherited from interface org.openrdf.sail.memory.model.MemValue |
|---|
addObjectStatement, cleanSnapshotsFromObjectStatements, getCreator, getObjectStatementCount, getObjectStatementList, hasStatements, removeObjectStatement |
| Methods inherited from interface org.openrdf.model.Value |
|---|
stringValue |
| Method Detail |
|---|
MemStatementList getSubjectStatementList()
int getSubjectStatementCount()
void addSubjectStatement(MemStatement st)
void removeSubjectStatement(MemStatement st)
void cleanSnapshotsFromSubjectStatements(int currentSnapshot)
currentSnapshot - The current snapshot version.MemStatementList getContextStatementList()
int getContextStatementCount()
void addContextStatement(MemStatement st)
void removeContextStatement(MemStatement st)
void cleanSnapshotsFromContextStatements(int currentSnapshot)
currentSnapshot - The current snapshot version.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||