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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcleanSnapshotsFromContextStatements(int currentSnapshot) voidcleanSnapshotsFromSubjectStatements(int currentSnapshot) intintbooleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.sail.memory.model.MemValue
addObjectStatement, cleanSnapshotsFromObjectStatements, getCreator, getObjectStatementCount, getObjectStatementList, hasObjectStatements, hasPredicateStatements, hasStatementsMethods inherited from interface org.eclipse.rdf4j.model.Resource
isResource
-
Constructor Details
-
MemResource
public MemResource()
-
-
Method Details
-
getSubjectStatementList
-
getSubjectStatementCount
public int getSubjectStatementCount() -
addSubjectStatement
- Throws:
InterruptedException
-
cleanSnapshotsFromSubjectStatements
- Throws:
InterruptedException
-
hasSubjectStatements
public boolean hasSubjectStatements()- Specified by:
hasSubjectStatementsin interfaceMemValue
-
hasContextStatements
public boolean hasContextStatements()- Specified by:
hasContextStatementsin interfaceMemValue
-
getContextStatementList
-
getContextStatementCount
public int getContextStatementCount() -
addContextStatement
- Throws:
InterruptedException
-
cleanSnapshotsFromContextStatements
- Throws:
InterruptedException
-