public interface BigdataValue extends org.openrdf.model.Value, IElement
Value
s stored within a IRawTripleStore
. Values may also be
stored inline inside the statement indices rather than referencing the
lexicon. See IV
.Modifier and Type | Method and Description |
---|---|
void |
clearInternalValue()
Clears the internal value to null.
|
IV |
getIV()
Return the internal value for this value.
|
BigdataValueFactory |
getValueFactory()
Return the factory which produced this object.
|
boolean |
isRealIV()
Return
true if the IV is either is set to a "real"
IV. |
void |
setIV(IV iv)
Set the internal value for this value.
|
BigdataValueFactory getValueFactory()
BigdataValueFactory
instance
for on a given JVM for all BigdataValue
s associated with a given
lexicon relation namespace).IV getIV()
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
.void setIV(IV iv)
Note: Both IV
and BigdataValue
can cache one another. The
pattern for caching is that you always cache the IV
on
the BigdataValue
using setIV(IV)
. However,
the BigdataValue
is normally NOT cached on the IV
. The
exception is when the BigdataValue
has been materialized from the
IV
by joining against the lexicon. The query plan is responsible
for deciding when to materialize the BigdataValue
from the
IV
.
iv
- The internal value.IllegalArgumentException
- if iv is null.IllegalStateException
- if the internal value is already set to a different non-null
value.boolean isRealIV()
void clearInternalValue()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.