V - public class PartlyInlineTypedLiteralIV<V extends BigdataLiteral> extends AbstractNonInlineExtensionIVWithDelegateIV<V,org.openrdf.model.Literal> implements org.openrdf.model.Literal
flags| Constructor and Description |
|---|
PartlyInlineTypedLiteralIV(AbstractLiteralIV<BigdataLiteral,?> delegate,
IV<?,?> datatype) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Implements
Literal.booleanValue(). |
byte |
byteValue()
Implements
Literal.byteValue(). |
XMLGregorianCalendar |
calendarValue()
Implements
Literal.calendarValue(). |
IV<V,org.openrdf.model.Literal> |
clone(boolean clearCache)
Return a copy of this
IV. |
BigDecimal |
decimalValue()
Implements
Literal.decimalValue(). |
double |
doubleValue()
Implements
Literal.doubleValue(). |
float |
floatValue()
Implements
Literal.floatValue(). |
byte |
getExtensionByte()
Return the extension byte for this type of non-inline IV.
|
String |
getLabel()
Implements
Literal.getLabel(). |
BigInteger |
integerValue()
Implements
Literal.integerValue(). |
int |
intValue()
Implements
Literal.intValue(). |
long |
longValue()
Implements
Literal.longValue(). |
short |
shortValue()
Implements
Literal.shortValue(). |
String |
stringValue()
Implements
Value.stringValue(). |
String |
toString()
Human readable representation includes the datatype
IV and
the label. |
_compareTo, byteLength, equals, getDelegate, getExtensionIV, hashCodeasValue, getDatatype, getID, getInlineValue, getLanguage, getLocalName, getNamespace, isInline, needsMaterializationcompareTo, encode, flags, getDTE, getDTE, getDTEX, getInternalValueTypeEnum, getValue, getValueCache, getVTE, getVTE, hasValue, isBigNumeric, isBNode, isExtension, isExtension, isFixedNumeric, isFloatingPointNumeric, isInline, isLiteral, isNullIV, isNumeric, isResource, isSignedNumeric, isStatement, isUnsignedNumeric, isURI, isVocabulary, setValue, toFlagspublic PartlyInlineTypedLiteralIV(AbstractLiteralIV<BigdataLiteral,?> delegate, IV<?,?> datatype)
public IV<V,org.openrdf.model.Literal> clone(boolean clearCache)
IVCacheIV.
Note: This method exists to defeat the hard reference from the IV
to the cached BigdataValue in order to avoid a memory leak when
the IV is used as the key in a weak value cache whose value is
the BigdataValue. Therefore, certain IV implementations
MAY return this when they are used for limited collections. The
vocabulary IVs are the primary example. For the same reason, we do not
need to recursively break the link from the IV to the
BigdataValue for IVs which embed other IVs.
clone in interface IVCache<V extends BigdataLiteral,org.openrdf.model.Literal>clearCache - When true the cached reference (if any) will NOT
be set on the copy.(Thread-local
cache combined with unbounded thread pools causes effective memory
leak)public String toString()
IV and
the label.public final byte getExtensionByte()
AbstractNonInlineExtensionIVgetExtensionByte in class AbstractNonInlineExtensionIV<V extends BigdataLiteral,org.openrdf.model.Literal>INonInlineExtensionCodespublic String stringValue()
Value.stringValue().stringValue in interface org.openrdf.model.ValuestringValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public String getLabel()
Literal.getLabel().
We can use the inline delegate for this.
getLabel in interface org.openrdf.model.LiteralgetLabel in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public boolean booleanValue()
Literal.booleanValue().
We can use the inline delegate for this.
booleanValue in interface org.openrdf.model.LiteralbooleanValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public byte byteValue()
Literal.byteValue().
We can use the inline delegate for this.
byteValue in interface org.openrdf.model.LiteralbyteValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public XMLGregorianCalendar calendarValue()
Literal.calendarValue().
We can use the inline delegate for this.
calendarValue in interface org.openrdf.model.LiteralcalendarValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public BigDecimal decimalValue()
Literal.decimalValue().
We can use the inline delegate for this.
decimalValue in interface org.openrdf.model.LiteraldecimalValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public double doubleValue()
Literal.doubleValue().
We can use the inline delegate for this.
doubleValue in interface org.openrdf.model.LiteraldoubleValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public float floatValue()
Literal.floatValue().
We can use the inline delegate for this.
floatValue in interface org.openrdf.model.LiteralfloatValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public int intValue()
Literal.intValue().
We can use the inline delegate for this.
intValue in interface org.openrdf.model.LiteralintValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public BigInteger integerValue()
Literal.integerValue().
We can use the inline delegate for this.
integerValue in interface org.openrdf.model.LiteralintegerValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public long longValue()
Literal.longValue().
We can use the inline delegate for this.
longValue in interface org.openrdf.model.LiterallongValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>public short shortValue()
Literal.shortValue().
We can use the inline delegate for this.
shortValue in interface org.openrdf.model.LiteralshortValue in class AbstractNonInlineIV<V extends BigdataLiteral,org.openrdf.model.Literal>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.