public final class StardogValueFactory extends Object implements org.openrdf.model.ValueFactory
Implementation of a Sesame value factory for use by a Stardog store.
| Modifier and Type | Class and Description |
|---|---|
static class |
StardogValueFactory.Datatype
Enumeration of Stardog-supported XSD and RDF(S) datatypes.
|
static class |
StardogValueFactory.RDF |
static class |
StardogValueFactory.RDFS |
| Modifier and Type | Method and Description |
|---|---|
Namespaces |
concatNamespaces(Iterable<Namespaces> theNamespaces) |
org.openrdf.model.BNode |
createBNode() |
org.openrdf.model.BNode |
createBNode(String theId) |
org.openrdf.model.IRI |
createIRI(String iri) |
org.openrdf.model.IRI |
createIRI(String namespace,
String localName) |
org.openrdf.model.Literal |
createLazyParsedLiteral(String theLabel,
StardogValueFactory.Datatype theDatatype)
Creates a literal without parsing its label into a typed value (e.g.
|
org.openrdf.model.Literal |
createLiteral(BigDecimal theDecimal) |
org.openrdf.model.Literal |
createLiteral(BigInteger theInteger) |
org.openrdf.model.Literal |
createLiteral(boolean theBoolean) |
org.openrdf.model.Literal |
createLiteral(byte theByte) |
org.openrdf.model.Literal |
createLiteral(Date theDate) |
org.openrdf.model.Literal |
createLiteral(double theDouble) |
org.openrdf.model.Literal |
createLiteral(Duration aDuration) |
org.openrdf.model.Literal |
createLiteral(Duration theDuration,
org.openrdf.model.IRI theDurationType)
Create a Duration typed literal.
|
org.openrdf.model.Literal |
createLiteral(float theFloat) |
org.openrdf.model.Literal |
createLiteral(GregorianCalendar aCal) |
org.openrdf.model.Literal |
createLiteral(int theInt) |
org.openrdf.model.Literal |
createLiteral(int theValue,
StardogValueFactory.Datatype theDatatype) |
org.openrdf.model.Literal |
createLiteral(long theLong) |
org.openrdf.model.Literal |
createLiteral(long theValue,
StardogValueFactory.Datatype theDatatype) |
org.openrdf.model.Literal |
createLiteral(Number theNumber) |
org.openrdf.model.Literal |
createLiteral(short theShort) |
org.openrdf.model.Literal |
createLiteral(String theLabel) |
org.openrdf.model.Literal |
createLiteral(String theLabel,
org.openrdf.model.IRI theDatatype) |
org.openrdf.model.Literal |
createLiteral(String theLabel,
StardogValueFactory.Datatype theDatatype) |
org.openrdf.model.Literal |
createLiteral(String theLabel,
String theLang) |
org.openrdf.model.Literal |
createLiteral(XMLGregorianCalendar theCalendar) |
org.openrdf.model.Literal |
createLiteral(XMLGregorianCalendar theCalendar,
org.openrdf.model.IRI theDatatype)
Creates a calendar literal with the given datatype.
|
org.openrdf.model.Literal |
createLiteral(XMLGregorianCalendar theCal,
StardogValueFactory.Datatype theDatatype) |
org.openrdf.model.Namespace |
createNamespace(String thePrefix,
String theNamespace) |
Namespaces |
createNamespaces(Iterable<org.openrdf.model.Namespace> theNamespaces) |
Namespaces |
createNamespaces(Map<String,String> theMap) |
Namespaces |
createNamespaces(org.openrdf.model.Namespace theNamespace,
org.openrdf.model.Namespace... theOthers) |
org.openrdf.model.Statement |
createStatement(org.openrdf.model.Resource theSubj,
org.openrdf.model.IRI thePred,
org.openrdf.model.Value theObj) |
org.openrdf.model.Statement |
createStatement(org.openrdf.model.Resource theSubj,
org.openrdf.model.IRI thePred,
org.openrdf.model.Value theObject,
org.openrdf.model.Resource theContext) |
org.openrdf.model.URI |
createURI(String theURI) |
org.openrdf.model.URI |
createURI(String theNS,
String theLocalName) |
DatatypeFactory |
getDatatypeFactory() |
static StardogValueFactory |
instance() |
public static StardogValueFactory instance()
public org.openrdf.model.IRI createIRI(String iri)
createIRI in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.IRI createIRI(String namespace, String localName)
createIRI in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.URI createURI(String theURI)
createURI in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.URI createURI(String theNS, String theLocalName)
createURI in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.BNode createBNode()
createBNode in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.BNode createBNode(String theId)
createBNode in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(String theLabel)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(String theLabel, String theLang)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(String theLabel, org.openrdf.model.IRI theDatatype)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLazyParsedLiteral(String theLabel, StardogValueFactory.Datatype theDatatype)
theLabel - the labeltheDatatype - the datatypepublic org.openrdf.model.Literal createLiteral(String theLabel, StardogValueFactory.Datatype theDatatype)
public org.openrdf.model.Literal createLiteral(boolean theBoolean)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(byte theByte)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(short theShort)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(int theInt)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(long theValue,
StardogValueFactory.Datatype theDatatype)
public org.openrdf.model.Literal createLiteral(int theValue,
StardogValueFactory.Datatype theDatatype)
public org.openrdf.model.Literal createLiteral(long theLong)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(float theFloat)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(double theDouble)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(BigDecimal theDecimal)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(BigInteger theInteger)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(XMLGregorianCalendar theCalendar)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(XMLGregorianCalendar theCalendar, org.openrdf.model.IRI theDatatype)
XMLGregorianCalendar.getXMLSchemaType().public org.openrdf.model.Literal createLiteral(Date theDate)
createLiteral in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Literal createLiteral(XMLGregorianCalendar theCal, StardogValueFactory.Datatype theDatatype)
public org.openrdf.model.Literal createLiteral(GregorianCalendar aCal)
public DatatypeFactory getDatatypeFactory()
public org.openrdf.model.Literal createLiteral(Duration aDuration)
public org.openrdf.model.Literal createLiteral(Duration theDuration, org.openrdf.model.IRI theDurationType)
theDuration - the durationtheDurationType - the duration datatypepublic org.openrdf.model.Literal createLiteral(Number theNumber)
public org.openrdf.model.Statement createStatement(org.openrdf.model.Resource theSubj,
org.openrdf.model.IRI thePred,
org.openrdf.model.Value theObj)
createStatement in interface org.openrdf.model.ValueFactorypublic org.openrdf.model.Statement createStatement(org.openrdf.model.Resource theSubj,
org.openrdf.model.IRI thePred,
org.openrdf.model.Value theObject,
org.openrdf.model.Resource theContext)
createStatement in interface org.openrdf.model.ValueFactorypublic Namespaces createNamespaces(org.openrdf.model.Namespace theNamespace, org.openrdf.model.Namespace... theOthers)
public Namespaces concatNamespaces(Iterable<Namespaces> theNamespaces)
public Namespaces createNamespaces(Iterable<org.openrdf.model.Namespace> theNamespaces)
public org.openrdf.model.Namespace createNamespace(String thePrefix, String theNamespace)
public Namespaces createNamespaces(Map<String,String> theMap)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.