| org.openrdf.sail.memory.model.MemValue
All known Subclasses: org.openrdf.sail.memory.model.MemLiteral,
MemValue | public interface MemValue extends Value(Code) | | A MemoryStore-specific extension of the Value interface, giving it node
properties.
|
Field Summary | |
final static MemStatementList | EMPTY_LIST A shared empty MemStatementList that is returned by MemURI and MemBNode to
represent an empty list. |
EMPTY_LIST | final static MemStatementList EMPTY_LIST(Code) | | A shared empty MemStatementList that is returned by MemURI and MemBNode to
represent an empty list. The use of a shared list reduces memory usage.
|
addObjectStatement | public void addObjectStatement(MemStatement st)(Code) | | Adds a statement to this MemValue's list of statements for which it is the
object.
|
getCreator | public Object getCreator()(Code) | | Returns the object that created this MemValue. MemValues are only unique
within a single repository, but an application could use several
repositories at the same time, passing MemValues generated by one Sail to
another Sail. In such situations, the MemValue of the first Sail cannot be
used by the second Sail.
|
getObjectStatementCount | public int getObjectStatementCount()(Code) | | Gets the number of statements for which this MemValue is the object.
An integer larger than or equal to 0. |
getObjectStatementList | public MemStatementList getObjectStatementList()(Code) | | Gets the list of statements for which this MemValue is the object.
A MemStatementList containing the statements. |
removeObjectStatement | public void removeObjectStatement(MemStatement st)(Code) | | Removes a statement from this MemValue's list of statements for which it
is the object.
|
|
|