Uses of Interface
org.eclipse.rdf4j.model.Literal
Package
Description
The RDF Model API
Abstract base classes for RDF Model API interfaces.
Default implementations of the RDF model interfaces
Helper classes for working with RDF models.
Functions for casting values to various XML Schema datatypes
Implementations of
relevant to query evaluation.
invalid reference
Iteration
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
Rio: The RDF4J parser/writer API.
Various
DatatypeHandler
implementations.Provides helpers classes for Rio.
Various
LanguageHandler
implementations for processing language-tags.Parser/writer for the RDF/JSON format.
Parser/writer for the RDF/XML format.
Parser/writer for the TriX format.
Parser/writer for the Turtle format.
Lmdb implementations of the RDF Model interfaces.
A Sail implementation that supports full-text indexing via the Lucene API.
MemoryStore-specific implementations of the core RDF model objects.
The Native Store.
Native implementations of the RDF Model interfaces.
Core functions required for SPIN.
-
Uses of Literal in org.eclipse.rdf4j.federated.util
Modifier and TypeMethodDescriptionprotected static StringBuilder
FilterUtils.appendLiteral
(StringBuilder sb, Literal lit) protected static StringBuilder
QueryStringUtil.appendLiteral
(StringBuilder sb, Literal lit) Append the literal to the stringbuilder. -
Uses of Literal in org.eclipse.rdf4j.http.protocol.transaction
-
Uses of Literal in org.eclipse.rdf4j.model
Modifier and TypeMethodDescriptionValueFactory.createLiteral
(boolean value) Creates a new xsd:boolean-typed literal representing the specified value.ValueFactory.createLiteral
(byte value) Creates a new xsd:byte-typed literal representing the specified value.ValueFactory.createLiteral
(double value) Creates a new xsd:double-typed literal representing the specified value.ValueFactory.createLiteral
(float value) Creates a new xsd:float-typed literal representing the specified value.ValueFactory.createLiteral
(int value) Creates a new xsd:int-typed literal representing the specified value.ValueFactory.createLiteral
(long value) Creates a new xsd:long-typed literal representing the specified value.ValueFactory.createLiteral
(short value) Creates a new xsd:short-typed literal representing the specified value.ValueFactory.createLiteral
(String label) Creates a new literal with the supplied label.ValueFactory.createLiteral
(String label, String language) Creates a new literal with the supplied label and language attribute.ValueFactory.createLiteral
(String label, CoreDatatype datatype) Creates a new literal with the supplied label and datatype.ValueFactory.createLiteral
(String label, IRI datatype) Creates a new literal with the supplied label and datatype.ValueFactory.createLiteral
(String label, IRI datatype, CoreDatatype coreDatatype) Creates a new literal with the supplied label and datatype.ValueFactory.createLiteral
(BigDecimal bigDecimal) Creates a new literal representing the specified bigDecimal that is typed as an xsd:decimal.ValueFactory.createLiteral
(BigInteger bigInteger) Creates a new literal representing the specified bigInteger that is typed as an xsd:integer.default Literal
ValueFactory.createLiteral
(TemporalAccessor value) Creates a new literal representing a temporal accessor value.default Literal
ValueFactory.createLiteral
(TemporalAmount value) Creates a new literal representing a temporal amount value.ValueFactory.createLiteral
(Date date) Creates a new literal representing the specified date that is typed using the appropriate XML Schema date/time datatype.ValueFactory.createLiteral
(XMLGregorianCalendar calendar) Creates a new literal representing the specified calendar that is typed using the appropriate XML Schema date/time datatype. -
Uses of Literal in org.eclipse.rdf4j.model.base
Modifier and TypeMethodDescriptionAbstractValueFactory.createLiteral
(boolean value) AbstractValueFactory.createLiteral
(byte value) AbstractValueFactory.createLiteral
(double value) AbstractValueFactory.createLiteral
(float value) AbstractValueFactory.createLiteral
(int value) AbstractValueFactory.createLiteral
(long value) AbstractValueFactory.createLiteral
(short value) AbstractValueFactory.createLiteral
(String label) AbstractValueFactory.createLiteral
(String label, String language) AbstractValueFactory.createLiteral
(String label, CoreDatatype datatype) AbstractValueFactory.createLiteral
(String label, IRI datatype) AbstractValueFactory.createLiteral
(String label, IRI datatype, CoreDatatype coreDatatype) AbstractValueFactory.createLiteral
(BigDecimal bigDecimal) AbstractValueFactory.createLiteral
(BigInteger bigInteger) AbstractValueFactory.createLiteral
(TemporalAccessor value) AbstractValueFactory.createLiteral
(TemporalAmount value) AbstractValueFactory.createLiteral
(Date date) AbstractValueFactory.createLiteral
(XMLGregorianCalendar calendar) -
Uses of Literal in org.eclipse.rdf4j.model.impl
Modifier and TypeClassDescriptionclass
An extension ofSimpleLiteral
that stores a boolean value to avoid parsing.class
An extension ofSimpleLiteral
that stores a calendar value to avoid parsing.class
An extension ofSimpleLiteral
that stores an integer value using aBigDecimal
object.class
An extension ofSimpleLiteral
that stores an integer value using aBigInteger
object.class
An extension ofAbstractLiteral
that stores a numeric value to avoid parsing.class
A simple default implementation of theLiteral
interface.Modifier and TypeMethodDescriptionprotected Literal
SimpleValueFactory.createFPLiteral
(Number value, IRI datatype) CallsSimpleValueFactory.createNumericLiteral(Number, IRI)
with the supplied value and datatype as parameters.protected Literal
SimpleValueFactory.createFPLiteral
(Number value, XSD.Datatype datatype) protected Literal
SimpleValueFactory.createIntegerLiteral
(Number value, IRI datatype) CallsSimpleValueFactory.createNumericLiteral(Number, IRI)
with the supplied value and datatype as parameters.protected Literal
SimpleValueFactory.createIntegerLiteral
(Number value, XSD.Datatype datatype) SimpleValueFactory.createLiteral
(boolean b) SimpleValueFactory.createLiteral
(byte value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.BYTE
as parameters.SimpleValueFactory.createLiteral
(double value) CallsSimpleValueFactory.createFPLiteral(Number, IRI)
with the supplied value andXSD.DOUBLE
as parameters.SimpleValueFactory.createLiteral
(float value) CallsSimpleValueFactory.createFPLiteral(Number, IRI)
with the supplied value andXSD.FLOAT
as parameters.SimpleValueFactory.createLiteral
(int value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.INT
as parameters.SimpleValueFactory.createLiteral
(long value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.LONG
as parameters.SimpleValueFactory.createLiteral
(short value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.SHORT
as parameters.SimpleValueFactory.createLiteral
(String value) SimpleValueFactory.createLiteral
(String value, String language) SimpleValueFactory.createLiteral
(String value, IRI datatype) SimpleValueFactory.createLiteral
(BigDecimal bigDecimal) SimpleValueFactory.createLiteral
(BigInteger bigInteger) SimpleValueFactory.createLiteral
(Date date) Converts the suppliedDate
to aXMLGregorianCalendar
, then callsValueFactory.createLiteral(XMLGregorianCalendar)
.SimpleValueFactory.createLiteral
(XMLGregorianCalendar calendar) CallsValueFactory.createLiteral(String, IRI)
with the String-value of the supplied calendar and the appropriate datatype as parameters.ValidatingValueFactory.createLiteral
(boolean value) ValidatingValueFactory.createLiteral
(byte value) ValidatingValueFactory.createLiteral
(double value) ValidatingValueFactory.createLiteral
(float value) ValidatingValueFactory.createLiteral
(int value) ValidatingValueFactory.createLiteral
(long value) ValidatingValueFactory.createLiteral
(short value) ValidatingValueFactory.createLiteral
(String label) ValidatingValueFactory.createLiteral
(String label, String language) ValidatingValueFactory.createLiteral
(String label, CoreDatatype datatype) ValidatingValueFactory.createLiteral
(String label, IRI datatype) ValidatingValueFactory.createLiteral
(String label, IRI datatype, CoreDatatype coreDatatype) ValidatingValueFactory.createLiteral
(BigDecimal bigDecimal) ValidatingValueFactory.createLiteral
(BigInteger bigInteger) ValidatingValueFactory.createLiteral
(TemporalAccessor value) ValidatingValueFactory.createLiteral
(TemporalAmount value) ValidatingValueFactory.createLiteral
(Date date) ValidatingValueFactory.createLiteral
(XMLGregorianCalendar calendar) protected Literal
SimpleValueFactory.createNumericLiteral
(Number number, CoreDatatype datatype) protected Literal
SimpleValueFactory.createNumericLiteral
(Number number, IRI datatype) Creates specific optimized subtypes of SimpleLiteral for numeric datatypes.protected Literal
SimpleValueFactory.createNumericLiteral
(Number number, XSD.Datatype datatype) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Literal in org.eclipse.rdf4j.model.util
Modifier and TypeMethodDescriptionstatic Literal
Literals.createLiteral
(ValueFactory valueFactory, Object object) Deprecated.static Literal
Literals.createLiteralOrFail
(ValueFactory valueFactory, Object object) Deprecated.UseValues.literal(Object, boolean)
instead.static Literal
Values.literal
(boolean booleanValue) Creates a newLiteral
with the supplied boolean valuestatic Literal
Values.literal
(byte byteValue) Creates a newLiteral
with the supplied byte valuestatic Literal
Values.literal
(double doubleValue) Creates a newLiteral
with the supplied double valuestatic Literal
Values.literal
(float floatValue) Creates a newLiteral
with the supplied float valuestatic Literal
Values.literal
(int intValue) Creates a newLiteral
with the supplied int valuestatic Literal
Values.literal
(long longValue) Creates a newLiteral
with the supplied long valuestatic Literal
Values.literal
(short shortValue) Creates a newLiteral
with the supplied short valuestatic Literal
static Literal
static Literal
Creates a newLiteral
with the supplied lexical value.static Literal
Creates a newLiteral
with the supplied lexical value.static Literal
Values.literal
(String lexicalValue, CoreDatatype datatype) Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values.literal
(BigDecimal bigDecimal) Creates a newLiteral
with the suppliedBigDecimal
valuestatic Literal
Values.literal
(BigInteger bigInteger) Creates a newLiteral
with the suppliedBigInteger
valuestatic Literal
Values.literal
(TemporalAccessor value) Creates a newLiteral
with the suppliedTemporalAccessor
valuestatic Literal
Values.literal
(ValueFactory vf, boolean booleanValue) Creates a newLiteral
with the supplied boolean valuestatic Literal
Values.literal
(ValueFactory vf, byte byteValue) Creates a newLiteral
with the supplied byte valuestatic Literal
Values.literal
(ValueFactory vf, double doubleValue) Creates a newLiteral
with the supplied double valuestatic Literal
Values.literal
(ValueFactory vf, float floatValue) Creates a newLiteral
with the supplied float valuestatic Literal
Values.literal
(ValueFactory vf, int intValue) Creates a newLiteral
with the supplied int valuestatic Literal
Values.literal
(ValueFactory vf, long longValue) Creates a newLiteral
with the supplied long valuestatic Literal
Values.literal
(ValueFactory vf, short shortValue) Creates a newLiteral
with the supplied short valuestatic Literal
Values.literal
(ValueFactory vf, Object object, boolean failOnUnknownType) static Literal
Values.literal
(ValueFactory vf, String lexicalValue) Creates a newLiteral
with the supplied lexical value.static Literal
Values.literal
(ValueFactory vf, String lexicalValue, String languageTag) Creates a newLiteral
with the supplied lexical value.static Literal
Values.literal
(ValueFactory vf, String lexicalValue, CoreDatatype datatype) Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values.literal
(ValueFactory vf, String lexicalValue, IRI datatype) Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values.literal
(ValueFactory vf, BigDecimal bigDecimal) Creates a newLiteral
with the suppliedBigDecimal
valuestatic Literal
Values.literal
(ValueFactory vf, BigInteger bigInteger) Creates a newLiteral
with the suppliedBigInteger
valuestatic Literal
Values.literal
(ValueFactory vf, TemporalAccessor value) Creates a newLiteral
with the suppliedTemporalAccessor
valueModifier and TypeMethodDescriptionConfigurations.getLiteralValue
(Model model, Resource subject, IRI property, IRI legacyProperty) Retrieve a property value for the supplied subject as aLiteral
if present, falling back to a supplied legacy property .Models.getPropertyLiteral
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as aLiteral
for the supplied subject from the given model.Models.getPropertyLiterals
(Model m, Resource subject, IRI property, Resource... contexts) Retrieve all property Literal values for the supplied subject and property from the given model.Models.objectLiteral
(Iterable<Statement> statements) Retrieves an objectLiteral
value from the supplied statements.Models.objectLiteral
(Model m) Retrieves an objectLiteral
value from the statements in the given model.Models.objectLiterals
(Iterable<Statement> statements) Retrieves all objectLiteral
values from the supplied statements.Models.objectLiterals
(Model m) Retrieves all objectLiteral
values from the statements in the given model.Modifier and TypeMethodDescriptionstatic boolean
Literals.getBooleanValue
(Literal l, boolean fallback) Gets the boolean value of the supplied literal.static byte
Literals.getByteValue
(Literal l, byte fallback) Gets the byte value of the supplied literal.static XMLGregorianCalendar
Literals.getCalendarValue
(Literal l, XMLGregorianCalendar fallback) Gets the calendar value of the supplied literal.static BigDecimal
Literals.getDecimalValue
(Literal l, BigDecimal fallback) Gets the decimal value of the supplied literal.static double
Literals.getDoubleValue
(Literal l, double fallback) Gets the double value of the supplied literal.static Duration
Literals.getDurationValue
(Literal l, Duration fallback) Gets theDuration
value of the supplied literal.static float
Literals.getFloatValue
(Literal l, float fallback) Gets the float value of the supplied literal.static BigInteger
Literals.getIntegerValue
(Literal l, BigInteger fallback) Gets the integer value of the supplied literal.static int
Literals.getIntValue
(Literal l, int fallback) Gets the int value of the supplied literal.static String
Gets the label of the supplied literal.static long
Literals.getLongValue
(Literal l, long fallback) Gets the long value of the supplied literal.static short
Literals.getShortValue
(Literal l, short fallback) Gets the short value of the supplied literal.static Optional
<XSD.Datatype> Literals.getXsdDatatype
(Literal l) Deprecated, for removal: This API element is subject to removal in a future version.UsegetCoreDatatype()
instead.static boolean
Literals.isLanguageLiteral
(Literal literal) Helper method to determine whether a literal is a language literal, and not a typed literal. -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.stdev
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.variance
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.datetime
Modifier and TypeMethodDescriptionDay.evaluate
(ValueFactory valueFactory, Value... args) Hours.evaluate
(ValueFactory valueFactory, Value... args) Minutes.evaluate
(ValueFactory valueFactory, Value... args) Month.evaluate
(ValueFactory valueFactory, Value... args) Now.evaluate
(ValueFactory valueFactory, Value... args) Seconds.evaluate
(ValueFactory valueFactory, Value... args) Timezone.evaluate
(ValueFactory valueFactory, Value... args) Tz.evaluate
(ValueFactory valueFactory, Value... args) Year.evaluate
(ValueFactory valueFactory, Value... args) -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.hash
Modifier and TypeMethodDescriptionabstract Literal
HashFunction.evaluate
(ValueFactory valueFactory, Value... args) MD5.evaluate
(ValueFactory valueFactory, Value... args) SHA1.evaluate
(ValueFactory valueFactory, Value... args) SHA256.evaluate
(ValueFactory valueFactory, Value... args) SHA384.evaluate
(ValueFactory valueFactory, Value... args) SHA512.evaluate
(ValueFactory valueFactory, Value... args) -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.numeric
Modifier and TypeMethodDescriptionAbs.evaluate
(ValueFactory valueFactory, Value... args) Ceil.evaluate
(ValueFactory valueFactory, Value... args) Floor.evaluate
(ValueFactory valueFactory, Value... args) Rand.evaluate
(ValueFactory valueFactory, Value... args) Round.evaluate
(ValueFactory valueFactory, Value... args) -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.rdfterm
Modifier and TypeMethodDescriptionStrDt.evaluate
(ValueFactory valueFactory, Value... args) StrLang.evaluate
(ValueFactory valueFactory, Value... args) STRUUID.evaluate
(ValueFactory valueFactory, Value... args) -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.string
Modifier and TypeMethodDescriptionConcat.evaluate
(ValueFactory valueFactory, Value... args) Contains.evaluate
(ValueFactory valueFactory, Value... args) EncodeForUri.evaluate
(ValueFactory valueFactory, Value... args) LowerCase.evaluate
(ValueFactory valueFactory, Value... args) Replace.evaluate
(ValueFactory valueFactory, Value... args) StrAfter.evaluate
(ValueFactory valueFactory, Value... args) StrBefore.evaluate
(ValueFactory valueFactory, Value... args) StrEnds.evaluate
(ValueFactory valueFactory, Value... args) StrLen.evaluate
(ValueFactory valueFactory, Value... args) StrStarts.evaluate
(ValueFactory valueFactory, Value... args) Substring.evaluate
(ValueFactory valueFactory, Value... args) UpperCase.evaluate
(ValueFactory valueFactory, Value... args) -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.xsd
Modifier and TypeMethodDescriptionprotected Literal
BooleanCast.convert
(ValueFactory valueFactory, Value value) protected abstract Literal
CastFunction.convert
(ValueFactory vf, Value v) Convert the supplied value to a literal of the function output datatype.protected Literal
DateCast.convert
(ValueFactory vf, Value value) protected Literal
DateTimeCast.convert
(ValueFactory vf, Value value) protected Literal
DecimalCast.convert
(ValueFactory valueFactory, Value value) protected Literal
DoubleCast.convert
(ValueFactory valueFactory, Value value) protected Literal
FloatCast.convert
(ValueFactory valueFactory, Value value) protected Literal
IntegerCastFunction.convert
(ValueFactory valueFactory, Value value) protected Literal
StringCast.convert
(ValueFactory valueFactory, Value value) CastFunction.evaluate
(ValueFactory valueFactory, Value... args) StringCast.evaluate
(ValueFactory valueFactory, Value... args) Modifier and TypeMethodDescriptionByteCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) IntCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) IntegerCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) IntegerCastFunction.createTypedLiteral
(ValueFactory vf, boolean booleanValue) create aLiteral
with the specific datatype for the supplied boolean value.IntegerCastFunction.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) create aLiteral
with the specific datatype for the suppliedBigInteger
value.LongCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) NegativeIntegerCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) NonNegativeIntegerCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) NonPositiveIntegerCast.createTypedLiteral
(ValueFactory vf, boolean booleanValue) NonPositiveIntegerCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) PositiveIntegerCast.createTypedLiteral
(ValueFactory vf, boolean booleanValue) PositiveIntegerCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) ShortCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) UnsignedByteCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) UnsignedIntCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) UnsignedLongCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) UnsignedShortCast.createTypedLiteral
(ValueFactory vf, BigInteger integerValue) -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.impl
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.iterator
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.util
Modifier and TypeMethodDescriptionstatic Literal
MathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op) static Literal
MathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf) Computes the result of applying the supplied math operator on the supplied left and right operand.static Literal
XMLDatatypeMathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op) Computes the result of applying the supplied math operator on the supplied left and right operand.static Literal
XMLDatatypeMathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf) Computes the result of applying the supplied math operator on the supplied left and right operand.Modifier and TypeMethodDescriptionTripleSources.getObjectLiterals
(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.Modifier and TypeMethodDescriptionstatic boolean
QueryEvaluationUtil.compareLiterals
(Literal leftLit, Literal rightLit, Compare.CompareOp operator) Compares the suppliedLiteral
arguments using the supplied operator, using strict (minimally-conforming) SPARQL 1.1 operator behavior.static boolean
QueryEvaluationUtil.compareLiterals
(Literal leftLit, Literal rightLit, Compare.CompareOp operator, boolean strict) Compares the suppliedLiteral
arguments using the supplied operator.static org.eclipse.rdf4j.query.algebra.evaluation.util.QueryEvaluationUtility.Order
QueryEvaluationUtility.compareLiterals
(Literal leftLit, Literal rightLit, boolean strict) QueryEvaluationUtility.compareLiterals
(Literal leftLit, Literal rightLit, Compare.CompareOp operator) Compares the suppliedLiteral
arguments using the supplied operator, using strict (minimally-conforming) SPARQL 1.1 operator behavior.QueryEvaluationUtility.compareLiterals
(Literal leftLit, Literal rightLit, Compare.CompareOp operator, boolean strict) Compares the suppliedLiteral
arguments using the supplied operator.static boolean
QueryEvaluationUtil.compatibleArguments
(Literal arg1, Literal arg2) Checks whether the supplied two literal arguments are 'argument compatible' according to the SPARQL definition.static boolean
QueryEvaluationUtility.compatibleArguments
(Literal arg1, Literal arg2) Checks whether the supplied two literal arguments are 'argument compatible' according to the SPARQL definition.static Literal
MathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op) static Literal
MathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf) Computes the result of applying the supplied math operator on the supplied left and right operand.static Literal
XMLDatatypeMathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op) Computes the result of applying the supplied math operator on the supplied left and right operand.static Literal
XMLDatatypeMathUtil.compute
(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf) Computes the result of applying the supplied math operator on the supplied left and right operand.static boolean
QueryEvaluationUtil.isPlainLiteral
(Literal l) static boolean
QueryEvaluationUtility.isPlainLiteral
(Literal l) static boolean
QueryEvaluationUtil.isSimpleLiteral
(Literal l) Checks whether the supplied literal is a "simple literal".static boolean
QueryEvaluationUtility.isSimpleLiteral
(Literal l) Checks whether the supplied literal is a "simple literal".static boolean
QueryEvaluationUtil.isStringLiteral
(Literal l) Checks whether the supplied literal is a "string literal".static boolean
QueryEvaluationUtility.isStringLiteral
(Literal l) Checks whether the supplied literal is a "string literal". -
Uses of Literal in org.eclipse.rdf4j.query.dawg
-
Uses of Literal in org.eclipse.rdf4j.query.resultio.text.tsv
Modifier and TypeMethodDescriptionprotected Literal
SPARQLResultsTSVMappingStrategy.parseLiteral
(String literal) Parses a literal, creates an object for it and returns this object. -
Uses of Literal in org.eclipse.rdf4j.rio
Modifier and TypeMethodDescriptionDatatypeHandler.normalizeDatatype
(String literalValue, IRI datatypeUri, ValueFactory valueFactory) Normalize both the datatype URI and the literal value if appropriate, and use the given value factory to generate a literal matching a literal value and datatype URI.LanguageHandler.normalizeLanguage
(String literalValue, String languageTag, ValueFactory valueFactory) Normalize both the language tag and the language if appropriate, and use the given value factory to generate a literal matching the literal value and language tag. -
Uses of Literal in org.eclipse.rdf4j.rio.datatypes
Modifier and TypeMethodDescriptionDBPediaDatatypeHandler.normalizeDatatype
(String literalValue, IRI datatypeUri, ValueFactory valueFactory) GeoSPARQLDatatypeHandler.normalizeDatatype
(String literalValue, IRI datatypeUri, ValueFactory valueFactory) RDFDatatypeHandler.normalizeDatatype
(String literalValue, IRI datatypeUri, ValueFactory valueFactory) VirtuosoGeometryDatatypeHandler.normalizeDatatype
(String literalValue, IRI datatypeUri, ValueFactory valueFactory) XMLSchemaDatatypeHandler.normalizeDatatype
(String literalValue, IRI datatypeUri, ValueFactory valueFactory) -
Uses of Literal in org.eclipse.rdf4j.rio.helpers
Modifier and TypeMethodDescriptionprotected Literal
AbstractRDFParser.createLiteral
(String label, String lang, IRI datatype) Creates aLiteral
object with the supplied parameters.protected Literal
AbstractRDFParser.createLiteral
(String label, String lang, IRI datatype, long lineNo, long columnNo) Creates aLiteral
object with the supplied parameters, using the lineNo and columnNo to enhance error messages or exceptions that may be generated during the creation of the literal.static final Literal
RDFParserHelper.createLiteral
(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory) Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandler
orLanguageHandler
implementations that are found in theParserConfig
.static Literal
RDFParserHelper.createLiteral
(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory, long lineNo, long columnNo) Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandler
orLanguageHandler
implementations that are found in theParserConfig
.static Literal
NTriplesUtil.parseLiteral
(String nTriplesLiteral, ValueFactory valueFactory) Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this object.Modifier and TypeMethodDescriptionstatic void
NTriplesUtil.append
(Literal lit, Appendable appendable) Appends the N-Triples representation of the givenLiteral
to the givenAppendable
.static void
NTriplesUtil.append
(Literal lit, Appendable appendable, boolean xsdStringToPlainLiteral, boolean escapeUnicode) Appends the N-Triples representation of the givenLiteral
to the givenAppendable
, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1.static String
NTriplesUtil.toNTriplesString
(Literal lit) Creates an N-Triples string for the supplied literal.static String
NTriplesUtil.toNTriplesString
(Literal lit, boolean xsdStringToPlainLiteral) Creates an N-Triples string for the supplied literal, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1. -
Uses of Literal in org.eclipse.rdf4j.rio.languages
Modifier and TypeMethodDescriptionBCP47LanguageHandler.normalizeLanguage
(String literalValue, String languageTag, ValueFactory valueFactory) RFC3066LanguageHandler.normalizeLanguage
(String literalValue, String languageTag, ValueFactory valueFactory) -
Uses of Literal in org.eclipse.rdf4j.rio.rdfjson
Modifier and TypeMethodDescriptionprotected Literal
RDFJSONParser.createLiteral
(String label, String language, IRI datatype, com.fasterxml.jackson.core.JsonLocation currentLocation) Creates a literal, using the current value, language, and datatype, and additionally using the givenJsonLocation
to provide information about the line and column numbers in the event of a warning, error or exception being generated by the creation of the literal. -
Uses of Literal in org.eclipse.rdf4j.rio.rdfxml
Modifier and TypeMethodDescriptionprotected Literal
RDFXMLParser.createLiteral
(String label, String lang, IRI datatype) -
Uses of Literal in org.eclipse.rdf4j.rio.trix
Modifier and TypeMethodDescriptionprotected Literal
TriXParser.createLiteral
(String label, String lang, IRI datatype) -
Uses of Literal in org.eclipse.rdf4j.rio.turtle
Modifier and TypeMethodDescriptionprotected Literal
TurtleParser.parseNumber()
protected Literal
TurtleParser.parseQuotedLiteral()
Parses a quoted string, optionally followed by a language tag or datatype. -
Uses of Literal in org.eclipse.rdf4j.sail.lmdb.model
-
Uses of Literal in org.eclipse.rdf4j.sail.lucene
Modifier and TypeMethodDescriptionstatic Literal
SearchFields.distanceToLiteral
(double d) DistanceQuerySpec.getFrom()
GeoRelationQuerySpec.getQueryGeometry()
static Literal
SearchFields.scoreToLiteral
(float score) Returns a score value encoded as a Literal.static Literal
SearchFields.wktToLiteral
(String wkt) Modifier and TypeMethodDescriptionboolean
Returns whether the provided literal is accepted by the LuceneIndex to be indexed.boolean
Returns whether the provided literal is accepted by the LuceneIndex to be indexed.void
void
GeoRelationQuerySpec.setQueryGeometry
(Literal shape) -
Uses of Literal in org.eclipse.rdf4j.sail.memory.model
Modifier and TypeClassDescriptionclass
An extension of MemLiteral that stores a boolean value to avoid parsing.class
An extension of MemLiteral that stores a Calendar value to avoid parsing.class
An extension of MemLiteral that stores a decimal value to avoid parsing.class
An extension of MemLiteral that stores an integer value to avoid parsing.class
A MemoryStore-specific extension of Literal giving it node properties.class
An extension of MemLiteral that stores a numeric value to avoid parsing.Modifier and TypeMethodDescriptionMemValueFactory.createLiteral
(boolean value) MemValueFactory.createLiteral
(String value) MemValueFactory.createLiteral
(String value, String language) MemValueFactory.createLiteral
(String value, CoreDatatype datatype) MemValueFactory.createLiteral
(String value, IRI datatype) MemValueFactory.createLiteral
(XMLGregorianCalendar calendar) Modifier and TypeMethodDescriptionMemValueFactory.getMemLiteral
(Literal literal) See getMemValue() for description.MemValueFactory.getOrCreateMemLiteral
(Literal literal) SeeMemValueFactory.getOrCreateMemValue(Value)
for description. -
Uses of Literal in org.eclipse.rdf4j.sail.nativerdf
Modifier and TypeMethodDescriptionValueStore.getNativeLiteral
(Literal l) Creates an NativeLiteral that is equal to the supplied literal. -
Uses of Literal in org.eclipse.rdf4j.sail.nativerdf.model
-
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents
Modifier and TypeMethodDescriptionAndConstraintComponent.getDefaultMessage()
ClassConstraintComponent.getDefaultMessage()
ClosedConstraintComponent.getDefaultMessage()
ConstraintComponent.getDefaultMessage()
DashHasValueInConstraintComponent.getDefaultMessage()
DatatypeConstraintComponent.getDefaultMessage()
DisjointConstraintComponent.getDefaultMessage()
EqualsConstraintComponent.getDefaultMessage()
HasValueConstraintComponent.getDefaultMessage()
InConstraintComponent.getDefaultMessage()
LanguageInConstraintComponent.getDefaultMessage()
LessThanConstraintComponent.getDefaultMessage()
LessThanOrEqualsConstraintComponent.getDefaultMessage()
MaxCountConstraintComponent.getDefaultMessage()
MaxExclusiveConstraintComponent.getDefaultMessage()
MaxInclusiveConstraintComponent.getDefaultMessage()
MaxLengthConstraintComponent.getDefaultMessage()
MinCountConstraintComponent.getDefaultMessage()
MinExclusiveConstraintComponent.getDefaultMessage()
MinInclusiveConstraintComponent.getDefaultMessage()
MinLengthConstraintComponent.getDefaultMessage()
NodeKindConstraintComponent.getDefaultMessage()
NotConstraintComponent.getDefaultMessage()
OrConstraintComponent.getDefaultMessage()
PatternConstraintComponent.getDefaultMessage()
QualifiedMaxCountConstraintComponent.getDefaultMessage()
QualifiedMinCountConstraintComponent.getDefaultMessage()
SparqlConstraintComponent.getDefaultMessage()
UniqueLangConstraintComponent.getDefaultMessage()
XoneConstraintComponent.getDefaultMessage()
ModifierConstructorDescriptionMaxExclusiveConstraintComponent
(Literal maxExclusive) MaxInclusiveConstraintComponent
(Literal maxInclusive) MinExclusiveConstraintComponent
(Literal minExclusive) MinInclusiveConstraintComponent
(Literal minInclusive) -
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.planNodes
ModifierConstructorDescriptionLiteralComparatorFilter
(PlanNode parent, Literal compareTo, Compare.CompareOp compareOp) -
Uses of Literal in org.eclipse.rdf4j.spin.function
-
Uses of Literal in org.eclipse.rdf4j.testsuite.model
-
Uses of Literal in org.eclipse.rdf4j.testsuite.repository
Modifier and TypeFieldDescriptionprotected Literal
RepositoryConnectionTest.mboxAlice
protected Literal
RepositoryTest.mboxAlice
protected Literal
RepositoryConnectionTest.mboxBob
protected Literal
RepositoryTest.mboxBob
protected Literal
RepositoryConnectionTest.nameAlice
protected Literal
RepositoryTest.nameAlice
protected Literal
RepositoryConnectionTest.nameBob
protected Literal
RepositoryTest.nameBob
protected Literal
RepositoryConnectionTest.Александър
protected Literal
RepositoryTest.Александър
-
Uses of Literal in org.eclipse.rdf4j.testsuite.repository.optimistic
Modifier and TypeMethodDescriptionprotected Literal
IsolationLevelTest.readLiteral
(RepositoryConnection con, IRI subj, IRI pred) -
Uses of Literal in org.eclipse.rdf4j.testsuite.sail
Modifier and TypeMethodDescriptionprotected Literal
SailIsolationLevelTest.readLiteral
(SailConnection con, IRI subj, IRI pred) -
Uses of Literal in org.eclipse.testsuite.rdf4j.sail.lucene
Modifier and TypeFieldDescriptionstatic final Literal
AbstractLuceneSailGeoSPARQLTest.ARC_TRIOMPHE
static final Literal
AbstractLuceneSailGeoSPARQLTest.EIFFEL_TOWER
static final Literal
AbstractLuceneSailGeoSPARQLTest.NOTRE_DAME
static final Literal
AbstractLuceneSailGeoSPARQLTest.POLY1
static final Literal
AbstractLuceneSailGeoSPARQLTest.POLY2
static final Literal
AbstractLuceneSailGeoSPARQLTest.TEST_POINT
static final Literal
AbstractLuceneSailGeoSPARQLTest.TEST_POLY
Values.literal(Object)
instead.