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 LiteralFedXUtil. literal(String literal)Methods in org.eclipse.rdf4j.federated.util with parameters of type Literal Modifier and Type Method Description protected static StringBuilderFilterUtils. appendLiteral(StringBuilder sb, Literal lit)protected static StringBuilderQueryStringUtil. appendLiteral(StringBuilder sb, Literal lit)Append the literal to the stringbuilder. -
Uses of Literal in org.eclipse.rdf4j.http.protocol.transaction
Methods in org.eclipse.rdf4j.http.protocol.transaction with parameters of type Literal Modifier and Type Method Description protected voidTransactionWriter. 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 LiteralValueFactory. createLiteral(boolean value)Creates a new xsd:boolean-typed literal representing the specified value.LiteralValueFactory. createLiteral(byte value)Creates a new xsd:byte-typed literal representing the specified value.LiteralValueFactory. createLiteral(double value)Creates a new xsd:double-typed literal representing the specified value.LiteralValueFactory. createLiteral(float value)Creates a new xsd:float-typed literal representing the specified value.LiteralValueFactory. createLiteral(int value)Creates a new xsd:int-typed literal representing the specified value.LiteralValueFactory. createLiteral(long value)Creates a new xsd:long-typed literal representing the specified value.LiteralValueFactory. createLiteral(short value)Creates a new xsd:short-typed literal representing the specified value.LiteralValueFactory. createLiteral(String label)Creates a new literal with the supplied label.LiteralValueFactory. createLiteral(String label, String language)Creates a new literal with the supplied label and language attribute.LiteralValueFactory. createLiteral(String label, CoreDatatype datatype)Creates a new literal with the supplied label and datatype.LiteralValueFactory. createLiteral(String label, IRI datatype)Creates a new literal with the supplied label and datatype.LiteralValueFactory. createLiteral(String label, IRI datatype, CoreDatatype coreDatatype)Creates a new literal with the supplied label and datatype.LiteralValueFactory. createLiteral(BigDecimal bigDecimal)Creates a new literal representing the specified bigDecimal that is typed as an xsd:decimal.LiteralValueFactory. createLiteral(BigInteger bigInteger)Creates a new literal representing the specified bigInteger that is typed as an xsd:integer.default LiteralValueFactory. createLiteral(TemporalAccessor value)Creates a new literal representing a temporal accessor value.default LiteralValueFactory. createLiteral(TemporalAmount value)Creates a new literal representing a temporal amount value.LiteralValueFactory. createLiteral(Date date)Creates a new literal representing the specified date that is typed using the appropriate XML Schema date/time datatype.LiteralValueFactory. 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 classAbstractLiteralBase class forLiteral, offering common functionality.Methods in org.eclipse.rdf4j.model.base that return Literal Modifier and Type Method Description LiteralAbstractValueFactory. createLiteral(boolean value)LiteralAbstractValueFactory. createLiteral(byte value)LiteralAbstractValueFactory. createLiteral(double value)LiteralAbstractValueFactory. createLiteral(float value)LiteralAbstractValueFactory. createLiteral(int value)LiteralAbstractValueFactory. createLiteral(long value)LiteralAbstractValueFactory. createLiteral(short value)LiteralAbstractValueFactory. createLiteral(String label)LiteralAbstractValueFactory. createLiteral(String label, String language)LiteralAbstractValueFactory. createLiteral(String label, CoreDatatype datatype)LiteralAbstractValueFactory. createLiteral(String label, IRI datatype)LiteralAbstractValueFactory. createLiteral(String label, IRI datatype, CoreDatatype coreDatatype)LiteralAbstractValueFactory. createLiteral(BigDecimal bigDecimal)LiteralAbstractValueFactory. createLiteral(BigInteger bigInteger)LiteralAbstractValueFactory. createLiteral(TemporalAccessor value)LiteralAbstractValueFactory. createLiteral(TemporalAmount value)LiteralAbstractValueFactory. createLiteral(Date date)LiteralAbstractValueFactory. 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 classBooleanLiteralAn extension ofSimpleLiteralthat stores a boolean value to avoid parsing.classCalendarLiteralAn extension ofSimpleLiteralthat stores a calendar value to avoid parsing.classDecimalLiteralAn extension ofSimpleLiteralthat stores an integer value using aBigDecimalobject.classIntegerLiteralAn extension ofSimpleLiteralthat stores an integer value using aBigIntegerobject.classNumericLiteralAn extension ofAbstractLiteralthat stores a numeric value to avoid parsing.classSimpleLiteralA simple default implementation of theLiteralinterface.Methods in org.eclipse.rdf4j.model.impl that return Literal Modifier and Type Method Description protected LiteralSimpleValueFactory. createFPLiteral(Number value, CoreDatatype.XSD datatype)protected LiteralSimpleValueFactory. createFPLiteral(Number value, IRI datatype)CallsSimpleValueFactory.createNumericLiteral(Number, IRI)with the supplied value and datatype as parameters.protected LiteralSimpleValueFactory. createIntegerLiteral(Number value, CoreDatatype.XSD datatype)protected LiteralSimpleValueFactory. createIntegerLiteral(Number value, IRI datatype)CallsSimpleValueFactory.createNumericLiteral(Number, IRI)with the supplied value and datatype as parameters.LiteralSimpleValueFactory. createLiteral(boolean b)LiteralSimpleValueFactory. createLiteral(byte value)CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.BYTEas parameters.LiteralSimpleValueFactory. createLiteral(double value)CallsSimpleValueFactory.createFPLiteral(Number, IRI)with the supplied value andXSD.DOUBLEas parameters.LiteralSimpleValueFactory. createLiteral(float value)CallsSimpleValueFactory.createFPLiteral(Number, IRI)with the supplied value andXSD.FLOATas parameters.LiteralSimpleValueFactory. createLiteral(int value)CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.INTas parameters.LiteralSimpleValueFactory. createLiteral(long value)CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.LONGas parameters.LiteralSimpleValueFactory. createLiteral(short value)CallsSimpleValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXSD.SHORTas parameters.LiteralSimpleValueFactory. createLiteral(String value)LiteralSimpleValueFactory. createLiteral(String value, String language)LiteralSimpleValueFactory. createLiteral(String value, IRI datatype)LiteralSimpleValueFactory. createLiteral(BigDecimal bigDecimal)LiteralSimpleValueFactory. createLiteral(BigInteger bigInteger)LiteralSimpleValueFactory. createLiteral(Date date)Converts the suppliedDateto aXMLGregorianCalendar, then callsValueFactory.createLiteral(XMLGregorianCalendar).LiteralSimpleValueFactory. createLiteral(XMLGregorianCalendar calendar)CallsValueFactory.createLiteral(String, IRI)with the String-value of the supplied calendar and the appropriate datatype as parameters.LiteralValidatingValueFactory. createLiteral(boolean value)LiteralValidatingValueFactory. createLiteral(byte value)LiteralValidatingValueFactory. createLiteral(double value)LiteralValidatingValueFactory. createLiteral(float value)LiteralValidatingValueFactory. createLiteral(int value)LiteralValidatingValueFactory. createLiteral(long value)LiteralValidatingValueFactory. createLiteral(short value)LiteralValidatingValueFactory. createLiteral(String label)LiteralValidatingValueFactory. createLiteral(String label, String language)LiteralValidatingValueFactory. createLiteral(String label, CoreDatatype datatype)LiteralValidatingValueFactory. createLiteral(String label, IRI datatype)LiteralValidatingValueFactory. createLiteral(String label, IRI datatype, CoreDatatype coreDatatype)LiteralValidatingValueFactory. createLiteral(BigDecimal bigDecimal)LiteralValidatingValueFactory. createLiteral(BigInteger bigInteger)LiteralValidatingValueFactory. createLiteral(TemporalAccessor value)LiteralValidatingValueFactory. createLiteral(TemporalAmount value)LiteralValidatingValueFactory. createLiteral(Date date)LiteralValidatingValueFactory. createLiteral(XMLGregorianCalendar calendar)protected LiteralSimpleValueFactory. createNumericLiteral(Number number, CoreDatatype datatype)protected LiteralSimpleValueFactory. createNumericLiteral(Number number, IRI datatype)Creates specific optimized subtypes of SimpleLiteral for numeric datatypes. -
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 LiteralLiterals. createLiteral(ValueFactory valueFactory, Object object)Deprecated.UseValues.literal(Object)instead.static LiteralLiterals. createLiteralOrFail(ValueFactory valueFactory, Object object)Deprecated.UseValues.literal(Object, boolean)instead.static LiteralValues. literal(boolean booleanValue)Creates a newLiteralwith the supplied boolean valuestatic LiteralValues. literal(byte byteValue)Creates a newLiteralwith the supplied byte valuestatic LiteralValues. literal(double doubleValue)Creates a newLiteralwith the supplied double valuestatic LiteralValues. literal(float floatValue)Creates a newLiteralwith the supplied float valuestatic LiteralValues. literal(int intValue)Creates a newLiteralwith the supplied int valuestatic LiteralValues. literal(long longValue)Creates a newLiteralwith the supplied long valuestatic LiteralValues. literal(short shortValue)Creates a newLiteralwith the supplied short valuestatic LiteralValues. literal(Object object)static LiteralValues. literal(Object object, boolean failOnUnknownType)static LiteralValues. literal(String lexicalValue)Creates a newLiteralwith the supplied lexical value.static LiteralValues. literal(String lexicalValue, String languageTag)Creates a newLiteralwith the supplied lexical value.static LiteralValues. literal(String lexicalValue, CoreDatatype datatype)Creates a newLiteralwith the supplied lexical value and datatype.static LiteralValues. literal(String lexicalValue, IRI datatype)Creates a newLiteralwith the supplied lexical value and datatype.static LiteralValues. literal(BigDecimal bigDecimal)Creates a newLiteralwith the suppliedBigDecimalvaluestatic LiteralValues. literal(BigInteger bigInteger)Creates a newLiteralwith the suppliedBigIntegervaluestatic LiteralValues. literal(TemporalAccessor value)Creates a newLiteralwith the suppliedTemporalAccessorvaluestatic LiteralValues. literal(ValueFactory vf, boolean booleanValue)Creates a newLiteralwith the supplied boolean valuestatic LiteralValues. literal(ValueFactory vf, byte byteValue)Creates a newLiteralwith the supplied byte valuestatic LiteralValues. literal(ValueFactory vf, double doubleValue)Creates a newLiteralwith the supplied double valuestatic LiteralValues. literal(ValueFactory vf, float floatValue)Creates a newLiteralwith the supplied float valuestatic LiteralValues. literal(ValueFactory vf, int intValue)Creates a newLiteralwith the supplied int valuestatic LiteralValues. literal(ValueFactory vf, long longValue)Creates a newLiteralwith the supplied long valuestatic LiteralValues. literal(ValueFactory vf, short shortValue)Creates a newLiteralwith the supplied short valuestatic LiteralValues. literal(ValueFactory vf, Object object, boolean failOnUnknownType)static LiteralValues. literal(ValueFactory vf, String lexicalValue)Creates a newLiteralwith the supplied lexical value.static LiteralValues. literal(ValueFactory vf, String lexicalValue, String languageTag)Creates a newLiteralwith the supplied lexical value.static LiteralValues. literal(ValueFactory vf, String lexicalValue, CoreDatatype datatype)Creates a newLiteralwith the supplied lexical value and datatype.static LiteralValues. literal(ValueFactory vf, String lexicalValue, IRI datatype)Creates a newLiteralwith the supplied lexical value and datatype.static LiteralValues. literal(ValueFactory vf, BigDecimal bigDecimal)Creates a newLiteralwith the suppliedBigDecimalvaluestatic LiteralValues. literal(ValueFactory vf, BigInteger bigInteger)Creates a newLiteralwith the suppliedBigIntegervaluestatic LiteralValues. literal(ValueFactory vf, TemporalAccessor value)Creates a newLiteralwith the suppliedTemporalAccessorvalueMethods in org.eclipse.rdf4j.model.util that return types with arguments of type Literal Modifier and Type Method Description static Optional<Literal>Configurations. getLiteralValue(Model model, Resource subject, IRI property, IRI legacyProperty)Retrieve a property value for the supplied subject as aLiteralif present, falling back to a supplied legacy property .static Optional<Literal>Models. getPropertyLiteral(Model m, Resource subject, IRI property, Resource... contexts)Retrieve a property value as aLiteralfor 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 objectLiteralvalue from the supplied statements.static Optional<Literal>Models. objectLiteral(Model m)Retrieves an objectLiteralvalue from the statements in the given model.static Set<Literal>Models. objectLiterals(Iterable<Statement> statements)Retrieves all objectLiteralvalues from the supplied statements.static Set<Literal>Models. objectLiterals(Model m)Retrieves all objectLiteralvalues from the statements in the given model.Methods in org.eclipse.rdf4j.model.util with parameters of type Literal Modifier and Type Method Description static booleanLiterals. getBooleanValue(Literal l, boolean fallback)Gets the boolean value of the supplied literal.static byteLiterals. getByteValue(Literal l, byte fallback)Gets the byte value of the supplied literal.static XMLGregorianCalendarLiterals. getCalendarValue(Literal l, XMLGregorianCalendar fallback)Gets the calendar value of the supplied literal.static BigDecimalLiterals. getDecimalValue(Literal l, BigDecimal fallback)Gets the decimal value of the supplied literal.static doubleLiterals. getDoubleValue(Literal l, double fallback)Gets the double value of the supplied literal.static DurationLiterals. getDurationValue(Literal l, Duration fallback)Gets theDurationvalue of the supplied literal.static floatLiterals. getFloatValue(Literal l, float fallback)Gets the float value of the supplied literal.static BigIntegerLiterals. getIntegerValue(Literal l, BigInteger fallback)Gets the integer value of the supplied literal.static intLiterals. getIntValue(Literal l, int fallback)Gets the int value of the supplied literal.static StringLiterals. getLabel(Literal l, String fallback)Gets the label of the supplied literal.static longLiterals. getLongValue(Literal l, long fallback)Gets the long value of the supplied literal.static shortLiterals. getShortValue(Literal l, short fallback)Gets the short value of the supplied literal.static booleanLiterals. isLanguageLiteral(Literal literal)Helper method to determine whether a literal is a language literal, and not a typed literal. -
Uses of Literal in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate
Fields in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate declared as Literal Modifier and Type Field Description protected static LiteralStatisticCollector. ZEROMethods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate that return Literal Modifier and Type Method Description protected abstract LiteralStatisticCollector. computeValue()Methods in org.eclipse.rdf4j.query.algebra.evaluation.function.aggregate with parameters of type Literal Modifier and Type Method Description voidStatisticCollector. 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 LiteralStandardDeviationCollector. 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 LiteralVarianceCollector. 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 LiteralDay. evaluate(ValueFactory valueFactory, Value... args)LiteralHours. evaluate(ValueFactory valueFactory, Value... args)LiteralMinutes. evaluate(ValueFactory valueFactory, Value... args)LiteralMonth. evaluate(ValueFactory valueFactory, Value... args)LiteralNow. evaluate(ValueFactory valueFactory, Value... args)LiteralSeconds. evaluate(ValueFactory valueFactory, Value... args)LiteralTimezone. evaluate(ValueFactory valueFactory, Value... args)LiteralTz. evaluate(ValueFactory valueFactory, Value... args)LiteralYear. 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 LiteralHashFunction. evaluate(ValueFactory valueFactory, Value... args)LiteralMD5. evaluate(ValueFactory valueFactory, Value... args)LiteralSHA1. evaluate(ValueFactory valueFactory, Value... args)LiteralSHA256. evaluate(ValueFactory valueFactory, Value... args)LiteralSHA384. evaluate(ValueFactory valueFactory, Value... args)LiteralSHA512. 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 LiteralAbs. evaluate(ValueFactory valueFactory, Value... args)LiteralCeil. evaluate(ValueFactory valueFactory, Value... args)LiteralFloor. evaluate(ValueFactory valueFactory, Value... args)LiteralRand. evaluate(ValueFactory valueFactory, Value... args)LiteralRound. 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 LiteralStrDt. evaluate(ValueFactory valueFactory, Value... args)LiteralStrLang. evaluate(ValueFactory valueFactory, Value... args)LiteralSTRUUID. 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 LiteralConcat. evaluate(ValueFactory valueFactory, Value... args)LiteralContains. evaluate(ValueFactory valueFactory, Value... args)LiteralEncodeForUri. evaluate(ValueFactory valueFactory, Value... args)LiteralLowerCase. evaluate(ValueFactory valueFactory, Value... args)LiteralReplace. evaluate(ValueFactory valueFactory, Value... args)LiteralStrAfter. evaluate(ValueFactory valueFactory, Value... args)LiteralStrBefore. evaluate(ValueFactory valueFactory, Value... args)LiteralStrEnds. evaluate(ValueFactory valueFactory, Value... args)LiteralStrLen. evaluate(ValueFactory valueFactory, Value... args)LiteralStrStarts. evaluate(ValueFactory valueFactory, Value... args)LiteralSubstring. evaluate(ValueFactory valueFactory, Value... args)LiteralUpperCase. 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 intSubstring. 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 LiteralBooleanCast. convert(ValueFactory valueFactory, Value value)protected abstract LiteralCastFunction. convert(ValueFactory vf, Value v)Convert the supplied value to a literal of the function output datatype.protected LiteralDateCast. convert(ValueFactory vf, Value value)protected LiteralDateTimeCast. convert(ValueFactory vf, Value value)protected LiteralDecimalCast. convert(ValueFactory valueFactory, Value value)protected LiteralDoubleCast. convert(ValueFactory valueFactory, Value value)protected LiteralFloatCast. convert(ValueFactory valueFactory, Value value)protected LiteralIntegerCastFunction. convert(ValueFactory valueFactory, Value value)protected LiteralStringCast. convert(ValueFactory valueFactory, Value value)LiteralCastFunction. evaluate(ValueFactory valueFactory, Value... args)LiteralStringCast. 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 aLiteralwith the specific datatype for the supplied boolean value.protected abstract Optional<Literal>IntegerCastFunction. createTypedLiteral(ValueFactory vf, BigInteger integerValue)create aLiteralwith the specific datatype for the suppliedBigIntegervalue.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 LiteralArrayBindingBasedQueryEvaluationContext. getNow()LiteralQueryEvaluationContext. getNow()LiteralQueryEvaluationContext.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 objectMinimal(Literal now, Dataset dataset, Comparator<Value> comparator)Set the shared now value to a preexisting object -
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 LiteralMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op)static LiteralMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)Computes the result of applying the supplied math operator on the supplied left and right operand.static LiteralXMLDatatypeMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op)Computes the result of applying the supplied math operator on the supplied left and right operand.static LiteralXMLDatatypeMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)Computes the result of applying the supplied math operator on the supplied left and right operand.Methods in org.eclipse.rdf4j.query.algebra.evaluation.util that return types with arguments of type Literal Modifier and Type Method Description static CloseableIteration<Literal>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 booleanQueryEvaluationUtil. compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator)Compares the suppliedLiteralarguments using the supplied operator, using strict (minimally-conforming) SPARQL 1.1 operator behavior.static booleanQueryEvaluationUtil. compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator, boolean strict)Compares the suppliedLiteralarguments using the supplied operator.static org.eclipse.rdf4j.query.algebra.evaluation.util.QueryEvaluationUtility.OrderQueryEvaluationUtility. compareLiterals(Literal leftLit, Literal rightLit, boolean strict)static QueryEvaluationUtility.ResultQueryEvaluationUtility. compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator)Compares the suppliedLiteralarguments using the supplied operator, using strict (minimally-conforming) SPARQL 1.1 operator behavior.static QueryEvaluationUtility.ResultQueryEvaluationUtility. compareLiterals(Literal leftLit, Literal rightLit, Compare.CompareOp operator, boolean strict)Compares the suppliedLiteralarguments using the supplied operator.static booleanQueryEvaluationUtil. compatibleArguments(Literal arg1, Literal arg2)Checks whether the supplied two literal arguments are 'argument compatible' according to the SPARQL definition.static booleanQueryEvaluationUtility. compatibleArguments(Literal arg1, Literal arg2)Checks whether the supplied two literal arguments are 'argument compatible' according to the SPARQL definition.static LiteralMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op)static LiteralMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)Computes the result of applying the supplied math operator on the supplied left and right operand.static LiteralXMLDatatypeMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op)Computes the result of applying the supplied math operator on the supplied left and right operand.static LiteralXMLDatatypeMathUtil. compute(Literal leftLit, Literal rightLit, MathExpr.MathOp op, ValueFactory vf)Computes the result of applying the supplied math operator on the supplied left and right operand.static booleanQueryEvaluationUtil. isPlainLiteral(Literal l)static booleanQueryEvaluationUtility. isPlainLiteral(Literal l)static booleanQueryEvaluationUtil. isSimpleLiteral(Literal l)Checks whether the supplied literal is a "simple literal".static booleanQueryEvaluationUtility. isSimpleLiteral(Literal l)Checks whether the supplied literal is a "simple literal".static booleanQueryEvaluationUtil. isStringLiteral(Literal l)Checks whether the supplied literal is a "string literal".static booleanQueryEvaluationUtility. isStringLiteral(Literal l)Checks whether the supplied literal is a "string literal". -
Uses of Literal in org.eclipse.rdf4j.query.dawg
Fields in org.eclipse.rdf4j.query.dawg declared as Literal Modifier and Type Field Description static LiteralDAWGTestResultSetSchema. FALSEstatic LiteralDAWGTestResultSetSchema. 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 LiteralSPARQLResultsTSVMappingStrategy. parseLiteral(String literal)Parses a literal, creates an object for it and returns this object. -
Uses of Literal in org.eclipse.rdf4j.rio
Methods in org.eclipse.rdf4j.rio that return Literal Modifier and Type Method Description LiteralDatatypeHandler. 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.LiteralLanguageHandler. 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 LiteralDBPediaDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)LiteralGeoSPARQLDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)LiteralRDFDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)LiteralVirtuosoGeometryDatatypeHandler. normalizeDatatype(String literalValue, IRI datatypeUri, ValueFactory valueFactory)LiteralXMLSchemaDatatypeHandler. 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 LiteralAbstractRDFParser. createLiteral(String label, String lang, CoreDatatype datatype, long lineNo, long columnNo)Creates aLiteralobject with the supplied parameters, using the lineNo and columnNo to enhance error messages or exceptions that may be generated during the creation of the literal.protected LiteralAbstractRDFParser. createLiteral(String label, String lang, IRI datatype)Creates aLiteralobject with the supplied parameters.protected LiteralAbstractRDFParser. createLiteral(String label, String lang, IRI datatype, long lineNo, long columnNo)Creates aLiteralobject with the supplied parameters, using the lineNo and columnNo to enhance error messages or exceptions that may be generated during the creation of the literal.static LiteralRDFParserHelper. createLiteral(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory)Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandlerorLanguageHandlerimplementations that are found in theParserConfig.static LiteralRDFParserHelper. createLiteral(String label, String lang, IRI datatype, ParserConfig parserConfig, ParseErrorListener errListener, ValueFactory valueFactory, long lineNo, long columnNo)Create a literal using the given parameters, including iterative verification and normalization by anyDatatypeHandlerorLanguageHandlerimplementations that are found in theParserConfig.static LiteralNTriplesUtil. parseLiteral(String nTriplesLiteral, ValueFactory valueFactory)Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this object.Methods in org.eclipse.rdf4j.rio.helpers with parameters of type Literal Modifier and Type Method Description static voidNTriplesUtil. append(Literal lit, Appendable appendable)Appends the N-Triples representation of the givenLiteralto the givenAppendable.static voidNTriplesUtil. append(Literal lit, Appendable appendable, boolean xsdStringToPlainLiteral, boolean escapeUnicode)Appends the N-Triples representation of the givenLiteralto the givenAppendable, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1.static StringNTriplesUtil. toNTriplesString(Literal lit)Creates an N-Triples string for the supplied literal.static StringNTriplesUtil. toNTriplesString(Literal lit, boolean xsdStringToPlainLiteral)Creates an N-Triples string for the supplied literal, optionally ignoring the xsd:string datatype as it is implied for RDF-1.1. -
Uses of Literal in org.eclipse.rdf4j.rio.languages
Methods in org.eclipse.rdf4j.rio.languages that return Literal Modifier and Type Method Description LiteralBCP47LanguageHandler. normalizeLanguage(String literalValue, String languageTag, ValueFactory valueFactory)LiteralRFC3066LanguageHandler. 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 LiteralRDFJSONParser. createLiteral(String label, String language, IRI datatype, com.fasterxml.jackson.core.JsonLocation currentLocation)Creates a literal, using the current value, language, and datatype, and additionally using the givenJsonLocationto provide information about the line and column numbers in the event of a warning, error or exception being generated by the creation of the literal. -
Uses of Literal in org.eclipse.rdf4j.rio.rdfxml
Methods in org.eclipse.rdf4j.rio.rdfxml that return Literal Modifier and Type Method Description protected LiteralRDFXMLParser. createLiteral(String label, String lang, IRI datatype) -
Uses of Literal in org.eclipse.rdf4j.rio.trix
Methods in org.eclipse.rdf4j.rio.trix that return Literal Modifier and Type Method Description protected LiteralTriXParser. createLiteral(String label, String lang, IRI datatype) -
Uses of Literal in org.eclipse.rdf4j.rio.turtle
Methods in org.eclipse.rdf4j.rio.turtle that return Literal Modifier and Type Method Description protected LiteralTurtleParser. parseNumber()protected LiteralTurtleParser. parseQuotedLiteral()Parses a quoted string, optionally followed by a language tag or datatype.Methods in org.eclipse.rdf4j.rio.turtle with parameters of type Literal Modifier and Type Method Description protected voidTurtleWriter. 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 classLmdbLiteral -
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 LiteralSearchFields. distanceToLiteral(double d)LiteralDistanceQuerySpec. getFrom()LiteralGeoRelationQuerySpec. getQueryGeometry()static LiteralSearchFields. scoreToLiteral(float score)Returns a score value encoded as a Literal.static LiteralSearchFields. wktToLiteral(String wkt)Methods in org.eclipse.rdf4j.sail.lucene with parameters of type Literal Modifier and Type Method Description booleanAbstractSearchIndex. accept(Literal literal)Returns whether the provided literal is accepted by the LuceneIndex to be indexed.booleanSearchIndex. accept(Literal literal)Returns whether the provided literal is accepted by the LuceneIndex to be indexed.voidDistanceQuerySpec. setFrom(Literal from)voidGeoRelationQuerySpec. 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 classBooleanMemLiteralAn extension of MemLiteral that stores a boolean value to avoid parsing.classCalendarMemLiteralAn extension of MemLiteral that stores a Calendar value to avoid parsing.classDecimalMemLiteralAn extension of MemLiteral that stores a decimal value to avoid parsing.classIntegerMemLiteralAn extension of MemLiteral that stores an integer value to avoid parsing.classMemLiteralA MemoryStore-specific extension of Literal giving it node properties.classNumericMemLiteralAn 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 LiteralMemValueFactory. createLiteral(boolean value)LiteralMemValueFactory. createLiteral(String value)LiteralMemValueFactory. createLiteral(String value, String language)LiteralMemValueFactory. createLiteral(String value, CoreDatatype datatype)LiteralMemValueFactory. createLiteral(String value, IRI datatype)LiteralMemValueFactory. createLiteral(XMLGregorianCalendar calendar)Methods in org.eclipse.rdf4j.sail.memory.model with parameters of type Literal Modifier and Type Method Description MemLiteralMemValueFactory. getMemLiteral(Literal literal)See getMemValue() for description.MemLiteralMemValueFactory. 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 NativeLiteralValueStore. 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 classNativeLiteral -
Uses of Literal in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents
Methods in org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents that return types with arguments of type Literal Modifier and Type Method Description List<Literal>AndConstraintComponent. getDefaultMessage()List<Literal>ClassConstraintComponent. getDefaultMessage()List<Literal>ClosedConstraintComponent. getDefaultMessage()List<Literal>ConstraintComponent. getDefaultMessage()List<Literal>DashHasValueInConstraintComponent. getDefaultMessage()List<Literal>DatatypeConstraintComponent. getDefaultMessage()List<Literal>DisjointConstraintComponent. getDefaultMessage()List<Literal>EqualsConstraintComponent. getDefaultMessage()List<Literal>HasValueConstraintComponent. getDefaultMessage()List<Literal>InConstraintComponent. getDefaultMessage()List<Literal>LanguageInConstraintComponent. getDefaultMessage()List<Literal>LessThanConstraintComponent. getDefaultMessage()List<Literal>LessThanOrEqualsConstraintComponent. getDefaultMessage()List<Literal>MaxCountConstraintComponent. getDefaultMessage()List<Literal>MaxExclusiveConstraintComponent. getDefaultMessage()List<Literal>MaxInclusiveConstraintComponent. getDefaultMessage()List<Literal>MaxLengthConstraintComponent. getDefaultMessage()List<Literal>MinCountConstraintComponent. getDefaultMessage()List<Literal>MinExclusiveConstraintComponent. getDefaultMessage()List<Literal>MinInclusiveConstraintComponent. getDefaultMessage()List<Literal>MinLengthConstraintComponent. getDefaultMessage()List<Literal>NodeKindConstraintComponent. getDefaultMessage()List<Literal>NotConstraintComponent. getDefaultMessage()List<Literal>OrConstraintComponent. getDefaultMessage()List<Literal>PatternConstraintComponent. getDefaultMessage()List<Literal>QualifiedMaxCountConstraintComponent. getDefaultMessage()List<Literal>QualifiedMinCountConstraintComponent. getDefaultMessage()List<Literal>SparqlConstraintComponent. getDefaultMessage()List<Literal>UniqueLangConstraintComponent. getDefaultMessage()List<Literal>VoidConstraintComponent. getDefaultMessage()List<Literal>XoneConstraintComponent. getDefaultMessage()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, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, boolean produceValidationReports, String select, String originalSelect, List<Literal> message, Boolean deactivated, Set<Namespace> namespaces, Model prefixes) -
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 LiteralConcat. 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 LiteralModelTest. literal1protected LiteralModelTest. literal2protected LiteralModelTest. 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 LiteralRepositoryConnectionTest. mboxAliceprotected LiteralRepositoryTest. mboxAliceprotected LiteralRepositoryConnectionTest. mboxBobprotected LiteralRepositoryTest. mboxBobprotected LiteralRepositoryConnectionTest. nameAliceprotected LiteralRepositoryTest. nameAliceprotected LiteralRepositoryConnectionTest. nameBobprotected LiteralRepositoryTest. nameBobprotected LiteralRepositoryConnectionTest. Александърprotected LiteralRepositoryTest. Александър -
Uses of Literal in org.eclipse.rdf4j.testsuite.repository.optimistic
Methods in org.eclipse.rdf4j.testsuite.repository.optimistic that return Literal Modifier and Type Method Description protected LiteralIsolationLevelTest. readLiteral(RepositoryConnection con, IRI subj, IRI pred) -
Uses of Literal in org.eclipse.rdf4j.testsuite.sail
Methods in org.eclipse.rdf4j.testsuite.sail that return Literal Modifier and Type Method Description protected LiteralSailIsolationLevelTest. readLiteral(SailConnection con, IRI subj, IRI pred) -
Uses of Literal in org.eclipse.testsuite.rdf4j.sail.lucene
Fields in org.eclipse.testsuite.rdf4j.sail.lucene declared as Literal Modifier and Type Field Description static LiteralAbstractLuceneSailGeoSPARQLTest. ARC_TRIOMPHEstatic LiteralAbstractLuceneSailGeoSPARQLTest. EIFFEL_TOWERstatic LiteralAbstractLuceneSailGeoSPARQLTest. NOTRE_DAMEstatic LiteralAbstractLuceneSailGeoSPARQLTest. POLY1static LiteralAbstractLuceneSailGeoSPARQLTest. POLY2static LiteralAbstractLuceneSailGeoSPARQLTest. TEST_POINTstatic LiteralAbstractLuceneSailGeoSPARQLTest. TEST_POLY
-