com.bigdata.rdf.internal
Interface IExtensionFactory

All Known Implementing Classes:
BSBMExtensionFactory, DefaultExtensionFactory, NoExtensionFactory

public interface IExtensionFactory

IExtensionFactories are responsible for enumerating what extensions are supported for a particular database configuration. Bigdata comes packaged with a 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).


Method Summary
 IExtension[] getExtensions()
          Return the supported extensions.
 void init(LexiconRelation lex)
          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.
 

Method Detail

init

void init(LexiconRelation lex)
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. 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.


getExtensions

IExtension[] getExtensions()
Return the supported extensions.



Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.