Uses of Interface
org.eclipse.rdf4j.model.Literal
-
-
Uses of Literal in org.eclipse.rdf4j.federated.util
Methods in org.eclipse.rdf4j.federated.util that return Literal Modifier and Type Method Description static Literal
FedXUtil. literal(String literal)
Methods in org.eclipse.rdf4j.federated.util with parameters of type Literal Modifier and Type Method Description protected static StringBuilder
FilterUtils. appendLiteral(StringBuilder sb, Literal lit)
protected static StringBuilder
QueryStringUtil. appendLiteral(StringBuilder sb, Literal lit)
Append the literal to the stringbuilder. -
Uses of Literal in org.eclipse.rdf4j.http.protocol.transaction
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(String label)
Creates a new literal with the supplied label.Literal
ValueFactory. createLiteral(String label, String language)
Creates a new literal with the supplied label and language attribute.Literal
ValueFactory. createLiteral(String label, CoreDatatype datatype)
Creates a new literal with the supplied label and datatype.Literal
ValueFactory. createLiteral(String label, IRI datatype)
Creates a new literal with the supplied label and datatype.Literal
ValueFactory. createLiteral(String label, IRI datatype, CoreDatatype coreDatatype)
Creates a new literal with the supplied label and datatype.Literal
ValueFactory. createLiteral(BigDecimal bigDecimal)
Creates a new literal representing the specified bigDecimal that is typed as an xsd:decimal.Literal
ValueFactory. createLiteral(BigInteger bigInteger)
Creates a new literal representing the specified bigInteger that is typed as an xsd:integer.default Literal
ValueFactory. createLiteral(TemporalAccessor value)
Creates a new literal representing a temporal accessor value.default Literal
ValueFactory. createLiteral(TemporalAmount value)
Creates a new literal representing a temporal amount value.Literal
ValueFactory. createLiteral(Date date)
Creates a new literal representing the specified date that is typed using the appropriate XML Schema date/time datatype.Literal
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 Literal Modifier and Type Class Description class
AbstractLiteral
Base class forLiteral
, offering common functionality.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(String label)
Literal
AbstractValueFactory. createLiteral(String label, String language)
Literal
AbstractValueFactory. createLiteral(String label, CoreDatatype datatype)
Literal
AbstractValueFactory. createLiteral(String label, IRI datatype)
Literal
AbstractValueFactory. createLiteral(String label, IRI datatype, CoreDatatype coreDatatype)
Literal
AbstractValueFactory. createLiteral(BigDecimal bigDecimal)
Literal
AbstractValueFactory. createLiteral(BigInteger bigInteger)
Literal
AbstractValueFactory. createLiteral(TemporalAccessor value)
Literal
AbstractValueFactory. createLiteral(TemporalAmount value)
Literal
AbstractValueFactory. createLiteral(Date date)
Literal
AbstractValueFactory. createLiteral(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(Number value, IRI datatype)
CallsSimpleValueFactory.createNumericLiteral(Number, IRI)
with the supplied value and datatype as parameters.protected Literal
SimpleValueFactory. createFPLiteral(Number value, XSD.Datatype datatype)
protected Literal
SimpleValueFactory. createIntegerLiteral(Number value, IRI datatype)
CallsSimpleValueFactory.createNumericLiteral(Number, IRI)
with the supplied value and datatype as parameters.protected Literal
SimpleValueFactory. createIntegerLiteral(Number value, XSD.Datatype datatype)
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(String value)
Literal
SimpleValueFactory. createLiteral(String value, String language)
Literal
SimpleValueFactory. createLiteral(String value, IRI datatype)
Literal
SimpleValueFactory. createLiteral(BigDecimal bigDecimal)
Literal
SimpleValueFactory. createLiteral(BigInteger bigInteger)
Literal
SimpleValueFactory. createLiteral(Date date)
Converts the suppliedDate
to aXMLGregorianCalendar
, then callsValueFactory.createLiteral(XMLGregorianCalendar)
.Literal
SimpleValueFactory. createLiteral(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(String label)
Literal
ValidatingValueFactory. createLiteral(String label, String language)
Literal
ValidatingValueFactory. createLiteral(String label, CoreDatatype datatype)
Literal
ValidatingValueFactory. createLiteral(String label, IRI datatype)
Literal
ValidatingValueFactory. createLiteral(String label, IRI datatype, CoreDatatype coreDatatype)
Literal
ValidatingValueFactory. createLiteral(BigDecimal bigDecimal)
Literal
ValidatingValueFactory. createLiteral(BigInteger bigInteger)
Literal
ValidatingValueFactory. createLiteral(TemporalAccessor value)
Literal
ValidatingValueFactory. createLiteral(TemporalAmount value)
Literal
ValidatingValueFactory. createLiteral(Date date)
Literal
ValidatingValueFactory. createLiteral(XMLGregorianCalendar calendar)
protected Literal
SimpleValueFactory. createNumericLiteral(Number number, CoreDatatype datatype)
protected Literal
SimpleValueFactory. createNumericLiteral(Number number, IRI datatype)
Creates specific optimized subtypes of SimpleLiteral for numeric datatypes.protected Literal
SimpleValueFactory. createNumericLiteral(Number number, XSD.Datatype datatype)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Literal in org.eclipse.rdf4j.model.util
Methods in org.eclipse.rdf4j.model.util that return Literal Modifier and Type Method Description static Literal
Literals. createLiteral(ValueFactory valueFactory, Object object)
Deprecated.since 3.5.0 - useValues.literal(Object)
instead.static Literal
Literals. createLiteralOrFail(ValueFactory valueFactory, Object object)
Deprecated.since 3.5.0 - 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(Object object)
static Literal
Values. literal(Object object, boolean failOnUnknownType)
static Literal
Values. literal(String lexicalValue)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(String lexicalValue, String languageTag)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(String lexicalValue, CoreDatatype datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(String lexicalValue, IRI datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(BigDecimal bigDecimal)
Creates a newLiteral
with the suppliedBigDecimal
valuestatic Literal
Values. literal(BigInteger bigInteger)
Creates a newLiteral
with the suppliedBigInteger
valuestatic Literal
Values. literal(TemporalAccessor value)
Creates a newLiteral
with the suppliedTemporalAccessor
valuestatic Literal
Values. literal(ValueFactory vf, boolean booleanValue)
Creates a newLiteral
with the supplied boolean valuestatic Literal
Values. literal(ValueFactory vf, byte byteValue)
Creates a newLiteral
with the supplied byte valuestatic Literal
Values. literal(ValueFactory vf, double doubleValue)
Creates a newLiteral
with the supplied double valuestatic Literal
Values. literal(ValueFactory vf, float floatValue)
Creates a newLiteral
with the supplied float valuestatic Literal
Values. literal(ValueFactory vf, int intValue)
Creates a newLiteral
with the supplied int valuestatic Literal
Values. literal(ValueFactory vf, long longValue)
Creates a newLiteral
with the supplied long valuestatic Literal
Values. literal(ValueFactory vf, short shortValue)
Creates a newLiteral
with the supplied short valuestatic Literal
Values. literal(ValueFactory vf, Object object, boolean failOnUnknownType)
static Literal
Values. literal(ValueFactory vf, String lexicalValue)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(ValueFactory vf, String lexicalValue, String languageTag)
Creates a newLiteral
with the supplied lexical value.static Literal
Values. literal(ValueFactory vf, String lexicalValue, CoreDatatype datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(ValueFactory vf, String lexicalValue, IRI datatype)
Creates a newLiteral
with the supplied lexical value and datatype.static Literal
Values. literal(ValueFactory vf, BigDecimal bigDecimal)
Creates a newLiteral
with the suppliedBigDecimal
valuestatic Literal
Values. literal(ValueFactory vf, BigInteger bigInteger)
Creates a newLiteral
with the suppliedBigInteger
valuestatic Literal
Values. literal(ValueFactory vf, TemporalAccessor value)
Creates a newLiteral
with the suppliedTemporalAccessor
valueMethods in org.eclipse.rdf4j.model.util that return types with arguments of type Literal Modifier and Type Method Description static 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 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 Optional<Literal>
Models. objectLiteral(Iterable<Statement> statements)
Retrieves an objectLiteral
value from the supplied statements.static Optional<Literal>
Models. objectLiteral(Model m)
Retrieves an objectLiteral
value from the statements in the given model.static Set<Literal>
Models. objectLiterals(Iterable<Statement> statements)
Retrieves all objectLiteral
values from the supplied statements.static 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 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 XMLGregorianCalendar
Literals. getCalendarValue(Literal l, XMLGregorianCalendar fallback)
Gets the calendar value of the supplied literal.static BigDecimal
Literals. getDecimalValue(Literal l, BigDecimal fallback)
Gets the decimal value of the supplied literal.static double
Literals. getDoubleValue(Literal l, double fallback)
Gets the double value of the supplied literal.static Duration
Literals. getDurationValue(Literal l, Duration fallback)
Gets theDuration
value of the supplied literal.static float
Literals. getFloatValue(Literal l, float fallback)
Gets the float value of the supplied literal.static BigInteger
Literals. getIntegerValue(Literal l, BigInteger fallback)
Gets the integer value of the supplied literal.static int
Literals. getIntValue(Literal l, int fallback)
Gets the int value of the supplied literal.static String
Literals. getLabel(Literal l, 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.static Optional<XSD.Datatype>
Literals. getXsdDatatype(Literal l)
Deprecated, for removal: This API element is subject to removal in a future version.UsegetCoreDatatype()
instead.static boolean
Literals. isLanguageLiteral(Literal literal)
Helper method to determine whether a literal is a language literal, and not a typed literal. -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate
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.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 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 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
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 Optional<Literal>
ByteCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
IntCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
IntegerCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
IntegerCastFunction. createTypedLiteral(ValueFactory vf, boolean booleanValue)
create aLiteral
with the specific datatype for the supplied boolean value.protected abstract Optional<Literal>
IntegerCastFunction. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
create aLiteral
with the specific datatype for the suppliedBigInteger
value.protected Optional<Literal>
LongCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
NegativeIntegerCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
NonNegativeIntegerCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
NonPositiveIntegerCast. createTypedLiteral(ValueFactory vf, boolean booleanValue)
protected Optional<Literal>
NonPositiveIntegerCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
PositiveIntegerCast. createTypedLiteral(ValueFactory vf, boolean booleanValue)
protected Optional<Literal>
PositiveIntegerCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
ShortCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
UnsignedByteCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
UnsignedIntCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
UnsignedLongCast. createTypedLiteral(ValueFactory vf, BigInteger integerValue)
protected Optional<Literal>
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 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
Methods in org.eclipse.rdf4j.query.algebra.evaluation.iterator that return Literal Modifier and Type Method Description Literal
FilterIterator.RetainedVariableFilteredQueryEvaluationContext. getNow()
-
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 static Literal
MathUtil. 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)
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 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 org.eclipse.rdf4j.query.algebra.evaluation.util.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.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)
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 boolean
QueryEvaluationUtil. isPlainLiteral(Literal l)
static boolean
QueryEvaluationUtility. isPlainLiteral(Literal l)
static boolean
QueryEvaluationUtil. isSimpleLiteral(Literal l)
Checks whether the supplied literal is a "simple literal".static boolean
QueryEvaluationUtility. isSimpleLiteral(Literal l)
Checks whether the supplied literal is a "simple literal".static boolean
QueryEvaluationUtil. isStringLiteral(Literal l)
Checks whether the supplied literal is a "string literal".static boolean
QueryEvaluationUtility. isStringLiteral(Literal l)
Checks whether the supplied literal is a "string literal". -
Uses of Literal in org.eclipse.rdf4j.query.dawg
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.text.tsv
Methods in org.eclipse.rdf4j.query.resultio.text.tsv that return Literal Modifier and Type Method Description protected Literal
SPARQLResultsTSVMappingStrategy. parseLiteral(String literal)
Parses a literal, creates an object for it and returns this object. -
Uses of Literal in org.eclipse.rdf4j.rio
Methods in org.eclipse.rdf4j.rio that return Literal Modifier and Type Method Description Literal
DatatypeHandler. 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.Literal
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 Literal Modifier and Type Method Description Literal
DBPediaDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
GeoSPARQLDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
RDFDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
VirtuosoGeometryDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)
Literal
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 Literal Modifier and Type Method Description protected Literal
AbstractRDFParser. createLiteral(String label, String lang, IRI datatype)
Creates aLiteral
object with the supplied parameters.protected Literal
AbstractRDFParser. createLiteral(String label, String lang, IRI datatype, long lineNo, long columnNo)
Creates aLiteral
object with the supplied parameters, using the lineNo and columnNo to enhance error messages or exceptions that may be generated during the creation of the literal.static Literal
RDFParserHelper. createLiteral(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory)
Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandler
orLanguageHandler
implementations that are found in theParserConfig
.static Literal
RDFParserHelper. createLiteral(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory, long lineNo, long columnNo)
Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandler
orLanguageHandler
implementations that are found in theParserConfig
.static Literal
NTriplesUtil. parseLiteral(String nTriplesLiteral, ValueFactory valueFactory)
Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this object.Methods in org.eclipse.rdf4j.rio.helpers with parameters of type Literal Modifier and Type Method Description static void
NTriplesUtil. append(Literal lit, Appendable appendable)
Appends the N-Triples representation of the givenLiteral
to the givenAppendable
.static void
NTriplesUtil. append(Literal lit, Appendable appendable, boolean xsdStringToPlainLiteral, boolean escapeUnicode)
Appends the N-Triples representation of the givenLiteral
to the givenAppendable
, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1.static String
NTriplesUtil. toNTriplesString(Literal lit)
Creates an N-Triples string for the supplied literal.static String
NTriplesUtil. toNTriplesString(Literal lit, boolean xsdStringToPlainLiteral)
Creates an N-Triples string for the supplied literal, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1. -
Uses of Literal in org.eclipse.rdf4j.rio.languages
Methods in org.eclipse.rdf4j.rio.languages that return Literal Modifier and Type Method Description Literal
BCP47LanguageHandler. normalizeLanguage(String literalValue, String languageTag, ValueFactory valueFactory)
Literal
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 Literal Modifier and Type Method Description protected Literal
RDFJSONParser. createLiteral(String label, String language, IRI datatype, com.fasterxml.jackson.core.JsonLocation currentLocation)
Creates a literal, using the current value, language, and datatype, and additionally using the givenJsonLocation
to provide information about the line and column numbers in the event of a warning, error or exception being generated by the creation of the literal. -
Uses of Literal in org.eclipse.rdf4j.rio.rdfxml
Methods in org.eclipse.rdf4j.rio.rdfxml that return Literal Modifier and Type Method Description protected Literal
RDFXMLParser. 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 Literal Modifier and Type Method Description protected Literal
TriXParser. 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 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.lmdb.model
Classes in org.eclipse.rdf4j.sail.lmdb.model that implement Literal Modifier and Type Class Description class
LmdbLiteral
-
Uses of Literal in org.eclipse.rdf4j.sail.lucene
Methods in org.eclipse.rdf4j.sail.lucene that return Literal Modifier and Type Method Description static Literal
SearchFields. distanceToLiteral(double d)
Literal
DistanceQuerySpec. getFrom()
Literal
GeoRelationQuerySpec. getQueryGeometry()
static Literal
SearchFields. scoreToLiteral(float score)
Returns a score value encoded as a Literal.static Literal
SearchFields. wktToLiteral(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, String distVar, IRI geoProperty, String geoVar, 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.Methods in org.eclipse.rdf4j.sail.memory.model that return Literal Modifier and Type Method Description Literal
MemValueFactory. createLiteral(boolean value)
Literal
MemValueFactory. createLiteral(String value)
Literal
MemValueFactory. createLiteral(String value, String language)
Literal
MemValueFactory. createLiteral(String value, CoreDatatype datatype)
Literal
MemValueFactory. createLiteral(String value, IRI datatype)
Literal
MemValueFactory. createLiteral(XMLGregorianCalendar calendar)
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. -
Uses of Literal in org.eclipse.rdf4j.sail.nativerdf
Methods in org.eclipse.rdf4j.sail.nativerdf with parameters of type Literal Modifier and Type Method Description NativeLiteral
ValueStore. 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 Modifier and Type Class Description class
NativeLiteral
-
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents
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)
-
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.planNodes
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.spin.function
Methods in org.eclipse.rdf4j.spin.function that return Literal Modifier and Type Method Description Literal
Concat. evaluate(ValueFactory valueFactory, Value... args)
-
Uses of Literal in org.eclipse.rdf4j.testsuite.model
Fields in org.eclipse.rdf4j.testsuite.model declared as Literal Modifier and Type Field Description protected Literal
ModelTest. literal1
protected Literal
ModelTest. literal2
protected Literal
ModelTest. literal3
-
Uses of Literal in org.eclipse.rdf4j.testsuite.repository
Fields in org.eclipse.rdf4j.testsuite.repository declared as Literal Modifier and Type Field Description protected Literal
RepositoryConnectionTest. mboxAlice
protected Literal
RepositoryTest. mboxAlice
protected Literal
RepositoryConnectionTest. mboxBob
protected Literal
RepositoryTest. mboxBob
protected Literal
RepositoryConnectionTest. nameAlice
protected Literal
RepositoryTest. nameAlice
protected Literal
RepositoryConnectionTest. nameBob
protected Literal
RepositoryTest. nameBob
protected Literal
RepositoryConnectionTest. Александър
protected Literal
RepositoryTest. Александър
-
Uses of Literal in org.eclipse.rdf4j.testsuite.repository.optimistic
Methods in org.eclipse.rdf4j.testsuite.repository.optimistic that return Literal Modifier and Type Method Description protected Literal
IsolationLevelTest. 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 Literal Modifier and Type Method Description protected Literal
SailIsolationLevelTest. 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 Literal Modifier and Type Field Description static Literal
AbstractLuceneSailGeoSPARQLTest. ARC_TRIOMPHE
static Literal
AbstractLuceneSailGeoSPARQLTest. EIFFEL_TOWER
static Literal
AbstractLuceneSailGeoSPARQLTest. NOTRE_DAME
static Literal
AbstractLuceneSailGeoSPARQLTest. POLY1
static Literal
AbstractLuceneSailGeoSPARQLTest. POLY2
static Literal
AbstractLuceneSailGeoSPARQLTest. TEST_POINT
static Literal
AbstractLuceneSailGeoSPARQLTest. TEST_POLY
-