| Modifier and Type | Method and Description | 
|---|---|
| static Literal | FedXUtil. literal(String literal) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected static StringBuilder | QueryStringUtil. appendLiteral(StringBuilder sb,
             Literal lit)Append the literal to the stringbuilder. | 
| protected static StringBuilder | FilterUtils. appendLiteral(StringBuilder sb,
             Literal lit) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | TransactionWriter. serialize(Literal literal,
         XMLWriter xmlWriter) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Literal | AbstractModelTest. literal1 | 
| protected Literal | AbstractModelTest. literal2 | 
| protected Literal | AbstractModelTest. literal3 | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | ValueFactory. createLiteral(BigDecimal bigDecimal)Creates a new literal representing the specified bigDecimal that is typed using the appropriate XML Schema
 date/time datatype. | 
| Literal | ValueFactory. createLiteral(BigInteger bigInteger)Creates a new literal representing the specified bigInteger that is typed using the appropriate XML Schema
 date/time datatype. | 
| 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(Date date)Creates a new literal representing the specified date that is typed using the appropriate XML Schema date/time
 datatype. | 
| 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,
             IRI datatype)Creates a new literal with the supplied label and datatype. | 
| Literal | ValueFactory. createLiteral(String label,
             String language)Creates a new literal with the supplied label and language attribute. | 
| default Literal | ValueFactory. createLiteral(String label,
             URI datatype)Deprecated. 
 Use  ValueFactory.createLiteral(String, IRI)instead. | 
| Literal | ValueFactory. createLiteral(XMLGregorianCalendar calendar)Creates a new literal representing the specified calendar that is typed using the appropriate XML Schema
 date/time datatype. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BooleanLiteralAn extension of  SimpleLiteralthat stores a boolean value to avoid parsing. | 
| class  | BooleanLiteralImplDeprecated. 
 since 2.0. Use  BooleanLiteralinstead. | 
| class  | CalendarLiteralAn extension of  SimpleLiteralthat stores a calendar value to avoid parsing. | 
| class  | DecimalLiteralAn extension of  SimpleLiteralthat stores an integer value using aBigDecimalobject. | 
| class  | IntegerLiteralAn extension of  SimpleLiteralthat stores an integer value using aBigIntegerobject. | 
| class  | LiteralImplDeprecated. 
 since 2.0. Use  SimpleLiteralfor extending, and instantiate using aValueFactory. | 
| class  | NumericLiteralAn extension of  SimpleLiteralthat stores a numeric value to avoid parsing. | 
| class  | SimpleLiteralA simple default implementation of the  Literalinterface. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | AbstractValueFactory. createFPLiteral(Number value,
               IRI datatype)Calls  AbstractValueFactory.createNumericLiteral(Number, IRI)with the supplied value and datatype as parameters. | 
| protected Literal | AbstractValueFactory. createIntegerLiteral(Number value,
                    IRI datatype)Calls  AbstractValueFactory.createNumericLiteral(Number, IRI)with the supplied value and datatype as parameters. | 
| Literal | ValidatingValueFactory. createLiteral(BigDecimal bigDecimal) | 
| Literal | AbstractValueFactory. createLiteral(BigDecimal bigDecimal) | 
| Literal | ValidatingValueFactory. createLiteral(BigInteger bigInteger) | 
| Literal | AbstractValueFactory. createLiteral(BigInteger bigInteger) | 
| Literal | ValidatingValueFactory. createLiteral(boolean value) | 
| Literal | AbstractValueFactory. createLiteral(boolean b) | 
| Literal | ValidatingValueFactory. createLiteral(byte value) | 
| Literal | AbstractValueFactory. createLiteral(byte value)Calls  AbstractValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXMLSchema.BYTEas
 parameters. | 
| Literal | ValidatingValueFactory. createLiteral(Date date) | 
| Literal | AbstractValueFactory. createLiteral(Date date)Converts the supplied  Dateto aXMLGregorianCalendar, then callsValueFactory.createLiteral(XMLGregorianCalendar). | 
| Literal | ValidatingValueFactory. createLiteral(double value) | 
| Literal | AbstractValueFactory. createLiteral(double value)Calls  AbstractValueFactory.createFPLiteral(Number, IRI)with the supplied value andXMLSchema.DOUBLEas parameters. | 
| Literal | ValidatingValueFactory. createLiteral(float value) | 
| Literal | AbstractValueFactory. createLiteral(float value)Calls  AbstractValueFactory.createFPLiteral(Number, IRI)with the supplied value andXMLSchema.FLOATas parameters. | 
| Literal | ValidatingValueFactory. createLiteral(int value) | 
| Literal | AbstractValueFactory. createLiteral(int value)Calls  AbstractValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXMLSchema.INTas parameters. | 
| Literal | ValidatingValueFactory. createLiteral(long value) | 
| Literal | AbstractValueFactory. createLiteral(long value)Calls  AbstractValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXMLSchema.LONGas
 parameters. | 
| Literal | ValidatingValueFactory. createLiteral(short value) | 
| Literal | AbstractValueFactory. createLiteral(short value)Calls  AbstractValueFactory.createIntegerLiteral(Number, IRI)with the supplied value andXMLSchema.SHORTas
 parameters. | 
| Literal | ValidatingValueFactory. createLiteral(String label) | 
| Literal | AbstractValueFactory. createLiteral(String value) | 
| Literal | ValidatingValueFactory. createLiteral(String label,
             IRI datatype) | 
| Literal | AbstractValueFactory. createLiteral(String value,
             IRI datatype) | 
| Literal | ValidatingValueFactory. createLiteral(String label,
             String language) | 
| Literal | AbstractValueFactory. createLiteral(String value,
             String language) | 
| Literal | ValidatingValueFactory. createLiteral(String label,
             URI datatype) | 
| Literal | ValidatingValueFactory. createLiteral(XMLGregorianCalendar calendar) | 
| Literal | AbstractValueFactory. createLiteral(XMLGregorianCalendar calendar)Calls  ValueFactory.createLiteral(String, IRI)with the String-value of the supplied calendar and the
 appropriate datatype as parameters. | 
| protected Literal | AbstractValueFactory. createNumericLiteral(Number number,
                    IRI datatype)Creates specific optimized subtypes of SimpleLiteral for numeric datatypes. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Literal | Literals. createLiteral(ValueFactory valueFactory,
             Object object)Creates a typed  Literalout of the supplied object, mapping the runtime type of the object to the
 appropriate XML Schema type. | 
| static Literal | Literals. createLiteralOrFail(ValueFactory valueFactory,
                   Object object)Creates a typed  Literalout of the supplied object, mapping the runtime type of the object to the
 appropriate XML Schema type. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Optional<Literal> | Models. getPropertyLiteral(Model m,
                  Resource subject,
                  IRI property,
                  Resource... contexts)Retrieve a property value as a  Literalfor 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(Model m)Retrieves an object  Literalvalue from the statements in the given model. | 
| static Set<Literal> | Models. objectLiterals(Model m)Retrieves all object  Literalvalues from the statements in the given model. | 
| Modifier and Type | Method and 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 the  Durationvalue 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 boolean | Literals. isLanguageLiteral(Literal literal)Helper method to determine whether a literal is a language literal, and not a typed literal. | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | Minutes. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Day. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Month. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Now. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Year. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Timezone. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Seconds. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Hours. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Tz. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | MD5. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | SHA256. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | SHA512. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | SHA384. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | SHA1. evaluate(ValueFactory valueFactory,
        Value... args) | 
| abstract Literal | HashFunction. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | Rand. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Floor. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Ceil. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Round. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Abs. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | StrLang. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | STRUUID. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | StrDt. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | StrAfter. 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) | 
| Literal | Concat. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | LowerCase. 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 | Contains. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | EncodeForUri. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | Replace. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | Substring. intFromLiteral(Literal literal) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | DoubleCast. convert(ValueFactory valueFactory,
       Value value) | 
| protected Literal | DecimalCast. convert(ValueFactory valueFactory,
       Value value) | 
| protected Literal | BooleanCast. convert(ValueFactory valueFactory,
       Value value) | 
| protected Literal | DateTimeCast. convert(ValueFactory vf,
       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 | StringCast. convert(ValueFactory valueFactory,
       Value value) | 
| protected Literal | FloatCast. convert(ValueFactory valueFactory,
       Value value) | 
| protected Literal | IntegerCastFunction. convert(ValueFactory valueFactory,
       Value value) | 
| Literal | CastFunction. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Literal | StringCast. evaluate(ValueFactory valueFactory,
        Value... args) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Optional<Literal> | NonNegativeIntegerCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | UnsignedIntCast. 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> | NegativeIntegerCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | IntCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | UnsignedLongCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | LongCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | NonPositiveIntegerCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | IntegerCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | PositiveIntegerCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | UnsignedShortCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected Optional<Literal> | ByteCast. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue) | 
| protected abstract Optional<Literal> | IntegerCastFunction. createTypedLiteral(ValueFactory vf,
                  BigInteger integerValue)create a  Literalwith the specific datatype for the suppliedBigIntegervalue. | 
| protected Optional<Literal> | NonPositiveIntegerCast. createTypedLiteral(ValueFactory vf,
                  boolean booleanValue) | 
| protected Optional<Literal> | PositiveIntegerCast. createTypedLiteral(ValueFactory vf,
                  boolean booleanValue) | 
| protected Optional<Literal> | IntegerCastFunction. createTypedLiteral(ValueFactory vf,
                  boolean booleanValue)create a  Literalwith the specific datatype for the supplied boolean value. | 
| Modifier and Type | Method and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| static CloseableIteration<Literal,QueryEvaluationException> | TripleSources. getObjectLiterals(Resource subject,
                 IRI predicate,
                 TripleSource store) | 
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | QueryEvaluationUtil. compareLiterals(Literal leftLit,
               Literal rightLit,
               Compare.CompareOp operator)Compares the supplied  Literalarguments 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 supplied  Literalarguments 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 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. 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". | 
| Modifier and Type | Field and Description | 
|---|---|
| static Literal | DAWGTestResultSetSchema. FALSE | 
| static Literal | DAWGTestResultSetSchema. TRUE | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | SPARQLResultsTSVMappingStrategy. parseLiteral(String literal)Parses a literal, creates an object for it and returns this object. | 
| Modifier and Type | Field and 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. Александър | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | IsolationLevelTest. readLiteral(RepositoryConnection con,
           IRI subj,
           IRI pred) | 
| Modifier and Type | Method and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | VirtuosoGeometryDatatypeHandler. normalizeDatatype(String literalValue,
                 IRI datatypeUri,
                 ValueFactory valueFactory) | 
| Literal | RDFDatatypeHandler. normalizeDatatype(String literalValue,
                 IRI datatypeUri,
                 ValueFactory valueFactory) | 
| Literal | GeoSPARQLDatatypeHandler. normalizeDatatype(String literalValue,
                 IRI datatypeUri,
                 ValueFactory valueFactory) | 
| Literal | XMLSchemaDatatypeHandler. normalizeDatatype(String literalValue,
                 IRI datatypeUri,
                 ValueFactory valueFactory) | 
| Literal | DBPediaDatatypeHandler. normalizeDatatype(String literalValue,
                 IRI datatypeUri,
                 ValueFactory valueFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | AbstractRDFParser. createLiteral(String label,
             String lang,
             IRI datatype)Creates a  Literalobject with the supplied parameters. | 
| protected Literal | AbstractRDFParser. createLiteral(String label,
             String lang,
             IRI datatype,
             long lineNo,
             long columnNo)Creates a  Literalobject 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 any
  DatatypeHandlerorLanguageHandlerimplementations 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 any
  DatatypeHandlerorLanguageHandlerimplementations that are found in theParserConfig. | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | BCP47LanguageHandler. normalizeLanguage(String literalValue,
                 String languageTag,
                 ValueFactory valueFactory) | 
| Literal | RFC3066LanguageHandler. normalizeLanguage(String literalValue,
                 String languageTag,
                 ValueFactory valueFactory) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | NTriplesParser. createLiteral(String label,
             String lang,
             String datatype) | 
| static Literal | NTriplesUtil. parseLiteral(String nTriplesLiteral,
            ValueFactory valueFactory)Parses an N-Triples literal, creates an object for it using the supplied ValueFactory and returns this object. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | NTriplesUtil. append(Literal lit,
      Appendable appendable)Appends the N-Triples representation of the given  Literalto the givenAppendable. | 
| static void | NTriplesUtil. append(Literal lit,
      Appendable appendable,
      boolean xsdStringToPlainLiteral,
      boolean escapeUnicode)Appends the N-Triples representation of the given  Literalto 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. | 
| Modifier and Type | Method and 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 given
  JsonLocationto 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | RDFXMLParser. createLiteral(String label,
             String lang,
             IRI datatype) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | TriXParser. createLiteral(String label,
             String lang,
             IRI datatype) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | TurtleParser. parseNumber() | 
| protected Literal | TurtleParser. parseQuotedLiteral()Parses a quoted string, optionally followed by a language tag or datatype. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | TurtleWriter. writeLiteral(Literal lit) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | SailIsolationLevelTest. readLiteral(SailConnection con,
           IRI subj,
           IRI pred) | 
| Modifier and Type | Field and 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 | 
| Modifier and Type | Method and 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) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | SearchIndex. accept(Literal literal)Returns whether the provided literal is accepted by the LuceneIndex to be indexed. | 
| boolean | AbstractSearchIndex. 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) | 
| Constructor and Description | 
|---|
| DistanceQuerySpec(Literal from,
                 IRI units,
                 double dist,
                 String distVar,
                 IRI geoProperty,
                 String geoVar,
                 String subjectVar,
                 Var contextVar) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BooleanMemLiteralAn extension of MemLiteral that stores a boolean value to avoid parsing. | 
| class  | CalendarMemLiteralAn extension of MemLiteral that stores a Calendar value to avoid parsing. | 
| class  | DecimalMemLiteralAn extension of MemLiteral that stores a decimal value to avoid parsing. | 
| class  | IntegerMemLiteralAn extension of MemLiteral that stores an integer value to avoid parsing. | 
| class  | MemLiteralA MemoryStore-specific extension of Literal giving it node properties. | 
| class  | NumericMemLiteralAn extension of MemLiteral that stores a numeric value to avoid parsing. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Literal | MemValueFactory. createFPLiteral(Number n,
               IRI datatype) | 
| protected Literal | MemValueFactory. createIntegerLiteral(Number n,
                    IRI datatype) | 
| Literal | MemValueFactory. createLiteral(boolean value) | 
| Literal | MemValueFactory. createLiteral(String value) | 
| Literal | MemValueFactory. createLiteral(String value,
             IRI datatype) | 
| Literal | MemValueFactory. createLiteral(String value,
             String language) | 
| Literal | MemValueFactory. createLiteral(XMLGregorianCalendar calendar) | 
| Modifier and Type | Method and Description | 
|---|---|
| MemLiteral | MemValueFactory. getMemLiteral(Literal literal)See getMemValue() for description. | 
| MemLiteral | MemValueFactory. getOrCreateMemLiteral(Literal literal)See  MemValueFactory.getOrCreateMemValue(Value)for description. | 
| Modifier and Type | Method and Description | 
|---|---|
| NativeLiteral | ValueStore. getNativeLiteral(Literal l)Deprecated.  Creates an NativeLiteral that is equal to the supplied literal. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | NativeLiteral | 
| Constructor and Description | 
|---|
| LiteralComparatorFilter(PlanNode parent,
                       Literal compareTo,
                       java.util.function.Function<Integer,Boolean> function) | 
| Modifier and Type | Method and Description | 
|---|---|
| Literal | Concat. evaluate(ValueFactory valueFactory,
        Value... args) | 
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.