public abstract class AbstractBNodeIV<V extends BigdataBNode,T> extends AbstractInlineIV<V,T> implements org.openrdf.model.BNode
AbstractTripleStore.Options,
Serialized Formflags| Constructor and Description |
|---|
AbstractBNodeIV(DTE dte) |
| Modifier and Type | Method and Description |
|---|---|
V |
asValue(LexiconRelation lex)
If the value is not already cached, then inflate an inline RDF value to a
BigdataValue and cache it on a private field. |
String |
stringValue()
Implements
Value.stringValue(). |
isInline_compareTo, compareTo, encode, equals, flags, getDTE, getDTE, getDTEX, getInternalValueTypeEnum, getValue, getValueCache, getVTE, getVTE, hashCode, hasValue, isBigNumeric, isBNode, isExtension, isExtension, isFixedNumeric, isFloatingPointNumeric, isInline, isLiteral, isNullIV, isNumeric, isResource, isSignedNumeric, isStatement, isUnsignedNumeric, isURI, isVocabulary, setValue, toFlagsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbyteLength, getInlineValue, needsMaterializationpublic AbstractBNodeIV(DTE dte)
public V asValue(LexiconRelation lex)
IVCacheBigdataValue and cache it on a private field.
Note: Query plans are responsible for ensuring that IVs have been
materialized before operators are evaluated which invoke this method.
This pattern ensures that efficient batch operators are used to
materialize Values, and thereby avoids heavy RMI overhead in
scale-out, and provides operators which use IVCache.getValue() with a
simple method signature which does not require access to the lexicon.
Query plans are also responsible for dropping variables once they are no
longer needed or, in the case of large values and BLOBs, dropping the
cached BigdataValue when possible in order to avoid excess
network and heap overhead.
asValue in interface IVCache<V extends BigdataBNode,T>lex - The lexicon relation (this is required in order to access the
BigdataValueFactory for the namespace associated with
lexicon when we materialize an inline IV).BigdataValue.public String stringValue()
Value.stringValue().stringValue in interface org.openrdf.model.ValueCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.