|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILexiconConfiguration<V extends BigdataValue>
Configuration determines which RDF Values are inlined into the statement indices rather than being assigned term identifiers by the lexicon.
| Method Summary | |
|---|---|
V |
asValue(LiteralExtensionIV<?> iv)
Create an RDF value from an AbstractInlineExtensionIV. |
V |
asValueFromVocab(IV<?,?> iv)
Return the Value for that IV iff the IV is
declared in the Vocabulary. |
IV |
createInlineIV(Value value)
Create an inline IV for the supplied RDF value if inlining is
supported for the supplied RDF value. |
BigdataValueFactory |
getValueFactory()
Return the value factory for the lexicon. |
void |
initExtensions(LexiconRelation lex)
Initialize the extensions, which need to resolve their datatype URIs into term ids. |
| Method Detail |
|---|
IV createInlineIV(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().
value - The RDF value
IV -or- null if the Value
can not be represented by an IV.V asValue(LiteralExtensionIV<?> iv)
AbstractInlineExtensionIV. 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.
iv - the extension IV
ValueV asValueFromVocab(IV<?,?> iv)
Value for that IV iff the IV is
declared in the Vocabulary.
iv - The IV.
Value -or- null if the IV was
not declared in the Vocabulary.void initExtensions(LexiconRelation lex)
BigdataValueFactory getValueFactory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||