public abstract class AbstractNonInlineIV<V extends BigdataValue,T> extends AbstractIV<V,T> implements org.openrdf.model.Literal, org.openrdf.model.BNode, org.openrdf.model.URI
IVs which CAN NOT be fully materialized
from their inline representation.flags| Modifier | Constructor and Description |
|---|---|
protected |
AbstractNonInlineIV(byte flags) |
protected |
AbstractNonInlineIV(VTE vte,
boolean extension,
DTE dte) |
| Modifier and Type | Method and Description |
|---|---|
V |
asValue(LexiconRelation lex)
Operation is not supported because this
IV type is not 100%
inline. |
boolean |
booleanValue()
Implements
Literal.booleanValue(). |
byte |
byteValue()
Implements
Literal.byteValue(). |
XMLGregorianCalendar |
calendarValue()
Implements
Literal.calendarValue(). |
BigDecimal |
decimalValue()
Implements
Literal.decimalValue(). |
double |
doubleValue()
Implements
Literal.doubleValue(). |
float |
floatValue()
Implements
Literal.floatValue(). |
org.openrdf.model.URI |
getDatatype()
Implements
Literal.getDatatype(). |
String |
getID()
Implements
BNode.getID(). |
T |
getInlineValue()
Operation is not supported because this
IV type is not 100%
inline. |
String |
getLabel()
Implements
Literal.getLabel(). |
String |
getLanguage()
Implements
Literal.getLanguage(). |
String |
getLocalName()
Implements
URI.getLocalName(). |
String |
getNamespace()
Implements
URI.getNamespace(). |
BigInteger |
integerValue()
Implements
Literal.integerValue(). |
int |
intValue()
Implements
Literal.intValue(). |
boolean |
isInline()
Always returns
false since the RDF value is not inline. |
long |
longValue()
Implements
Literal.longValue(). |
boolean |
needsMaterialization()
Always returns
true since the RDF value is not inline. |
short |
shortValue()
Implements
Literal.shortValue(). |
String |
stringValue()
Implements
Value.stringValue(). |
_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, waitbyteLengthpublic final V asValue(LexiconRelation lex)
IV type is not 100%
inline. You MUST explicitly set the value cache.
If the value is not already cached, then inflate an inline RDF value to a
BigdataValue 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 BigdataValue,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.AbstractIV.setValue(BigdataValue)public final T getInlineValue()
IV type is not 100%
inline.getInlineValue in interface IV<V extends BigdataValue,T>Object.public final boolean isInline()
false since the RDF value is not inline.isInline in interface IV<V extends BigdataValue,T>isInline in class AbstractIV<V extends BigdataValue,T>public final boolean needsMaterialization()
true since the RDF value is not inline.needsMaterialization in interface IV<V extends BigdataValue,T>public String stringValue()
Value.stringValue().stringValue in interface org.openrdf.model.Valuepublic String getLocalName()
URI.getLocalName().getLocalName in interface org.openrdf.model.URIpublic String getNamespace()
URI.getNamespace().getNamespace in interface org.openrdf.model.URIpublic String getID()
BNode.getID().getID in interface org.openrdf.model.BNodepublic String getLabel()
Literal.getLabel().getLabel in interface org.openrdf.model.Literalpublic org.openrdf.model.URI getDatatype()
Literal.getDatatype().getDatatype in interface org.openrdf.model.Literalpublic String getLanguage()
Literal.getLanguage().getLanguage in interface org.openrdf.model.Literalpublic boolean booleanValue()
Literal.booleanValue().booleanValue in interface org.openrdf.model.Literalpublic byte byteValue()
Literal.byteValue().byteValue in interface org.openrdf.model.Literalpublic short shortValue()
Literal.shortValue().shortValue in interface org.openrdf.model.Literalpublic int intValue()
Literal.intValue().intValue in interface org.openrdf.model.Literalpublic long longValue()
Literal.longValue().longValue in interface org.openrdf.model.Literalpublic float floatValue()
Literal.floatValue().floatValue in interface org.openrdf.model.Literalpublic double doubleValue()
Literal.doubleValue().doubleValue in interface org.openrdf.model.Literalpublic BigInteger integerValue()
Literal.integerValue().integerValue in interface org.openrdf.model.Literalpublic BigDecimal decimalValue()
Literal.decimalValue().decimalValue in interface org.openrdf.model.Literalpublic XMLGregorianCalendar calendarValue()
Literal.calendarValue().calendarValue in interface org.openrdf.model.LiteralCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.