public abstract class BigdataValueImpl extends Object implements BigdataValue
BigdataValue implementations.| Modifier | Constructor and Description |
|---|---|
protected |
BigdataValueImpl(BigdataValueFactory valueFactory,
IV iv) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearInternalValue()
Clears the internal value to null.
|
Object |
get(int index)
Implements
IElement. |
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.
|
protected volatile IV iv
protected BigdataValueImpl(BigdataValueFactory valueFactory, IV iv)
valueFactory - The value factory that created this object (optional).iv - The internal value (optional).public final BigdataValueFactory getValueFactory()
BigdataValueBigdataValueFactory instance
for on a given JVM for all BigdataValues associated with a given
lexicon relation namespace).getValueFactory in interface BigdataValuepublic final void clearInternalValue()
BigdataValueclearInternalValue in interface BigdataValuepublic final boolean isRealIV()
BigdataValuetrue if the IV is either is set to a "real"
IV. Return false if the IV is either not set or is
set to a "mock" or "dummy" IV.isRealIV in interface BigdataValuepublic IV getIV()
BigdataValueValue
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 BigdataValuepublic final void setIV(IV iv)
BigdataValue
Note: Both IV and BigdataValue can cache one another. The
pattern for caching is that you always cache the IV on
the BigdataValue using BigdataValue.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.
setIV in interface BigdataValueiv - The internal value.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.