public class BigdataBNodeImpl extends BigdataResourceImpl implements BigdataBNode
BigdataValueFactory
to create instances of this
class.
Note: When AbstractTripleStore.Options#STATEMENT_IDENTIFIERS
is
enabled blank nodes in the context position of a statement are recognized as
statement identifiers by StatementBuffer
. It coordinates with this
class in order to detect when a blank node is a statement identifier and to
defer the assertion of statements made using a statement identifier until
that statement identifier becomes defined by being paired with a statement.
iv
Modifier and Type | Method and Description |
---|---|
boolean |
equals(org.openrdf.model.BNode o) |
boolean |
equals(Object o) |
String |
getID() |
IV |
getIV()
Return the internal value for this value.
|
BigdataStatement |
getStatement()
Return the statement modeled by this blank node.
|
int |
hashCode() |
boolean |
isStatementIdentifier()
true if this blank node models a statement. |
void |
setStatement(BigdataStatement sid)
Marks this as a blank node which models the specified statement.
|
void |
setStatementIdentifier(boolean isStmtIdentifier)
Set flag indicating that this blank node models a statement.
|
String |
stringValue() |
String |
toString() |
clearInternalValue, get, getValueFactory, isRealIV, setIV
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clearInternalValue, getValueFactory, isRealIV, setIV
public IV getIV()
BigdataValue
Value
for a database. Sometimes a TempTripleStore
will be used that
shares the lexicon with a given database, in which case the same term
identifiers will be value for that TempTripleStore
.getIV
in interface BigdataValue
getIV
in class BigdataValueImpl
public String stringValue()
stringValue
in interface org.openrdf.model.Value
public final boolean equals(Object o)
public final boolean equals(org.openrdf.model.BNode o)
public final int hashCode()
public final String getID()
getID
in interface org.openrdf.model.BNode
public final void setStatementIdentifier(boolean isStmtIdentifier)
BigdataBNode
setStatementIdentifier
in interface BigdataBNode
public final boolean isStatementIdentifier()
BigdataBNode
true
if this blank node models a statement.isStatementIdentifier
in interface BigdataBNode
public final void setStatement(BigdataStatement sid)
setStatement
in interface BigdataBNode
sid
- The statement.public final BigdataStatement getStatement()
getStatement
in interface BigdataBNode
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.