public interface BigdataValueFactory
extends org.openrdf.model.ValueFactory
BigdataValueFactoryImpl.getInstance(String)| Modifier and Type | Method and Description |
|---|---|
BigdataBNode |
asValue(org.openrdf.model.BNode v)
Strongly typed for
BNodes. |
BigdataLiteral |
asValue(org.openrdf.model.Literal v)
Strongly typed for
Literals. |
BigdataResource |
asValue(org.openrdf.model.Resource v)
Strongly typed for
Resources. |
BigdataURI |
asValue(org.openrdf.model.URI v)
Strongly typed for
URIs. |
BigdataValue |
asValue(org.openrdf.model.Value v)
Converts a
Value into a BigdataValue. |
BigdataBNode |
createBNode() |
BigdataBNode |
createBNode(BigdataStatement stmt) |
BigdataBNode |
createBNode(String id) |
BigdataLiteral |
createLiteral(boolean arg0) |
BigdataLiteral |
createLiteral(byte arg0) |
BigdataLiteral |
createLiteral(byte arg0,
boolean unsigned) |
BigdataLiteral |
createLiteral(Date arg0) |
BigdataLiteral |
createLiteral(double arg0) |
BigdataLiteral |
createLiteral(float arg0) |
BigdataLiteral |
createLiteral(int arg0) |
BigdataLiteral |
createLiteral(int arg0,
boolean unsigned) |
BigdataLiteral |
createLiteral(long arg0) |
BigdataLiteral |
createLiteral(long arg0,
boolean unsigned) |
BigdataLiteral |
createLiteral(short arg0) |
BigdataLiteral |
createLiteral(short arg0,
boolean unsigned) |
BigdataLiteral |
createLiteral(String label) |
BigdataLiteral |
createLiteral(String label,
String language) |
BigdataLiteral |
createLiteral(String label,
org.openrdf.model.URI datatype) |
BigdataLiteral |
createLiteral(String label,
org.openrdf.model.URI datatype,
String language) |
BigdataLiteral |
createLiteral(XMLGregorianCalendar arg0) |
BigdataStatement |
createStatement(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o)
Create a statement whose
StatementEnum is NOT specified. |
BigdataStatement |
createStatement(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.Resource c)
Create a statement whose
StatementEnum is NOT specified. |
BigdataStatement |
createStatement(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.Resource c,
StatementEnum type)
Create a statement (core impl).
|
BigdataStatement |
createStatement(org.openrdf.model.Resource s,
org.openrdf.model.URI p,
org.openrdf.model.Value o,
org.openrdf.model.Resource c,
StatementEnum type,
boolean userFlag)
Create a statement (core impl).
|
BigdataURI |
createURI(String uriString) |
BigdataURI |
createURI(String namespace,
String localName) |
BigdataLiteral |
createXSDDateTime(long timestamp) |
String |
getNamespace()
The namespace of the KB instance associated with the value factory.
|
BigdataValueSerializer<BigdataValue> |
getValueSerializer()
An object that can efficiently (de-)serialize
Values using this
ValueFactory. |
BigdataValueFactory |
newBNodeContext()
Returns a factory that will assign its blank node IDs within a globally
unique namespace.
|
void |
remove()
Remove instance of valueFactory from static cache
|
String getNamespace()
void remove()
BigdataValueFactory newBNodeContext()
BigdataValues are
actually created by this factory, it is only the semantics of
blank node ID generation that are overridden.BNodeContextFactoryBigdataBNode createBNode()
createBNode in interface org.openrdf.model.ValueFactoryBigdataBNode createBNode(String id)
createBNode in interface org.openrdf.model.ValueFactoryBigdataBNode createBNode(BigdataStatement stmt)
BigdataLiteral createLiteral(String label)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(boolean arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(byte arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(short arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(int arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(long arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(byte arg0, boolean unsigned)
BigdataLiteral createLiteral(short arg0, boolean unsigned)
BigdataLiteral createLiteral(int arg0, boolean unsigned)
BigdataLiteral createLiteral(long arg0, boolean unsigned)
BigdataLiteral createLiteral(float arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(double arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(XMLGregorianCalendar arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(Date arg0)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createXSDDateTime(long timestamp)
BigdataLiteral createLiteral(String label, String language)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(String label, org.openrdf.model.URI datatype)
createLiteral in interface org.openrdf.model.ValueFactoryBigdataLiteral createLiteral(String label, org.openrdf.model.URI datatype, String language)
BigdataURI createURI(String uriString)
createURI in interface org.openrdf.model.ValueFactoryBigdataURI createURI(String namespace, String localName)
createURI in interface org.openrdf.model.ValueFactoryBigdataStatement createStatement(org.openrdf.model.Resource s, org.openrdf.model.URI p, org.openrdf.model.Value o)
StatementEnum is NOT specified.createStatement in interface org.openrdf.model.ValueFactoryBigdataStatement createStatement(org.openrdf.model.Resource s, org.openrdf.model.URI p, org.openrdf.model.Value o, org.openrdf.model.Resource c)
StatementEnum is NOT specified.createStatement in interface org.openrdf.model.ValueFactoryBigdataStatement createStatement(org.openrdf.model.Resource s, org.openrdf.model.URI p, org.openrdf.model.Value o, org.openrdf.model.Resource c, StatementEnum type)
BigdataValueFactory using
asValue(Value).s - The subject.p - The predicate.o - The object.c - The context (optional). Note: When non-null
and statement identifiers are enabled, then this will be a
blank node whose term identifier is the statement identifier.type - The statement type (optional).BigdataStatement createStatement(org.openrdf.model.Resource s, org.openrdf.model.URI p, org.openrdf.model.Value o, org.openrdf.model.Resource c, StatementEnum type, boolean userFlag)
BigdataValueFactory using
asValue(Value).s - The subject.p - The predicate.o - The object.c - The context (optional). Note: When non-null
and statement identifiers are enabled, then this will be a
blank node whose term identifier is the statement identifier.type - The statement type (optional).userFlag - The user flagBigdataValue asValue(org.openrdf.model.Value v)
Value into a BigdataValue. If the value is
already a BigdataValue and it was allocated by this
BigdataValueFactoryImpl then it is returned unchanged. Otherwise a
new BigdataValue will be creating using the same data as the
given value and the term identifier on the new BigdataValue will
be initialized to IRawTripleStore#NULL.
All BigdataValues created by a BigdataValueFactoryImpl
internally store a transient reference to the BigdataValueFactoryImpl.
This reference is used to decide if a BigdataValue MIGHT have
been created by a different lexicon (term identifiers generated by
different lexicons CAN NOT be used interchangeably). This has the effect
of protecting against incorrect use of the term identifier with a
database backed by a different lexicon while allowing reuse of the
BigdataValues when possible.
v - The value.BigdataValue with the same data. If the value is
null then null is returned.BigdataResource asValue(org.openrdf.model.Resource v)
Resources.BigdataURI asValue(org.openrdf.model.URI v)
URIs.BigdataLiteral asValue(org.openrdf.model.Literal v)
Literals.BigdataBNode asValue(org.openrdf.model.BNode v)
BNodes.BigdataValueSerializer<BigdataValue> getValueSerializer()
Values using this
ValueFactory. When the values are de-serialized they will have a
reference to this BigdataValueFactoryImpl. That reference can be
used to identify when two BigdataValues MIGHT be from different
lexicons.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.