public class DefaultExtensionFactory extends Object implements IExtensionFactory
IExtensionFactory. The following extensions are supported:
DateTimeExtensionxsd:dateTime values into
the statement indices.XSDStringExtensionxsd:string literals into the statement indices.DerivedNumericsExtension| Constructor and Description |
|---|
DefaultExtensionFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_init(IDatatypeURIResolver resolver,
ILexiconConfiguration<BigdataValue> config,
Collection<IExtension<? extends BigdataValue>> extensions)
Give subclasses a chance to add extensions.
|
Iterator<IExtension<? extends BigdataValue>> |
getExtensions()
Return the supported extensions.
|
void |
init(IDatatypeURIResolver resolver,
ILexiconConfiguration<BigdataValue> config)
This will be called very early in the IExtensionFactory lifecycle so that
the
BlobIVs for the IExtension's datatype URIs will be on
hand when needed. |
public void init(IDatatypeURIResolver resolver, ILexiconConfiguration<BigdataValue> config)
IExtensionFactoryBlobIVs for the IExtension's datatype URIs will be on
hand when needed. Also gets other relevant configuration information from
the lexicon such as whether or not to inline xsd:datetimes and what
timezone to use to do so.init in interface IExtensionFactoryresolver - The interface used to resolve an URI to an
BigdataURI.config - The ILexiconConfiguration.protected void _init(IDatatypeURIResolver resolver, ILexiconConfiguration<BigdataValue> config, Collection<IExtension<? extends BigdataValue>> extensions)
resolver - IDatatypeURIResolver from
init(IDatatypeURIResolver, ILexiconConfiguration).config - The ILexiconConfiguration from
init(IDatatypeURIResolver, ILexiconConfiguration).extensions - The extensions that have already been registered.init(IDatatypeURIResolver, ILexiconConfiguration)public Iterator<IExtension<? extends BigdataValue>> getExtensions()
IExtensionFactorygetExtensions in interface IExtensionFactoryCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.