public class LexiconConfiguration<V extends BigdataValue> extends Object implements ILexiconConfiguration<V>
| Constructor and Description |
|---|
LexiconConfiguration(int blobsThreshold,
boolean inlineXSDDatatypeLiterals,
boolean inlineTextLiterals,
int maxInlineTextLength,
boolean inlineBNodes,
boolean inlineDateTimes,
TimeZone inlineDateTimesTimeZone,
boolean rejectInvalidXSDValues,
boolean enableRawRecordsSupport,
IExtensionFactory xFactory,
Vocabulary vocab,
BigdataValueFactory valueFactory,
IInlineURIFactory uriFactory,
boolean geoSpatial,
GeoSpatialConfig geoSpatialConfig) |
| Modifier and Type | Method and Description |
|---|---|
V |
asValue(LiteralExtensionIV<?> iv)
Create an RDF value from an
AbstractInlineExtensionIV. |
V |
asValueFromVocab(IV<?,?> iv)
|
IV |
createInlineIV(org.openrdf.model.Value value)
Create an inline
IV for the supplied RDF value if inlining is
supported for the supplied RDF value. |
int |
getBlobsThreshold()
Return the threshold at which a literal would be stored in the
LexiconKeyOrder.BLOBS index. |
GeoSpatialConfig |
getGeoSpatialConfig()
Return the geospatial datatype configuration.
|
TimeZone |
getInlineDateTimesTimeZone()
Return the default time zone to be used for inlining.
|
String |
getInlineURILocalNameFromDelegate(org.openrdf.model.URI namespace,
AbstractLiteralIV<BigdataLiteral,?> delegate)
Inflate the localName portion of an inline URI using its storage delegate.
|
int |
getMaxInlineStringLength()
Return the maximum length of a Unicode string which may be inlined into
the statement indices.
|
Iterable<IMathOpHandler> |
getTypeHandlers()
Get iterator over registered type handlers.
|
BigdataValueFactory |
getValueFactory()
Return the value factory for the lexicon.
|
void |
initExtensions(IDatatypeURIResolver resolver)
Initialize the extensions, which need to resolve their datatype URIs into
term ids.
|
boolean |
isBlobsDisabled()
Return true iff the BLOBS index has been disabled.
|
boolean |
isGeoSpatial()
Return
true if GeoSpatial support is enabled. |
boolean |
isInlineDatatypeToTextIndex(org.openrdf.model.URI dt)
Should the specified datatype be included in the text index (even though
it is an inline datatype, for example IPv4).
|
boolean |
isInlineDateTimes()
Return
true if xsd:datetime literals are being inlined into
the statement indices. |
boolean |
isInlineLiterals()
Return
true if datatype literals are being inlined into
the statement indices. |
boolean |
isInlineTextLiterals() |
String |
toString() |
public LexiconConfiguration(int blobsThreshold,
boolean inlineXSDDatatypeLiterals,
boolean inlineTextLiterals,
int maxInlineTextLength,
boolean inlineBNodes,
boolean inlineDateTimes,
TimeZone inlineDateTimesTimeZone,
boolean rejectInvalidXSDValues,
boolean enableRawRecordsSupport,
IExtensionFactory xFactory,
Vocabulary vocab,
BigdataValueFactory valueFactory,
IInlineURIFactory uriFactory,
boolean geoSpatial,
GeoSpatialConfig geoSpatialConfig)
public final BigdataValueFactory getValueFactory()
ILexiconConfigurationgetValueFactory in interface ILexiconConfiguration<V extends BigdataValue>public int getMaxInlineStringLength()
ILexiconConfigurationXSDStringExtension), local names of URIs,
etc.getMaxInlineStringLength in interface ILexiconConfiguration<V extends BigdataValue>AbstractTripleStore.Options#MAX_INLINE_TEXT_LENGTHpublic boolean isInlineTextLiterals()
isInlineTextLiterals in interface ILexiconConfiguration<V extends BigdataValue>AbstractTripleStore.Options#INLINE_TEXT_LITERALSpublic boolean isInlineLiterals()
ILexiconConfigurationtrue if datatype literals are being inlined into
the statement indices.isInlineLiterals in interface ILexiconConfiguration<V extends BigdataValue>public boolean isGeoSpatial()
ILexiconConfigurationtrue if GeoSpatial support is enabled.isGeoSpatial in interface ILexiconConfiguration<V extends BigdataValue>public GeoSpatialConfig getGeoSpatialConfig()
ILexiconConfigurationgetGeoSpatialConfig in interface ILexiconConfiguration<V extends BigdataValue>public boolean isInlineDateTimes()
ILexiconConfigurationtrue if xsd:datetime literals are being inlined into
the statement indices.isInlineDateTimes in interface ILexiconConfiguration<V extends BigdataValue>public TimeZone getInlineDateTimesTimeZone()
ILexiconConfigurationgetInlineDateTimesTimeZone in interface ILexiconConfiguration<V extends BigdataValue>public int getBlobsThreshold()
ILexiconConfigurationLexiconKeyOrder.BLOBS index.getBlobsThreshold in interface ILexiconConfiguration<V extends BigdataValue>AbstractTripleStore.Options#BLOBS_THRESHOLDpublic boolean isBlobsDisabled()
ILexiconConfigurationisBlobsDisabled in interface ILexiconConfiguration<V extends BigdataValue>public boolean isInlineDatatypeToTextIndex(org.openrdf.model.URI dt)
ILexiconConfigurationisInlineDatatypeToTextIndex in interface ILexiconConfiguration<V extends BigdataValue>public void initExtensions(IDatatypeURIResolver resolver)
ILexiconConfigurationinitExtensions in interface ILexiconConfiguration<V extends BigdataValue>public V asValue(LiteralExtensionIV<?> iv)
ILexiconConfigurationAbstractInlineExtensionIV. The
"extension" IV MUST be registered with the Vocabulary.
For LiteralExtensionIV, this through an internal catalog of
IExtensions to find one that knows how to handle the extension
datatype from the supplied LiteralExtensionIV. This is the
historical use case.
asValue in interface ILexiconConfiguration<V extends BigdataValue>iv - the extension IVValuepublic V asValueFromVocab(IV<?,?> iv)
ILexiconConfigurationasValueFromVocab in interface ILexiconConfiguration<V extends BigdataValue>iv - The IV.Value -or- null if the IV was
not declared in the Vocabulary.public IV createInlineIV(org.openrdf.model.Value value)
ILexiconConfigurationIV for the supplied RDF value if inlining is
supported for the supplied RDF value.
Note: If the supplied RDF value is a BigdataValue then the
IV will be set as a side-effect and will be available from
BigdataValue.getIV().
createInlineIV in interface ILexiconConfiguration<V extends BigdataValue>value - The RDF valueIV -or- null if the Value
can not be represented by an IV.public String getInlineURILocalNameFromDelegate(org.openrdf.model.URI namespace, AbstractLiteralIV<BigdataLiteral,?> delegate)
getInlineURILocalNameFromDelegate in interface ILexiconConfiguration<V extends BigdataValue>namespace - the uris's prefixdelegate - the storage delegatepublic Iterable<IMathOpHandler> getTypeHandlers()
ILexiconConfigurationgetTypeHandlers in interface ILexiconConfiguration<V extends BigdataValue>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.