Class MemResource
java.lang.Object
org.eclipse.rdf4j.sail.memory.model.MemResource
- All Implemented Interfaces:
Serializable, Resource, Value, MemValue
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final MemStatementListThe list of statements for which this MemURI represents the context.(package private) final MemStatementListThe list of statements for which this MemURI is the subject.Fields inherited from interface MemValue
EMPTY_LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcleanSnapshotsFromContextStatements(int currentSnapshot) voidcleanSnapshotsFromSubjectStatements(int currentSnapshot) intintbooleanbooleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MemValue
addObjectStatement, cleanSnapshotsFromObjectStatements, getCreator, getObjectStatementCount, getObjectStatementList, hasObjectStatements, hasPredicateStatements, hasStatementsMethods inherited from interface Resource
isResource
-
Field Details
-
subjectStatements
The list of statements for which this MemURI is the subject. -
contextStatements
The list of statements for which this MemURI represents the context.
-
-
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
-