public class DerivedNumericsExtension<V extends BigdataValue> extends Object implements IExtension<V>
IExtension implements inlining for literals
that represent the derived numeric types:
| Constructor and Description |
|---|
DerivedNumericsExtension(IDatatypeURIResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
V |
asValue(LiteralExtensionIV iv,
BigdataValueFactory vf)
Use the BigInteger value of the
XSDIntegerIV delegate to create a
datatype literal value with the appropriate datatype. |
LiteralExtensionIV |
createIV(org.openrdf.model.Value value)
Attempts to convert the supplied value into an internal representation
using BigInteger.
|
Set<BigdataURI> |
getDatatypes()
Return the fully resolved datatype(s) handled by this interface in the
form of a
BigdataURI with the TermId already set. |
public DerivedNumericsExtension(IDatatypeURIResolver resolver)
public Set<BigdataURI> getDatatypes()
IExtensionBigdataURI with the TermId already set.getDatatypes in interface IExtension<V extends BigdataValue>public LiteralExtensionIV createIV(org.openrdf.model.Value value)
createIV in interface IExtension<V extends BigdataValue>value - The RDF ValueIV -or- null if the
Value can not be inlined using this IExtension.public V asValue(LiteralExtensionIV iv, BigdataValueFactory vf)
XSDIntegerIV delegate to create a
datatype literal value with the appropriate datatype.asValue in interface IExtension<V extends BigdataValue>iv - The extension IVvf - The bigdata value factoryValueCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.