public interface ILexiconConfiguration<V extends BigdataValue>
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 datatype)
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() |
int getMaxInlineStringLength()
XSDStringExtension
), local names of URI
s,
etc.AbstractTripleStore.Options#MAX_INLINE_TEXT_LENGTH
boolean isInlineTextLiterals()
AbstractTripleStore.Options#INLINE_TEXT_LITERALS
boolean isInlineLiterals()
true
if datatype literals are being inlined into
the statement indices.boolean isInlineDateTimes()
true
if xsd:datetime literals are being inlined into
the statement indices.boolean isGeoSpatial()
true
if GeoSpatial support is enabled.GeoSpatialConfig getGeoSpatialConfig()
TimeZone getInlineDateTimesTimeZone()
int getBlobsThreshold()
LexiconKeyOrder.BLOBS
index.AbstractTripleStore.Options#BLOBS_THRESHOLD
boolean isBlobsDisabled()
IV createInlineIV(org.openrdf.model.Value value)
IV
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()
.
String getInlineURILocalNameFromDelegate(org.openrdf.model.URI namespace, AbstractLiteralIV<BigdataLiteral,?> delegate)
namespace
- the uris's prefixdelegate
- the storage delegateV asValue(LiteralExtensionIV<?> iv)
AbstractInlineExtensionIV
. The
"extension" IV
MUST be registered with the Vocabulary
.
For LiteralExtensionIV
, this through an internal catalog of
IExtension
s to find one that knows how to handle the extension
datatype from the supplied LiteralExtensionIV
. This is the
historical use case.
iv
- the extension IVValue
V asValueFromVocab(IV<?,?> iv)
iv
- The IV
.Value
-or- null
if the IV
was
not declared in the Vocabulary
.void initExtensions(IDatatypeURIResolver resolver)
BigdataValueFactory getValueFactory()
boolean isInlineDatatypeToTextIndex(org.openrdf.model.URI datatype)
Iterable<IMathOpHandler> getTypeHandlers()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.