Class MemResource
java.lang.Object
org.eclipse.rdf4j.sail.memory.model.MemResource
- All Implemented Interfaces:
Serializable
,Resource
,Value
,MemValue
A MemoryStore-specific extension of Resource giving it subject statements.
- See Also:
-
Field Summary
Fields inherited from interface org.eclipse.rdf4j.sail.memory.model.MemValue
EMPTY_LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
cleanSnapshotsFromContextStatements
(int currentSnapshot) void
cleanSnapshotsFromSubjectStatements
(int currentSnapshot) int
int
boolean
boolean
void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.sail.memory.model.MemValue
addObjectStatement, cleanSnapshotsFromObjectStatements, getCreator, getObjectStatementCount, getObjectStatementList, hasObjectStatements, hasPredicateStatements, hasStatements, removeObjectStatement
Methods inherited from interface org.eclipse.rdf4j.model.Resource
isResource
-
Constructor Details
-
MemResource
public MemResource()
-
-
Method Details
-
getSubjectStatementList
-
getSubjectStatementCount
public int getSubjectStatementCount() -
addSubjectStatement
- Throws:
InterruptedException
-
removeSubjectStatement
- Throws:
InterruptedException
-
cleanSnapshotsFromSubjectStatements
- Throws:
InterruptedException
-
hasSubjectStatements
public boolean hasSubjectStatements()- Specified by:
hasSubjectStatements
in interfaceMemValue
-
hasContextStatements
public boolean hasContextStatements()- Specified by:
hasContextStatements
in interfaceMemValue
-
getContextStatementList
-
getContextStatementCount
public int getContextStatementCount() -
addContextStatement
- Throws:
InterruptedException
-
removeContextStatement
- Throws:
InterruptedException
-
cleanSnapshotsFromContextStatements
- Throws:
InterruptedException
-