public interface IExtensionFactory
SampleExtensionFactory
that supplies two starter extensions -
the EpochExtension
(for representing time since the epoch as a long
integer) and the ColorsEnumExtension
(a sample extension for how to
represent an enumeration via inline literals).Modifier and Type | Method and Description |
---|---|
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
BlobIV s for the IExtension 's datatype URIs will be on
hand when needed. |
void init(IDatatypeURIResolver resolver, ILexiconConfiguration<BigdataValue> config)
BlobIV
s 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.resolver
- The interface used to resolve an URI
to an
BigdataURI
.config
- The ILexiconConfiguration
.Iterator<IExtension<? extends BigdataValue>> getExtensions()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.