Uses of Interface
org.eclipse.rdf4j.model.Literal
-
-
Uses of Literal in org.eclipse.rdf4j.http.protocol.transaction
Methods in org.eclipse.rdf4j.http.protocol.transaction with parameters of type Literal Modifier and Type Method Description protected void
TransactionWriter. serialize(Literal literal, XMLWriter xmlWriter)
-
Uses of Literal in org.eclipse.rdf4j.model
Methods in org.eclipse.rdf4j.model that return Literal Modifier and Type Method Description Literal
ValueFactory. createLiteral(boolean value)
Creates a new xsd:boolean-typed literal representing the specified value.Literal
ValueFactory. createLiteral(byte value)
Creates a new xsd:byte-typed literal representing the specified value.Literal
ValueFactory. createLiteral(double value)
Creates a new xsd:double-typed literal representing the specified value.Literal
ValueFactory. createLiteral(float value)
Creates a new xsd:float-typed literal representing the specified value.Literal
ValueFactory. createLiteral(int value)
Creates a new xsd:int-typed literal representing the specified value.Literal
ValueFactory. createLiteral(long value)
Creates a new xsd:long-typed literal representing the specified value.Literal
ValueFactory. createLiteral(short value)
Creates a new xsd:short-typed literal representing the specified value.Literal
ValueFactory. createLiteral(java.lang.String label)
Creates a new literal with the supplied label.Literal
ValueFactory. createLiteral(java.lang.String label, java.lang.String language)
Creates a new literal with the supplied label and language attribute.Literal
ValueFactory. createLiteral(java.lang.String label, CoreDatatype datatype)
Creates a new literal with the supplied label and datatype.Literal
ValueFactory. createLiteral(java.lang.String label, IRI datatype)
Creates a new literal with the supplied label and datatype.Literal
ValueFactory. createLiteral(java.lang.String label, IRI datatype, CoreDatatype coreDatatype)
Creates a new literal with the supplied label and datatype.Literal
ValueFactory. createLiteral(java.math.BigDecimal bigDecimal)
Creates a new literal representing the specified bigDecimal that is typed as an xsd:decimal.Literal
ValueFactory. createLiteral(java.math.BigInteger bigInteger)
Creates a new literal representing the specified bigInteger that is typed as an xsd:integer.default Literal
ValueFactory. createLiteral(java.time.temporal.TemporalAccessor value)
Creates a new literal representing a temporal accessor value.default Literal
ValueFactory. createLiteral(java.time.temporal.TemporalAmount value)
Creates a new literal representing a temporal amount value.Literal
ValueFactory. createLiteral(java.util.Date date)
Creates a new literal representing the specified date that is typed using the appropriate XML Schema date/time datatype.Literal
ValueFactory. createLiteral(javax.xml.datatype.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 Literal Modifier and Type Class Description class
AbstractLiteral
Base class forLiteral
, offering common functionality.(package private) static class
AbstractLiteral.BooleanLiteral
(package private) static class
AbstractLiteral.CalendarLiteral
(package private) static class
AbstractLiteral.DecimalLiteral
(package private) static class
AbstractLiteral.IntegerLiteral
(package private) static class
AbstractLiteral.NumberLiteral
(package private) static class
AbstractLiteral.TaggedLiteral
(package private) static class
AbstractLiteral.TemporalAccessorLiteral
(package private) static class
AbstractLiteral.TemporalAmountLiteral
(package private) static class
AbstractLiteral.TypedLiteral
Fields in org.eclipse.rdf4j.model.base declared as Literal Modifier and Type Field Description private static Literal
AbstractValueFactory. FALSE
private static Literal
AbstractValueFactory. TRUE
Methods in org.eclipse.rdf4j.model.base that return Literal Modifier and Type Method Description Literal
AbstractValueFactory. createLiteral(boolean value)
Literal
AbstractValueFactory. createLiteral(byte value)
Literal
AbstractValueFactory. createLiteral(double value)
Literal
AbstractValueFactory. createLiteral(float value)
Literal
AbstractValueFactory. createLiteral(int value)
Literal
AbstractValueFactory. createLiteral(long value)
Literal
AbstractValueFactory. createLiteral(short value)
Literal
AbstractValueFactory. createLiteral(java.lang.String label)
Literal
AbstractValueFactory. createLiteral(java.lang.String label, java.lang.String language)
Literal
AbstractValueFactory. createLiteral(java.lang.String label, CoreDatatype datatype)
Literal
AbstractValueFactory. createLiteral(java.lang.String label, IRI datatype)
Literal
AbstractValueFactory. createLiteral(java.lang.String label, IRI datatype, CoreDatatype coreDatatype)
Literal
AbstractValueFactory. createLiteral(java.math.BigDecimal bigDecimal)
Literal
AbstractValueFactory. createLiteral(java.math.BigInteger bigInteger)
Literal
AbstractValueFactory. createLiteral(java.time.temporal.TemporalAccessor value)
Literal
AbstractValueFactory. createLiteral(java.time.temporal.TemporalAmount value)
Literal
AbstractValueFactory. createLiteral(java.util.Date date)
Literal
AbstractValueFactory. createLiteral(javax.xml.datatype.XMLGregorianCalendar calendar)
-
Uses of Literal in org.eclipse.rdf4j.model.impl
Classes in org.eclipse.rdf4j.model.impl that implement Literal Modifier and Type Class Description class
BooleanLiteral
An extension ofSimpleLiteral
that stores a boolean value to avoid parsing.class
CalendarLiteral
An extension ofSimpleLiteral
that stores a calendar value to avoid parsing.class
DecimalLiteral
An extension ofSimpleLiteral
that stores an integer value using aBigDecimal
object.class
IntegerLiteral
An extension ofSimpleLiteral
that stores an integer value using aBigInteger
object.class
NumericLiteral
An extension ofAbstractLiteral
that stores a numeric value to avoid parsing.class
SimpleLiteral
A simple default implementation of theLiteral
interface.Methods in org.eclipse.rdf4j.model.impl that return Literal Modifier and Type Method Description protected Literal
SimpleValueFactory. createFPLiteral(java.lang.Number value, IRI datatype)
CallsSimpleValueFactory.createNumericLiteral(Number, IRI)
with the supplied value and datatype as parameters.protected Literal
SimpleValueFactory. createFPLiteral(java.lang.Number value, XSD.Datatype datatype)
protected Literal
SimpleValueFactory. createIntegerLiteral(java.lang.Number value, IRI datatype)
CallsSimpleValueFactory.createNumericLiteral(Number, IRI)
with the supplied value and datatype as parameters.protected Literal
SimpleValueFactory. createIntegerLiteral(java.lang.Number value, XSD.Datatype datatype)
Literal
SimpleValueFactory. createLiteral(boolean b)
Literal
SimpleValueFactory. createLiteral(byte value)
CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.BYTE
as parameters.Literal
SimpleValueFactory. createLiteral(double value)
CallsSimpleValueFactory.createFPLiteral(Number, IRI)
with the supplied value andXSD.DOUBLE
as parameters.Literal
SimpleValueFactory. createLiteral(float value)
CallsSimpleValueFactory.createFPLiteral(Number, IRI)
with the supplied value andXSD.FLOAT
as parameters.Literal
SimpleValueFactory. createLiteral(int value)
CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.INT
as parameters.Literal
SimpleValueFactory. createLiteral(long value)
CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.LONG
as parameters.Literal
SimpleValueFactory. createLiteral(short value)
CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)
with the supplied value andXSD.SHORT
as parameters.Literal
SimpleValueFactory. createLiteral(java.lang.String value)
Literal
SimpleValueFactory. createLiteral(java.lang.String value, java.lang.String language)
Literal
SimpleValueFactory. createLiteral(java.lang.String value, IRI datatype)
Literal
SimpleValueFactory. createLiteral(java.math.BigDecimal bigDecimal)
Literal
SimpleValueFactory. createLiteral(java.math.BigInteger bigInteger)
Literal
SimpleValueFactory. createLiteral(java.util.Date date)
Converts the suppliedDate
to aXMLGregorianCalendar
, then callsValueFactory.createLiteral(XMLGregorianCalendar)
.Literal
SimpleValueFactory. createLiteral(javax.xml.datatype.XMLGregorianCalendar calendar)
CallsValueFactory.createLiteral(String, IRI)
with the String-value of the supplied calendar and the appropriate datatype as parameters.Literal
ValidatingValueFactory. createLiteral(boolean value)
Literal
ValidatingValueFactory. createLiteral(byte value)
Literal
ValidatingValueFactory. createLiteral(double value)
Literal
ValidatingValueFactory. createLiteral(float value)
Literal
ValidatingValueFactory. createLiteral(int value)
Literal
ValidatingValueFactory. createLiteral(long value)
Literal
ValidatingValueFactory. createLiteral(short value)
Literal
ValidatingValueFactory. createLiteral(java.lang.String label)
Literal
ValidatingValueFactory. createLiteral(java.lang.String label, java.lang.String language)
Literal
ValidatingValueFactory. createLiteral(java.lang.String label, CoreDatatype datatype)
Literal
ValidatingValueFactory. createLiteral(java.lang.String label, IRI datatype)
Literal
ValidatingValueFactory. createLiteral(java.lang.String label, IRI datatype, CoreDatatype coreDatatype)
Literal
ValidatingValueFactory. createLiteral(java.math.BigDecimal bigDecimal)
Literal
ValidatingValueFactory. createLiteral(java.math.BigInteger bigInteger)
Literal
ValidatingValueFactory. createLiteral(java.time.temporal.TemporalAccessor value)
Literal
ValidatingValueFactory. createLiteral(java.time.temporal.TemporalAmount value)
Literal
ValidatingValueFactory. createLiteral(java.util.Date date)
Literal
ValidatingValueFactory. createLiteral(javax.xml.datatype.XMLGregorianCalendar calendar)
protected Literal
SimpleValueFactory. createNumericLiteral(java.lang.Number number, CoreDatatype datatype)
protected Literal
SimpleValueFactory. createNumericLiteral(java.lang.Number number, IRI datatype)
Creates specific optimized subtypes of SimpleLiteral for numeric datatypes.protected Literal
SimpleValueFactory. createNumericLiteral(java.lang.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 Literal Modifier and Type Method Description static Literal
Literals. createLiteral(ValueFactory valueFactory, java.lang.Object object)
Deprecated.UseValues.literal(Object)
instead.private static Literal
Literals. createLiteral(ValueFactory valueFactory, java.lang.Object object, boolean throwExceptionOnFailure)
Creates a typedLiteral
out of the supplied object, mapping the runtime type of the object to the appropriate XML Schema type.private static Literal
Values. createLiteralFromObject(ValueFactory valueFactory, java.lang.Object object, boolean throwExceptionOnFailure)
Creates a typedLiteral
out of the supplied object, mapping the runtime type of the object to the appropriate XML Schema type.static Literal
Literals. createLiteralOrFail(ValueFactory valueFactory, java.lang.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
Values. literal(java.lang.Object object)
static Literal
Values. literal(java.lang.Object object, boolean failOnUnknownType)
static Literal
Values. literal(java.lang.String lexicalValue)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(java.lang.String lexicalValue, java.lang.String languageTag)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(java.lang.String lexicalValue, CoreDatatype datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(java.lang.String lexicalValue, IRI datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(java.math.BigDecimal bigDecimal)
Creates a newLiteral
with the suppliedBigDecimal
valuestatic Literal
Values. literal(java.math.BigInteger bigInteger)
Creates a newLiteral
with the suppliedBigInteger
valuestatic Literal
Values. literal(java.time.temporal.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, java.lang.Object object, boolean failOnUnknownType)
static Literal
Values. literal(ValueFactory vf, java.lang.String lexicalValue)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(ValueFactory vf, java.lang.String lexicalValue, java.lang.String languageTag)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(ValueFactory vf, java.lang.String lexicalValue, CoreDatatype datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(ValueFactory vf, java.lang.String lexicalValue, IRI datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(ValueFactory vf, java.math.BigDecimal bigDecimal)
Creates a newLiteral
with the suppliedBigDecimal
valuestatic Literal
Values. literal(ValueFactory vf, java.math.BigInteger bigInteger)
Creates a newLiteral
with the suppliedBigInteger
valuestatic Literal
Values. literal(ValueFactory vf, java.time.temporal.TemporalAccessor value)
Creates a newLiteral
with the suppliedTemporalAccessor
valueMethods in org.eclipse.rdf4j.model.util that return types with arguments of type Literal Modifier and Type Method Description static java.util.Optional<Literal>
Configurations. 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 .static java.util.Optional<Literal>
Models. getPropertyLiteral(Model m, Resource subject, IRI property, Resource... contexts)
Retrieve a property value as aLiteral
for the supplied subject from the given model.static java.util.Set<Literal>
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.static java.util.Optional<Literal>
Models. objectLiteral(java.lang.Iterable<Statement> statements)
Retrieves an objectLiteral
value from the supplied statements.static java.util.Optional<Literal>
Models. objectLiteral(Model m)
Retrieves an objectLiteral
value from the statements in the given model.static java.util.Set<Literal>
Models. objectLiterals(java.lang.Iterable<Statement> statements)
Retrieves all objectLiteral
values from the supplied statements.static java.util.Set<Literal>
Models. objectLiterals(Model m)
Retrieves all objectLiteral
values from the statements in the given model.Methods in org.eclipse.rdf4j.model.util with parameters of type Literal Modifier and Type Method Description private int
LexicalValueComparator. compareLiterals(Literal leftLit, Literal rightLit)
static 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 javax.xml.datatype.XMLGregorianCalendar
Literals. getCalendarValue(Literal l, javax.xml.datatype.XMLGregorianCalendar fallback)
Gets the calendar value of the supplied literal.static java.math.BigDecimal
Literals. getDecimalValue(Literal l, java.math.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 javax.xml.datatype.Duration
Literals. getDurationValue(Literal l, javax.xml.datatype.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 java.math.BigInteger
Literals. getIntegerValue(Literal l, java.math.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 java.lang.String
Literals. getLabel(Literal l, java.lang.String fallback)
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.private com.google.common.hash.HashCode
GraphComparisons.Partitioning. getStaticLiteralHashCode(Literal value)
static java.util.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
Fields in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate declared as Literal Modifier and Type Field Description protected static Literal
StatisticCollector. ZERO
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate that return Literal Modifier and Type Method Description protected abstract Literal
StatisticCollector. computeValue()
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate with parameters of type Literal Modifier and Type Method Description void
StatisticCollector. addValue(Literal val)
-
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 Modifier and Type Method Description protected Literal
StandardDeviationCollector. computeValue()
-
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 Modifier and Type Method Description protected Literal
VarianceCollector. computeValue()
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.datetime
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.datetime that return Literal Modifier and Type Method Description Literal
Day. evaluate(ValueFactory valueFactory, Value... args)
Literal
Hours. evaluate(ValueFactory valueFactory, Value... args)
Literal
Minutes. evaluate(ValueFactory valueFactory, Value... args)
Literal
Month. evaluate(ValueFactory valueFactory, Value... args)
Literal
Now. evaluate(ValueFactory valueFactory, Value... args)
Literal
Seconds. evaluate(ValueFactory valueFactory, Value... args)
Literal
Timezone. evaluate(ValueFactory valueFactory, Value... args)
Literal
Tz. evaluate(ValueFactory valueFactory, Value... args)
Literal
Year. evaluate(ValueFactory valueFactory, Value... args)
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.geosparql
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.geosparql that return Literal Modifier and Type Method Description static Literal
FunctionArguments. getLiteral(Function func, Value v, IRI expectedDatatype)
Get the literal of a specific data type -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.hash
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.hash that return Literal Modifier and Type Method Description abstract Literal
HashFunction. evaluate(ValueFactory valueFactory, Value... args)
Literal
MD5. evaluate(ValueFactory valueFactory, Value... args)
Literal
SHA1. evaluate(ValueFactory valueFactory, Value... args)
Literal
SHA256. evaluate(ValueFactory valueFactory, Value... args)
Literal
SHA384. evaluate(ValueFactory valueFactory, Value... args)
Literal
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 Literal Modifier and Type Method Description Literal
Abs. evaluate(ValueFactory valueFactory, Value... args)
Literal
Ceil. evaluate(ValueFactory valueFactory, Value... args)
Literal
Floor. evaluate(ValueFactory valueFactory, Value... args)
Literal
Rand. evaluate(ValueFactory valueFactory, Value... args)
Literal
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 Literal Modifier and Type Method Description Literal
StrDt. evaluate(ValueFactory valueFactory, Value... args)
Literal
StrLang. evaluate(ValueFactory valueFactory, Value... args)
Literal
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 Literal Modifier and Type Method Description private Literal
Substring. convert(java.lang.String lexicalValue, Literal literal, ValueFactory valueFactory)
Literal
Concat. evaluate(ValueFactory valueFactory, Value... args)
Literal
Contains. evaluate(ValueFactory valueFactory, Value... args)
Literal
EncodeForUri. evaluate(ValueFactory valueFactory, Value... args)
Literal
LowerCase. evaluate(ValueFactory valueFactory, Value... args)
Literal
Replace. evaluate(ValueFactory valueFactory, Value... args)
Literal
StrAfter. evaluate(ValueFactory valueFactory, Value... args)
Literal
StrBefore. evaluate(ValueFactory valueFactory, Value... args)
Literal
StrEnds. evaluate(ValueFactory valueFactory, Value... args)
Literal
StrLen. evaluate(ValueFactory valueFactory, Value... args)
Literal
StrStarts. evaluate(ValueFactory valueFactory, Value... args)
Literal
Substring. evaluate(ValueFactory valueFactory, Value... args)
Literal
UpperCase. evaluate(ValueFactory valueFactory, Value... args)
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.string with parameters of type Literal Modifier and Type Method Description private Literal
Substring. convert(java.lang.String lexicalValue, Literal literal, ValueFactory valueFactory)
static int
Substring. intFromLiteral(Literal 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 Literal Modifier and Type Method Description protected 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)
Literal
CastFunction. evaluate(ValueFactory valueFactory, Value... args)
Literal
StringCast. evaluate(ValueFactory valueFactory, Value... args)
Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.xsd that return types with arguments of type Literal Modifier and Type Method Description protected java.util.Optional<Literal>
ByteCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
IntCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
IntegerCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
IntegerCastFunction. createTypedLiteral(ValueFactory vf, boolean booleanValue)
create aLiteral
with the specific datatype for the supplied boolean value.protected abstract java.util.Optional<Literal>
IntegerCastFunction. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
create aLiteral
with the specific datatype for the suppliedBigInteger
value.protected java.util.Optional<Literal>
LongCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
NegativeIntegerCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
NonNegativeIntegerCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
NonPositiveIntegerCast. createTypedLiteral(ValueFactory vf, boolean booleanValue)
protected java.util.Optional<Literal>
NonPositiveIntegerCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
PositiveIntegerCast. createTypedLiteral(ValueFactory vf, boolean booleanValue)
protected java.util.Optional<Literal>
PositiveIntegerCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
ShortCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
UnsignedByteCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
UnsignedIntCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
UnsignedLongCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
protected java.util.Optional<Literal>
UnsignedShortCast. createTypedLiteral(ValueFactory vf, java.math.BigInteger integerValue)
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.impl
Fields in org.eclipse.rdf4j.query.algebra.evaluation.impl declared as Literal Modifier and Type Field Description private Literal
QueryEvaluationContext.Minimal. now
private Literal
DefaultEvaluationStrategy. sharedValueOfNow
Methods in org.eclipse.rdf4j.query.algebra.evaluation.impl that return Literal Modifier and Type Method Description Literal
ArrayBindingBasedQueryEvaluationContext. getNow()
Literal
QueryEvaluationContext. getNow()
Literal
QueryEvaluationContext.Minimal. getNow()
Constructors in org.eclipse.rdf4j.query.algebra.evaluation.impl with parameters of type Literal Constructor Description Minimal(Literal now, Dataset dataset)
Set the shared now value to a preexisting object -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.iterator
Fields in org.eclipse.rdf4j.query.algebra.evaluation.iterator declared as Literal Modifier and Type Field Description private static Literal
ZeroLengthPathIteration. OBJECT
private static Literal
ZeroLengthPathIteration. SUBJECT
private Literal
GroupIterator.AvgCollector. sum
private Literal
GroupIterator.IntegerCollector. value
-
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.util
Methods in org.eclipse.rdf4j.query.algebra.evaluation.util that return Literal Modifier and Type Method Description private static Literal
XMLDatatypeMathUtil. buildLiteral(javax.xml.datatype.Duration duration, ValueFactory vf)
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.private static Literal
MathUtil. computeForXsdDecimal(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
MathUtil. computeForXsdDouble(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
MathUtil. computeForXsdFloat(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
MathUtil. computeForXsdInteger(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
XMLDatatypeMathUtil. operationsBetweenCalendarAndDuration(Literal calendarLit, Literal durationLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
XMLDatatypeMathUtil. operationsBetweenDurationAndCalendar(Literal durationLit, Literal calendarLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
XMLDatatypeMathUtil. operationsBetweenDurationAndDecimal(Literal durationLit, Literal decimalLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
XMLDatatypeMathUtil. operationsBetweenDurations(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
Methods in org.eclipse.rdf4j.query.algebra.evaluation.util that return types with arguments of type Literal Modifier and Type Method Description static CloseableIteration<Literal,QueryEvaluationException>
TripleSources. 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 Literal Modifier and Type Method Description static 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 QueryEvaluationUtility.Order
QueryEvaluationUtility. compareLiterals(Literal leftLit, Literal rightLit, boolean strict)
static QueryEvaluationUtility.Result
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.static QueryEvaluationUtility.Result
QueryEvaluationUtility. compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator, boolean strict)
Compares the suppliedLiteral
arguments using the supplied operator.private int
ValueComparator. compareLiterals(Literal leftLit, Literal rightLit)
private QueryEvaluationUtility.Order
ValueComparator. compareNonPlainLiterals(Literal leftLit, Literal rightLit)
private int
ValueComparator. comparePlainLiterals(Literal leftLit, Literal rightLit)
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.private static Literal
MathUtil. computeForXsdDecimal(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
MathUtil. computeForXsdDouble(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
MathUtil. computeForXsdFloat(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
MathUtil. computeForXsdInteger(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static QueryEvaluationUtility.Order
QueryEvaluationUtility. handleCommonDatatype(Literal leftLit, Literal rightLit, boolean strict, CoreDatatype.XSD leftCoreDatatype, CoreDatatype.XSD rightCoreDatatype, boolean leftLangLit, boolean rightLangLit, CoreDatatype.XSD commonDatatype)
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".private static Literal
XMLDatatypeMathUtil. operationsBetweenCalendarAndDuration(Literal calendarLit, Literal durationLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
XMLDatatypeMathUtil. operationsBetweenDurationAndCalendar(Literal durationLit, Literal calendarLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
XMLDatatypeMathUtil. operationsBetweenDurationAndDecimal(Literal durationLit, Literal decimalLit, MathExpr.MathOp op, ValueFactory vf)
private static Literal
XMLDatatypeMathUtil. operationsBetweenDurations(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)
private static boolean
QueryEvaluationUtil. otherCases(Literal leftLit, Literal rightLit, Compare.CompareOp operator, CoreDatatype.XSD leftCoreDatatype, CoreDatatype.XSD rightCoreDatatype, boolean leftLangLit, boolean rightLangLit, boolean strict)
private static QueryEvaluationUtility.Order
QueryEvaluationUtility. otherCases(Literal leftLit, Literal rightLit, CoreDatatype.XSD leftCoreDatatype, CoreDatatype.XSD rightCoreDatatype, boolean leftLangLit, boolean rightLangLit)
private static CoreDatatype.XSD
MathUtil. validateNumericArgument(Literal lit, CoreDatatype datatype)
-
Uses of Literal in org.eclipse.rdf4j.query.dawg
Fields in org.eclipse.rdf4j.query.dawg declared as Literal Modifier and Type Field Description static Literal
DAWGTestResultSetSchema. FALSE
static Literal
DAWGTestResultSetSchema. TRUE
-
Uses of Literal in org.eclipse.rdf4j.query.resultio.binary
Methods in org.eclipse.rdf4j.query.resultio.binary that return Literal Modifier and Type Method Description private Literal
BinaryQueryResultParser. readLiteral(int recordTypeMarker)
Methods in org.eclipse.rdf4j.query.resultio.binary with parameters of type Literal Modifier and Type Method Description private void
BinaryQueryResultWriter. writeLiteral(Literal literal)
-
Uses of Literal in org.eclipse.rdf4j.query.resultio.sparqlxml
Methods in org.eclipse.rdf4j.query.resultio.sparqlxml with parameters of type Literal Modifier and Type Method Description private void
AbstractSPARQLXMLWriter. writeLiteral(Literal literal)
-
Uses of Literal in org.eclipse.rdf4j.query.resultio.text.csv
Methods in org.eclipse.rdf4j.query.resultio.text.csv with parameters of type Literal Modifier and Type Method Description private void
SPARQLResultsCSVWriter. writeLiteral(Literal literal)
-
Uses of Literal in org.eclipse.rdf4j.query.resultio.text.tsv
Methods in org.eclipse.rdf4j.query.resultio.text.tsv that return Literal Modifier and Type Method Description protected Literal
SPARQLResultsTSVMappingStrategy. parseLiteral(java.lang.String literal)
Parses a literal, creates an object for it and returns this object.Methods in org.eclipse.rdf4j.query.resultio.text.tsv with parameters of type Literal Modifier and Type Method Description private void
SPARQLResultsTSVWriter. writeLiteral(Literal lit)
-
Uses of Literal in org.eclipse.rdf4j.repository.sparql.query
Methods in org.eclipse.rdf4j.repository.sparql.query with parameters of type Literal Modifier and Type Method Description private static java.lang.StringBuilder
QueryStringUtil. appendValue(java.lang.StringBuilder sb, Literal lit)
private java.lang.StringBuilder
SPARQLOperation. appendValue(java.lang.StringBuilder sb, Literal lit)
Deprecated. -
Uses of Literal in org.eclipse.rdf4j.rio
Methods in org.eclipse.rdf4j.rio that return Literal Modifier and Type Method Description Literal
DatatypeHandler. normalizeDatatype(java.lang.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.Literal
LanguageHandler. normalizeLanguage(java.lang.String literalValue, java.lang.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.binary
Methods in org.eclipse.rdf4j.rio.binary that return Literal Modifier and Type Method Description private Literal
BinaryRDFParser. readDatatypeLiteral()
private Literal
BinaryRDFParser. readLangLiteral()
private Literal
BinaryRDFParser. readPlainLiteral()
Methods in org.eclipse.rdf4j.rio.binary with parameters of type Literal Modifier and Type Method Description private void
BinaryRDFWriter. writeLiteral(Literal literal)
-
Uses of Literal in org.eclipse.rdf4j.rio.datatypes
Methods in org.eclipse.rdf4j.rio.datatypes that return Literal Modifier and Type Method Description Literal
DBPediaDatatypeHandler. normalizeDatatype(java.lang.String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
GeoSPARQLDatatypeHandler. normalizeDatatype(java.lang.String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
RDFDatatypeHandler. normalizeDatatype(java.lang.String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
VirtuosoGeometryDatatypeHandler. normalizeDatatype(java.lang.String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
XMLSchemaDatatypeHandler. normalizeDatatype(java.lang.String literalValue, IRI datatypeUri, ValueFactory valueFactory)
-
Uses of Literal in org.eclipse.rdf4j.rio.helpers
Methods in org.eclipse.rdf4j.rio.helpers that return Literal Modifier and Type Method Description protected Literal
AbstractRDFParser. createLiteral(java.lang.String label, java.lang.String lang, IRI datatype)
Creates aLiteral
object with the supplied parameters.protected Literal
AbstractRDFParser. createLiteral(java.lang.String label, java.lang.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 Literal
RDFParserHelper. createLiteral(java.lang.String label, java.lang.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(java.lang.String label, java.lang.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
.Literal
RDFStarDecodingValueFactory. createLiteral(boolean value)
Literal
RDFStarDecodingValueFactory. createLiteral(byte value)
Literal
RDFStarDecodingValueFactory. createLiteral(double value)
Literal
RDFStarDecodingValueFactory. createLiteral(float value)
Literal
RDFStarDecodingValueFactory. createLiteral(int value)
Literal
RDFStarDecodingValueFactory. createLiteral(long value)
Literal
RDFStarDecodingValueFactory. createLiteral(short value)
Literal
RDFStarDecodingValueFactory. createLiteral(java.lang.String label)
Literal
RDFStarDecodingValueFactory. createLiteral(java.lang.String label, java.lang.String language)
Literal
RDFStarDecodingValueFactory. createLiteral(java.lang.String label, CoreDatatype datatype)
Literal
RDFStarDecodingValueFactory. createLiteral(java.lang.String label, IRI datatype)
Literal
RDFStarDecodingValueFactory. createLiteral(java.lang.String label, IRI datatype, CoreDatatype coreDatatype)
Literal
RDFStarDecodingValueFactory. createLiteral(java.math.BigDecimal bigDecimal)
Literal
RDFStarDecodingValueFactory. createLiteral(java.math.BigInteger bigInteger)
Literal
RDFStarDecodingValueFactory. createLiteral(java.time.temporal.TemporalAccessor value)
Literal
RDFStarDecodingValueFactory. createLiteral(java.time.temporal.TemporalAmount value)
Literal
RDFStarDecodingValueFactory. createLiteral(java.util.Date date)
Literal
RDFStarDecodingValueFactory. createLiteral(javax.xml.datatype.XMLGregorianCalendar calendar)
static Literal
NTriplesUtil. parseLiteral(java.lang.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 Literal Modifier and Type Method Description static void
NTriplesUtil. append(Literal lit, java.lang.Appendable appendable)
Appends the N-Triples representation of the givenLiteral
to the givenAppendable
.static void
NTriplesUtil. append(Literal lit, java.lang.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 java.lang.String
NTriplesUtil. toNTriplesString(Literal lit)
Creates an N-Triples string for the supplied literal.static java.lang.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
Methods in org.eclipse.rdf4j.rio.languages that return Literal Modifier and Type Method Description Literal
BCP47LanguageHandler. normalizeLanguage(java.lang.String literalValue, java.lang.String languageTag, ValueFactory valueFactory)
Literal
RFC3066LanguageHandler. normalizeLanguage(java.lang.String literalValue, java.lang.String languageTag, ValueFactory valueFactory)
-
Uses of Literal in org.eclipse.rdf4j.rio.ntriples
Methods in org.eclipse.rdf4j.rio.ntriples with parameters of type Literal Modifier and Type Method Description private void
NTriplesWriter. writeLiteral(Literal lit)
Write the N-Triples representation of the givenLiteral
, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1. -
Uses of Literal in org.eclipse.rdf4j.rio.rdfjson
Methods in org.eclipse.rdf4j.rio.rdfjson that return Literal Modifier and Type Method Description protected Literal
RDFJSONParser. createLiteral(java.lang.String label, java.lang.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
Methods in org.eclipse.rdf4j.rio.rdfxml that return Literal Modifier and Type Method Description protected Literal
RDFXMLParser. createLiteral(java.lang.String label, java.lang.String lang, IRI datatype)
-
Uses of Literal in org.eclipse.rdf4j.rio.trix
Methods in org.eclipse.rdf4j.rio.trix that return Literal Modifier and Type Method Description protected Literal
TriXParser. createLiteral(java.lang.String label, java.lang.String lang, IRI datatype)
-
Uses of Literal in org.eclipse.rdf4j.rio.turtle
Methods in org.eclipse.rdf4j.rio.turtle that return Literal Modifier and Type Method Description protected Literal
TurtleParser. parseNumber()
protected Literal
TurtleParser. 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 Modifier and Type Method Description protected void
TurtleWriter. writeLiteral(Literal lit)
-
Uses of Literal in org.eclipse.rdf4j.sail.lucene
Fields in org.eclipse.rdf4j.sail.lucene declared as Literal Modifier and Type Field Description private Literal
DistanceQuerySpec. from
private Literal
GeoRelationQuerySpec. qshape
Methods in org.eclipse.rdf4j.sail.lucene that return Literal Modifier and Type Method Description static Literal
SearchFields. distanceToLiteral(double d)
Literal
DistanceQuerySpec. getFrom()
(package private) static Literal
DistanceQuerySpec. getLiteral(ValueExpr v)
private static Literal
GeoRelationQuerySpecBuilder. getLiteral(ValueExpr v)
Literal
GeoRelationQuerySpec. getQueryGeometry()
static Literal
SearchFields. scoreToLiteral(float score)
Returns a score value encoded as a Literal.static Literal
SearchFields. wktToLiteral(java.lang.String wkt)
Methods in org.eclipse.rdf4j.sail.lucene with parameters of type Literal Modifier and Type Method Description boolean
AbstractSearchIndex. accept(Literal literal)
Returns whether the provided literal is accepted by the LuceneIndex to be indexed.boolean
SearchIndex. accept(Literal literal)
Returns whether the provided literal is accepted by the LuceneIndex to be indexed.void
DistanceQuerySpec. setFrom(Literal from)
void
GeoRelationQuerySpec. setQueryGeometry(Literal shape)
Constructors in org.eclipse.rdf4j.sail.lucene with parameters of type Literal Constructor Description DistanceQuerySpec(Literal from, IRI units, double dist, java.lang.String distVar, IRI geoProperty, java.lang.String geoVar, java.lang.String subjectVar, Var contextVar)
-
Uses of Literal in org.eclipse.rdf4j.sail.memory.model
Classes in org.eclipse.rdf4j.sail.memory.model that implement Literal Modifier and Type Class Description class
BooleanMemLiteral
An extension of MemLiteral that stores a boolean value to avoid parsing.class
CalendarMemLiteral
An extension of MemLiteral that stores a Calendar value to avoid parsing.class
DecimalMemLiteral
An extension of MemLiteral that stores a decimal value to avoid parsing.class
IntegerMemLiteral
An extension of MemLiteral that stores an integer value to avoid parsing.class
MemLiteral
A MemoryStore-specific extension of Literal giving it node properties.class
NumericMemLiteral
An extension of MemLiteral that stores a numeric value to avoid parsing.Fields in org.eclipse.rdf4j.sail.memory.model with type parameters of type Literal Modifier and Type Field Description private WeakObjectRegistry<Literal,MemLiteral>
MemValueFactory. literalRegistry
Registry containing the set of MemLiteral objects as used by a MemoryStore.Methods in org.eclipse.rdf4j.sail.memory.model that return Literal Modifier and Type Method Description Literal
MemValueFactory. createLiteral(boolean value)
Literal
MemValueFactory. createLiteral(java.lang.String value)
Literal
MemValueFactory. createLiteral(java.lang.String value, java.lang.String language)
Literal
MemValueFactory. createLiteral(java.lang.String value, CoreDatatype datatype)
Literal
MemValueFactory. createLiteral(java.lang.String value, IRI datatype)
Literal
MemValueFactory. createLiteral(javax.xml.datatype.XMLGregorianCalendar calendar)
private Literal
MemValueFactory. getSharedLiteral(MemLiteral newLiteral)
Methods in org.eclipse.rdf4j.sail.memory.model with parameters of type Literal Modifier and Type Method Description MemLiteral
MemValueFactory. getMemLiteral(Literal literal)
See getMemValue() for description.MemLiteral
MemValueFactory. getOrCreateMemLiteral(Literal literal)
SeeMemValueFactory.getOrCreateMemValue(Value)
for description.private boolean
MemValueFactory. isOwnMemLiteral(Literal value)
-
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast
Fields in org.eclipse.rdf4j.sail.shacl.ast declared as Literal Modifier and Type Field Description private Literal
ShaclProperties. maxExclusive
private Literal
ShaclProperties. maxInclusive
private Literal
ShaclProperties. minExclusive
private Literal
ShaclProperties. minInclusive
Fields in org.eclipse.rdf4j.sail.shacl.ast with type parameters of type Literal Modifier and Type Field Description private java.util.List<Literal>
ShaclProperties. message
(package private) java.util.List<Literal>
Shape. message
Methods in org.eclipse.rdf4j.sail.shacl.ast that return Literal Modifier and Type Method Description Literal
ShaclProperties. getMaxExclusive()
Literal
ShaclProperties. getMaxInclusive()
Literal
ShaclProperties. getMinExclusive()
Literal
ShaclProperties. getMinInclusive()
Methods in org.eclipse.rdf4j.sail.shacl.ast that return types with arguments of type Literal Modifier and Type Method Description java.util.List<Literal>
Shape. getDefaultMessage()
java.util.List<Literal>
ShaclProperties. getMessage()
java.util.List<Literal>
Shape. getMessage()
-
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents
Fields in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents declared as Literal Modifier and Type Field Description (package private) Literal
MaxExclusiveConstraintComponent. maxExclusive
(package private) Literal
MaxInclusiveConstraintComponent. maxInclusive
(package private) Literal
MinExclusiveConstraintComponent. minExclusive
(package private) Literal
MinInclusiveConstraintComponent. minInclusive
Fields in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents with type parameters of type Literal Modifier and Type Field Description private java.util.List<Literal>
SparqlConstraintComponent. message
Methods in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents that return types with arguments of type Literal Modifier and Type Method Description java.util.List<Literal>
AndConstraintComponent. getDefaultMessage()
java.util.List<Literal>
ClassConstraintComponent. getDefaultMessage()
java.util.List<Literal>
ClosedConstraintComponent. getDefaultMessage()
java.util.List<Literal>
ConstraintComponent. getDefaultMessage()
java.util.List<Literal>
DashHasValueInConstraintComponent. getDefaultMessage()
java.util.List<Literal>
DatatypeConstraintComponent. getDefaultMessage()
java.util.List<Literal>
DisjointConstraintComponent. getDefaultMessage()
java.util.List<Literal>
EqualsConstraintComponent. getDefaultMessage()
java.util.List<Literal>
HasValueConstraintComponent. getDefaultMessage()
java.util.List<Literal>
InConstraintComponent. getDefaultMessage()
java.util.List<Literal>
LanguageInConstraintComponent. getDefaultMessage()
java.util.List<Literal>
LessThanConstraintComponent. getDefaultMessage()
java.util.List<Literal>
LessThanOrEqualsConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MaxCountConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MaxExclusiveConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MaxInclusiveConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MaxLengthConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MinCountConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MinExclusiveConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MinInclusiveConstraintComponent. getDefaultMessage()
java.util.List<Literal>
MinLengthConstraintComponent. getDefaultMessage()
java.util.List<Literal>
NodeKindConstraintComponent. getDefaultMessage()
java.util.List<Literal>
NotConstraintComponent. getDefaultMessage()
java.util.List<Literal>
OrConstraintComponent. getDefaultMessage()
java.util.List<Literal>
PatternConstraintComponent. getDefaultMessage()
java.util.List<Literal>
QualifiedMaxCountConstraintComponent. getDefaultMessage()
java.util.List<Literal>
QualifiedMinCountConstraintComponent. getDefaultMessage()
java.util.List<Literal>
SparqlConstraintComponent. getDefaultMessage()
java.util.List<Literal>
UniqueLangConstraintComponent. getDefaultMessage()
java.util.List<Literal>
XoneConstraintComponent. getDefaultMessage()
Methods in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents with parameters of type Literal Modifier and Type Method Description (package private) java.lang.String
SimpleAbstractConstraintComponent. literalToString(Literal literal)
Constructors in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents with parameters of type Literal Constructor Description MaxExclusiveConstraintComponent(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 Constructor Description SparqlConstraintComponent(Resource id, Shape shape, boolean produceValidationReports, java.lang.String select, java.lang.String originalSelect, java.util.List<Literal> message, java.lang.Boolean deactivated, java.util.Set<Namespace> namespaces, Model prefixes)
-
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.planNodes
Fields in org.eclipse.rdf4j.sail.shacl.ast.planNodes declared as Literal Modifier and Type Field Description private Literal
LiteralComparatorFilter. compareTo
Constructors in org.eclipse.rdf4j.sail.shacl.ast.planNodes with parameters of type Literal Constructor Description LiteralComparatorFilter(PlanNode parent, Literal compareTo, Compare.CompareOp compareOp)
-
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.targets
Fields in org.eclipse.rdf4j.sail.shacl.ast.targets declared as Literal Modifier and Type Field Description private Literal
SparqlTarget. originalSelect
-
Uses of Literal in org.eclipse.rdf4j.spin.function
Methods in org.eclipse.rdf4j.spin.function that return Literal Modifier and Type Method Description Literal
Concat. evaluate(ValueFactory valueFactory, Value... args)
-