Uses of Interface
org.eclipse.rdf4j.model.Literal
Packages that use 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
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
Methods in org.eclipse.rdf4j.federated.util that return LiteralMethods in org.eclipse.rdf4j.federated.util with parameters of type LiteralModifier and TypeMethodDescriptionprotected static StringBuilderFilterUtils.appendLiteral(StringBuilder sb, Literal lit) protected static StringBuilderQueryStringUtil.appendLiteral(StringBuilder sb, Literal lit) Append the literal to the stringbuilder. -
Uses of Literal in org.eclipse.rdf4j.http.protocol.transaction
Methods in org.eclipse.rdf4j.http.protocol.transaction with parameters of type Literal -
Uses of Literal in org.eclipse.rdf4j.model
Methods in org.eclipse.rdf4j.model that return LiteralModifier 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 LiteralValueFactory.createLiteral(TemporalAccessor value) Creates a new literal representing a temporal accessor value.default LiteralValueFactory.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
Classes in org.eclipse.rdf4j.model.base that implement LiteralMethods in org.eclipse.rdf4j.model.base that return LiteralModifier 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
Classes in org.eclipse.rdf4j.model.impl that implement LiteralModifier and TypeClassDescriptionclassAn extension ofSimpleLiteralthat stores a boolean value to avoid parsing.classAn extension ofSimpleLiteralthat stores a calendar value to avoid parsing.classAn extension ofSimpleLiteralthat stores an integer value using aBigDecimalobject.classAn extension ofSimpleLiteralthat stores an integer value using aBigIntegerobject.classAn extension ofAbstractLiteralthat stores a numeric value to avoid parsing.classA simple default implementation of theLiteralinterface.Methods in org.eclipse.rdf4j.model.impl that return LiteralModifier and TypeMethodDescriptionprotected LiteralSimpleValueFactory.createFPLiteral(Number value, IRI datatype) CallsSimpleValueFactory.createNumericLiteral(Number, IRI)with the supplied value and datatype as parameters.protected LiteralSimpleValueFactory.createFPLiteral(Number value, XSD.Datatype datatype) protected LiteralSimpleValueFactory.createIntegerLiteral(Number value, IRI datatype) CallsSimpleValueFactory.createNumericLiteral(Number, IRI)with the supplied value and datatype as parameters.protected LiteralSimpleValueFactory.createIntegerLiteral(Number value, XSD.Datatype datatype) SimpleValueFactory.createLiteral(boolean b) SimpleValueFactory.createLiteral(byte value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.BYTEas parameters.SimpleValueFactory.createLiteral(double value) CallsSimpleValueFactory.createFPLiteral(Number, IRI)with the supplied value andXSD.DOUBLEas parameters.SimpleValueFactory.createLiteral(float value) CallsSimpleValueFactory.createFPLiteral(Number, IRI)with the supplied value andXSD.FLOATas parameters.SimpleValueFactory.createLiteral(int value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.INTas parameters.SimpleValueFactory.createLiteral(long value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.LONGas parameters.SimpleValueFactory.createLiteral(short value) CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.SHORTas 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 suppliedDateto 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 LiteralSimpleValueFactory.createNumericLiteral(Number number, CoreDatatype datatype) protected LiteralSimpleValueFactory.createNumericLiteral(Number number, IRI datatype) Creates specific optimized subtypes of SimpleLiteral for numeric datatypes.protected LiteralSimpleValueFactory.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
Methods in org.eclipse.rdf4j.model.util that return LiteralModifier and TypeMethodDescriptionstatic LiteralLiterals.createLiteral(ValueFactory valueFactory, Object object) Deprecated.static LiteralLiterals.createLiteralOrFail(ValueFactory valueFactory, Object object) Deprecated.UseValues.literal(Object, boolean)instead.static LiteralValues.literal(boolean booleanValue) Creates a newLiteralwith the supplied boolean valuestatic LiteralValues.literal(byte byteValue) Creates a newLiteralwith the supplied byte valuestatic LiteralValues.literal(double doubleValue) Creates a newLiteralwith the supplied double valuestatic LiteralValues.literal(float floatValue) Creates a newLiteralwith the supplied float valuestatic LiteralValues.literal(int intValue) Creates a newLiteralwith the supplied int valuestatic LiteralValues.literal(long longValue) Creates a newLiteralwith the supplied long valuestatic LiteralValues.literal(short shortValue) Creates a newLiteralwith the supplied short valuestatic Literalstatic Literalstatic LiteralCreates a newLiteralwith the supplied lexical value.static LiteralCreates a newLiteralwith the supplied lexical value.static LiteralValues.literal(String lexicalValue, CoreDatatype datatype) Creates a newLiteralwith the supplied lexical value and datatype.static LiteralCreates a newLiteralwith the supplied lexical value and datatype.static LiteralValues.literal(BigDecimal bigDecimal) Creates a newLiteralwith the suppliedBigDecimalvaluestatic LiteralValues.literal(BigInteger bigInteger) Creates a newLiteralwith the suppliedBigIntegervaluestatic LiteralValues.literal(TemporalAccessor value) Creates a newLiteralwith the suppliedTemporalAccessorvaluestatic LiteralValues.literal(ValueFactory vf, boolean booleanValue) Creates a newLiteralwith the supplied boolean valuestatic LiteralValues.literal(ValueFactory vf, byte byteValue) Creates a newLiteralwith the supplied byte valuestatic LiteralValues.literal(ValueFactory vf, double doubleValue) Creates a newLiteralwith the supplied double valuestatic LiteralValues.literal(ValueFactory vf, float floatValue) Creates a newLiteralwith the supplied float valuestatic LiteralValues.literal(ValueFactory vf, int intValue) Creates a newLiteralwith the supplied int valuestatic LiteralValues.literal(ValueFactory vf, long longValue) Creates a newLiteralwith the supplied long valuestatic LiteralValues.literal(ValueFactory vf, short shortValue) Creates a newLiteralwith the supplied short valuestatic LiteralValues.literal(ValueFactory vf, Object object, boolean failOnUnknownType) static LiteralValues.literal(ValueFactory vf, String lexicalValue) Creates a newLiteralwith the supplied lexical value.static LiteralValues.literal(ValueFactory vf, String lexicalValue, String languageTag) Creates a newLiteralwith the supplied lexical value.static LiteralValues.literal(ValueFactory vf, String lexicalValue, CoreDatatype datatype) Creates a newLiteralwith the supplied lexical value and datatype.static LiteralValues.literal(ValueFactory vf, String lexicalValue, IRI datatype) Creates a newLiteralwith the supplied lexical value and datatype.static LiteralValues.literal(ValueFactory vf, BigDecimal bigDecimal) Creates a newLiteralwith the suppliedBigDecimalvaluestatic LiteralValues.literal(ValueFactory vf, BigInteger bigInteger) Creates a newLiteralwith the suppliedBigIntegervaluestatic LiteralValues.literal(ValueFactory vf, TemporalAccessor value) Creates a newLiteralwith the suppliedTemporalAccessorvalueMethods in org.eclipse.rdf4j.model.util that return types with arguments of type LiteralModifier and TypeMethodDescriptionConfigurations.getLiteralValue(Model model, Resource subject, IRI property, IRI legacyProperty) Retrieve a property value for the supplied subject as aLiteralif present, falling back to a supplied legacy property .Models.getPropertyLiteral(Model m, Resource subject, IRI property, Resource... contexts) Retrieve a property value as aLiteralfor 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 objectLiteralvalue from the supplied statements.Models.objectLiteral(Model m) Retrieves an objectLiteralvalue from the statements in the given model.Models.objectLiterals(Iterable<Statement> statements) Retrieves all objectLiteralvalues from the supplied statements.Models.objectLiterals(Model m) Retrieves all objectLiteralvalues from the statements in the given model.Methods in org.eclipse.rdf4j.model.util with parameters of type LiteralModifier and TypeMethodDescriptionstatic booleanLiterals.getBooleanValue(Literal l, boolean fallback) Gets the boolean value of the supplied literal.static byteLiterals.getByteValue(Literal l, byte fallback) Gets the byte value of the supplied literal.static XMLGregorianCalendarLiterals.getCalendarValue(Literal l, XMLGregorianCalendar fallback) Gets the calendar value of the supplied literal.static BigDecimalLiterals.getDecimalValue(Literal l, BigDecimal fallback) Gets the decimal value of the supplied literal.static doubleLiterals.getDoubleValue(Literal l, double fallback) Gets the double value of the supplied literal.static DurationLiterals.getDurationValue(Literal l, Duration fallback) Gets theDurationvalue of the supplied literal.static floatLiterals.getFloatValue(Literal l, float fallback) Gets the float value of the supplied literal.static BigIntegerLiterals.getIntegerValue(Literal l, BigInteger fallback) Gets the integer value of the supplied literal.static intLiterals.getIntValue(Literal l, int fallback) Gets the int value of the supplied literal.static StringGets the label of the supplied literal.static longLiterals.getLongValue(Literal l, long fallback) Gets the long value of the supplied literal.static shortLiterals.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 booleanLiterals.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
Fields in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate declared as LiteralMethods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate that return LiteralMethods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate with parameters of type Literal -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.stdev
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.stdev that return Literal -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.variance
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate.variance that return Literal -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.datetime
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.datetime that return LiteralModifier 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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.hash that return LiteralModifier and TypeMethodDescriptionabstract LiteralHashFunction.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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.numeric that return LiteralModifier 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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.rdfterm that return LiteralModifier 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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.string that return LiteralModifier 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) Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.string with parameters of type Literal -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.xsd
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.xsd that return LiteralModifier and TypeMethodDescriptionprotected LiteralBooleanCast.convert(ValueFactory valueFactory, Value value) protected abstract LiteralCastFunction.convert(ValueFactory vf, Value v) Convert the supplied value to a literal of the function output datatype.protected LiteralDateCast.convert(ValueFactory vf, Value value) protected LiteralDateTimeCast.convert(ValueFactory vf, Value value) protected LiteralDecimalCast.convert(ValueFactory valueFactory, Value value) protected LiteralDoubleCast.convert(ValueFactory valueFactory, Value value) protected LiteralFloatCast.convert(ValueFactory valueFactory, Value value) protected LiteralIntegerCastFunction.convert(ValueFactory valueFactory, Value value) protected LiteralStringCast.convert(ValueFactory valueFactory, Value value) CastFunction.evaluate(ValueFactory valueFactory, Value... args) StringCast.evaluate(ValueFactory valueFactory, Value... args) Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.xsd that return types with arguments of type LiteralModifier 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 aLiteralwith the specific datatype for the supplied boolean value.IntegerCastFunction.createTypedLiteral(ValueFactory vf, BigInteger integerValue) create aLiteralwith the specific datatype for the suppliedBigIntegervalue.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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return LiteralModifier and TypeMethodDescriptionArrayBindingBasedQueryEvaluationContext.getNow()QueryEvaluationContext.getNow()QueryEvaluationContext.Minimal.getNow()Constructors in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type Literal -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.util
Methods in org.eclipse.rdf4j.query.algebra.evaluation.util that return LiteralModifier and TypeMethodDescriptionstatic LiteralMathUtil.compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op) static LiteralMathUtil.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 LiteralXMLDatatypeMathUtil.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 LiteralXMLDatatypeMathUtil.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.Methods in org.eclipse.rdf4j.query.algebra.evaluation.util that return types with arguments of type LiteralModifier and TypeMethodDescriptionTripleSources.getObjectLiterals(Resource subject, IRI predicate, TripleSource store) Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.eclipse.rdf4j.query.algebra.evaluation.util with parameters of type LiteralModifier and TypeMethodDescriptionstatic booleanQueryEvaluationUtil.compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator) Compares the suppliedLiteralarguments using the supplied operator, using strict (minimally-conforming) SPARQL 1.1 operator behavior.static booleanQueryEvaluationUtil.compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator, boolean strict) Compares the suppliedLiteralarguments using the supplied operator.static org.eclipse.rdf4j.query.algebra.evaluation.util.QueryEvaluationUtility.OrderQueryEvaluationUtility.compareLiterals(Literal leftLit, Literal rightLit, boolean strict) QueryEvaluationUtility.compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator) Compares the suppliedLiteralarguments 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 suppliedLiteralarguments using the supplied operator.static booleanQueryEvaluationUtil.compatibleArguments(Literal arg1, Literal arg2) Checks whether the supplied two literal arguments are 'argument compatible' according to the SPARQL definition.static booleanQueryEvaluationUtility.compatibleArguments(Literal arg1, Literal arg2) Checks whether the supplied two literal arguments are 'argument compatible' according to the SPARQL definition.static LiteralMathUtil.compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op) static LiteralMathUtil.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 LiteralXMLDatatypeMathUtil.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 LiteralXMLDatatypeMathUtil.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 booleanQueryEvaluationUtil.isPlainLiteral(Literal l) static booleanQueryEvaluationUtility.isPlainLiteral(Literal l) static booleanQueryEvaluationUtil.isSimpleLiteral(Literal l) Checks whether the supplied literal is a "simple literal".static booleanQueryEvaluationUtility.isSimpleLiteral(Literal l) Checks whether the supplied literal is a "simple literal".static booleanQueryEvaluationUtil.isStringLiteral(Literal l) Checks whether the supplied literal is a "string literal".static booleanQueryEvaluationUtility.isStringLiteral(Literal l) Checks whether the supplied literal is a "string literal". -
Uses of Literal in org.eclipse.rdf4j.query.dawg
Fields in org.eclipse.rdf4j.query.dawg declared as Literal -
Uses of Literal in org.eclipse.rdf4j.query.resultio.text.tsv
Methods in org.eclipse.rdf4j.query.resultio.text.tsv that return LiteralModifier and TypeMethodDescriptionprotected LiteralSPARQLResultsTSVMappingStrategy.parseLiteral(String literal) Parses a literal, creates an object for it and returns this object. -
Uses of Literal in org.eclipse.rdf4j.rio
Methods in org.eclipse.rdf4j.rio that return LiteralModifier 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
Methods in org.eclipse.rdf4j.rio.datatypes that return LiteralModifier 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
Methods in org.eclipse.rdf4j.rio.helpers that return LiteralModifier and TypeMethodDescriptionprotected LiteralAbstractRDFParser.createLiteral(String label, String lang, IRI datatype) Creates aLiteralobject with the supplied parameters.protected LiteralAbstractRDFParser.createLiteral(String label, String lang, IRI datatype, long lineNo, long columnNo) Creates aLiteralobject 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 LiteralRDFParserHelper.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 anyDatatypeHandlerorLanguageHandlerimplementations that are found in theParserConfig.static LiteralRDFParserHelper.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 anyDatatypeHandlerorLanguageHandlerimplementations that are found in theParserConfig.static LiteralNTriplesUtil.parseLiteral(String nTriplesLiteral, ValueFactory valueFactory) Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this object.Methods in org.eclipse.rdf4j.rio.helpers with parameters of type LiteralModifier and TypeMethodDescriptionstatic voidNTriplesUtil.append(Literal lit, Appendable appendable) Appends the N-Triples representation of the givenLiteralto the givenAppendable.static voidNTriplesUtil.append(Literal lit, Appendable appendable, boolean xsdStringToPlainLiteral, boolean escapeUnicode) Appends the N-Triples representation of the givenLiteralto the givenAppendable, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1.static StringNTriplesUtil.toNTriplesString(Literal lit) Creates an N-Triples string for the supplied literal.static StringNTriplesUtil.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
Methods in org.eclipse.rdf4j.rio.languages that return LiteralModifier 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
Methods in org.eclipse.rdf4j.rio.rdfjson that return LiteralModifier and TypeMethodDescriptionprotected LiteralRDFJSONParser.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 givenJsonLocationto 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
Methods in org.eclipse.rdf4j.rio.rdfxml that return LiteralModifier and TypeMethodDescriptionprotected LiteralRDFXMLParser.createLiteral(String label, String lang, IRI datatype) -
Uses of Literal in org.eclipse.rdf4j.rio.trix
Methods in org.eclipse.rdf4j.rio.trix that return LiteralModifier and TypeMethodDescriptionprotected LiteralTriXParser.createLiteral(String label, String lang, IRI datatype) -
Uses of Literal in org.eclipse.rdf4j.rio.turtle
Methods in org.eclipse.rdf4j.rio.turtle that return LiteralModifier and TypeMethodDescriptionprotected LiteralTurtleParser.parseNumber()protected LiteralTurtleParser.parseQuotedLiteral()Parses a quoted string, optionally followed by a language tag or datatype.Methods in org.eclipse.rdf4j.rio.turtle with parameters of type Literal -
Uses of Literal in org.eclipse.rdf4j.sail.lmdb.model
Classes in org.eclipse.rdf4j.sail.lmdb.model that implement Literal -
Uses of Literal in org.eclipse.rdf4j.sail.lucene
Methods in org.eclipse.rdf4j.sail.lucene that return LiteralModifier and TypeMethodDescriptionstatic LiteralSearchFields.distanceToLiteral(double d) DistanceQuerySpec.getFrom()GeoRelationQuerySpec.getQueryGeometry()static LiteralSearchFields.scoreToLiteral(float score) Returns a score value encoded as a Literal.static LiteralSearchFields.wktToLiteral(String wkt) Methods in org.eclipse.rdf4j.sail.lucene with parameters of type LiteralModifier and TypeMethodDescriptionbooleanReturns whether the provided literal is accepted by the LuceneIndex to be indexed.booleanReturns whether the provided literal is accepted by the LuceneIndex to be indexed.voidvoidGeoRelationQuerySpec.setQueryGeometry(Literal shape) Constructors in org.eclipse.rdf4j.sail.lucene with parameters of type Literal -
Uses of Literal in org.eclipse.rdf4j.sail.memory.model
Classes in org.eclipse.rdf4j.sail.memory.model that implement LiteralModifier and TypeClassDescriptionclassAn extension of MemLiteral that stores a boolean value to avoid parsing.classAn extension of MemLiteral that stores a Calendar value to avoid parsing.classAn extension of MemLiteral that stores a decimal value to avoid parsing.classAn extension of MemLiteral that stores an integer value to avoid parsing.classA MemoryStore-specific extension of Literal giving it node properties.classAn extension of MemLiteral that stores a numeric value to avoid parsing.Methods in org.eclipse.rdf4j.sail.memory.model that return LiteralModifier 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) Methods in org.eclipse.rdf4j.sail.memory.model with parameters of type LiteralModifier 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
Methods in org.eclipse.rdf4j.sail.nativerdf with parameters of type LiteralModifier 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
Classes in org.eclipse.rdf4j.sail.nativerdf.model that implement Literal -
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents
Methods in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents that return types with arguments of type LiteralModifier 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()Constructors in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents with parameters of type LiteralModifierConstructorDescriptionMaxExclusiveConstraintComponent(Literal maxExclusive) MaxInclusiveConstraintComponent(Literal maxInclusive) MinExclusiveConstraintComponent(Literal minExclusive) MinInclusiveConstraintComponent(Literal minInclusive) Constructor parameters in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents with type arguments of type Literal -
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.planNodes
Constructors in org.eclipse.rdf4j.sail.shacl.ast.planNodes with parameters of type LiteralModifierConstructorDescriptionLiteralComparatorFilter(PlanNode parent, Literal compareTo, Compare.CompareOp compareOp) -
Uses of Literal in org.eclipse.rdf4j.spin.function
Methods in org.eclipse.rdf4j.spin.function that return Literal -
Uses of Literal in org.eclipse.rdf4j.testsuite.model
Fields in org.eclipse.rdf4j.testsuite.model declared as Literal -
Uses of Literal in org.eclipse.rdf4j.testsuite.repository
Fields in org.eclipse.rdf4j.testsuite.repository declared as LiteralModifier and TypeFieldDescriptionprotected LiteralRepositoryConnectionTest.mboxAliceprotected LiteralRepositoryTest.mboxAliceprotected LiteralRepositoryConnectionTest.mboxBobprotected LiteralRepositoryTest.mboxBobprotected LiteralRepositoryConnectionTest.nameAliceprotected LiteralRepositoryTest.nameAliceprotected LiteralRepositoryConnectionTest.nameBobprotected LiteralRepositoryTest.nameBobprotected LiteralRepositoryConnectionTest.Александърprotected LiteralRepositoryTest.Александър -
Uses of Literal in org.eclipse.rdf4j.testsuite.repository.optimistic
Methods in org.eclipse.rdf4j.testsuite.repository.optimistic that return LiteralModifier and TypeMethodDescriptionprotected LiteralIsolationLevelTest.readLiteral(RepositoryConnection con, IRI subj, IRI pred) -
Uses of Literal in org.eclipse.rdf4j.testsuite.sail
Methods in org.eclipse.rdf4j.testsuite.sail that return LiteralModifier and TypeMethodDescriptionprotected LiteralSailIsolationLevelTest.readLiteral(SailConnection con, IRI subj, IRI pred) -
Uses of Literal in org.eclipse.testsuite.rdf4j.sail.lucene
Fields in org.eclipse.testsuite.rdf4j.sail.lucene declared as LiteralModifier and TypeFieldDescriptionstatic final LiteralAbstractLuceneSailGeoSPARQLTest.ARC_TRIOMPHEstatic final LiteralAbstractLuceneSailGeoSPARQLTest.EIFFEL_TOWERstatic final LiteralAbstractLuceneSailGeoSPARQLTest.NOTRE_DAMEstatic final LiteralAbstractLuceneSailGeoSPARQLTest.POLY1static final LiteralAbstractLuceneSailGeoSPARQLTest.POLY2static final LiteralAbstractLuceneSailGeoSPARQLTest.TEST_POINTstatic final LiteralAbstractLuceneSailGeoSPARQLTest.TEST_POLY
Values.literal(Object)instead.