Class ExprFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      ExprFactory()
      Constructs an expression factory with the prefix definitions found in PrefixMapping.Extended
      ExprFactory​(PrefixMapping pMap)
      Constructs an expression factor with the specified prefix definitions.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      E_NumAbs abs​(java.lang.Object expr)
      implements abs() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-abs Converts expr to an Expr object via expr()
      E_Add add​(java.lang.Object expr1, java.lang.Object expr2)
      implements addition as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_LogicalAnd and​(java.lang.Object expr1, java.lang.Object expr2)
      implements logical and as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      Expr asExpr​(java.lang.Object o)
      Convert the object into an expression using the query's PrefixMapping
      static Expr asExpr​(java.lang.Object o, PrefixMapping pMap)
      Create an expression from an object.
      ExprList asList​(java.lang.Object... args)
      Not really an Expr but a container of exprs.
      ExprVar asVar​(java.lang.Object o)
      Converts the object to a ExprVar.
      E_BNode bnode()
      implements bnode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bnode
      E_BNode bnode​(java.lang.Object expr1)
      implements bnode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bnode Converts expr to an Expr object via expr()
      E_Bound bound​(java.lang.Object expr)
      implements bound() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bound Converts expr to an Expr object via expr()
      E_FunctionDynamic call​(java.lang.Object function, java.lang.Object... args)
      Creates a dynamic function call.
      E_FunctionDynamic call​(java.lang.Object function, ExprList args)
      Creates a dynamic function call.
      E_Call call​(ExprList args)
      Creates a function call as per the SPARQL 11 query definition.
      E_NumCeiling ceil​(java.lang.Object expr)
      implements ceil() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-ceil Converts expr to an Expr object via expr()
      E_Coalesce coalesce​(java.lang.Object... args)
      implements coalesce() as per the SPARQL 11 query definition.
      E_Coalesce coalesce​(ExprList args)
      implements coalesce() as per the SPARQL 11 query definition.
      E_StrConcat concat​(java.lang.Object... list)
      implements concat() as per the SPARQL 11 query definition.
      E_StrConcat concat​(ExprList list)
      implements concat() as per the SPARQL 11 query definition.
      E_Conditional cond​(Expr condition, Expr thenExpr, Expr elseExpr)
      implements if() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-if Converts expr to an Expr object via expr()
      E_StrContains contains​(java.lang.Object expr1, java.lang.Object expr2)
      implements contains() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-contains Converts expr to an Expr object via expr()
      E_Datatype datatype​(java.lang.Object expr)
      implements datatype() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-datatype Converts expr to an Expr object via expr()
      E_DateTimeDay day​(java.lang.Object expr)
      implements day() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-day Converts expr to an Expr object via expr()
      E_Divide divide​(java.lang.Object expr1, java.lang.Object expr2)
      implements division as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_StrEncodeForURI encode​(java.lang.Object expr)
      implements encode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-encode Converts expr to an Expr object via expr()
      E_Equals eq​(java.lang.Object expr1, java.lang.Object expr2)
      implements equality as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_Exists exists​(WhereClause<?> whereClause)
      implements exists() as per the SPARQL 11 query definition.
      E_NumFloor floor​(java.lang.Object expr)
      implements floor() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-floor Converts expr to an Expr object via expr()
      E_Function function​(java.lang.String name, ExprList args)
      Creates a function call as per the SPARQL 11 query definition.
      E_GreaterThanOrEqual ge​(java.lang.Object expr1, java.lang.Object expr2)
      implements greater than or equal as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_GreaterThan gt​(java.lang.Object expr1, java.lang.Object expr2)
      implements greater than as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_DateTimeHours hours​(java.lang.Object expr)
      implements hours() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-hours Converts expr to an Expr object via expr()
      E_OneOf in​(java.lang.Object expr, java.lang.Object... list)
      implements "in" as per the SPARQL 11 query definition.
      E_OneOf in​(java.lang.Object expr, ExprList list)
      implements "in" as per the SPARQL 11 query definition.
      E_IRI iri​(java.lang.Object expr)
      implements iri() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-iri Converts expr to an Expr object via expr()
      E_IsBlank isBlank​(java.lang.Object expr)
      implements isBlank() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isBlank Converts expr to an Expr object via expr()
      E_IsIRI isIRI​(java.lang.Object expr)
      implements isIRI() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isIRI Converts expr to an Expr object via expr()
      E_IsLiteral isLiteral​(java.lang.Object expr)
      implements isLiteral() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isLiteral Converts expr to an Expr object via expr()
      E_IsNumeric isNumeric​(java.lang.Object expr)
      implements isNumeric() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isNumeric Converts expr to an Expr object via expr()
      E_Lang lang​(java.lang.Object expr)
      implements lang() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-lang Converts expr to an Expr object via expr()
      E_LangMatches langMatches​(java.lang.Object expr1, java.lang.Object expr2)
      implements langMatches() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-langMatches Converts expr to an Expr object via expr()
      E_StrLowerCase lcase​(java.lang.Object expr)
      implements lcase() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-lcase Converts expr to an Expr object via expr()
      E_LessThanOrEqual le​(java.lang.Object expr1, java.lang.Object expr2)
      implements less than or equal as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      ExprList list()
      Not really an Expr but a container of exprs.
      E_LessThan lt​(java.lang.Object expr1, java.lang.Object expr2)
      implements less than as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_MD5 md5​(java.lang.Object expr)
      implements md5() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-md5 Converts expr to an Expr object via expr()
      E_UnaryMinus minus​(java.lang.Object expr)
      implements unary minus as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_DateTimeMinutes minutes​(java.lang.Object expr)
      implements minutes() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-minutes Converts expr to an Expr object via expr()
      E_DateTimeMonth month​(java.lang.Object expr)
      implements month() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-month Converts expr to an Expr object via expr()
      E_Multiply multiply​(java.lang.Object expr1, java.lang.Object expr2)
      implements multiplication s per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_NotEquals ne​(java.lang.Object expr1, java.lang.Object expr2)
      implements not equals as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      ExprNone none()
      Should probably be called "null" but that is a reserved work.
      E_LogicalNot not​(java.lang.Object expr)
      implements not() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-not Converts expr to an Expr object via expr()
      E_NotExists notexists​(WhereClause<?> whereClause)
      implements not exists() as per the SPARQL 11 query definition.
      E_NotOneOf notin​(java.lang.Object expr, java.lang.Object... list)
      implements "not in" as per the SPARQL 11 query definition.
      E_NotOneOf notin​(java.lang.Object expr, ExprList list)
      implements "not in" as per the SPARQL 11 query definition.
      E_Now now()
      implements now() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-now
      E_LogicalOr or​(java.lang.Object expr1, java.lang.Object expr2)
      implements logical or as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_UnaryPlus plus​(java.lang.Object expr)
      implements unary plus as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      java.lang.String quote​(java.lang.String s)
      Deprecated.
      E_Random rand()
      implements rand() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-rand
      E_Regex regex​(java.lang.Object expr, java.lang.Object pattern, java.lang.Object flags)
      implements regex() as per the SPARQL 11 query definition.
      E_Regex regex​(java.lang.Object expr, java.lang.String pattern, java.lang.String flags)
      implements regex() as per the SPARQL 11 query definition.
      E_StrReplace replace​(java.lang.Object arg, java.lang.Object pattern, java.lang.Object replacement)
      implements replace() as per the SPARQL 11 query definition.
      E_StrReplace replace​(java.lang.Object arg, java.lang.Object pattern, java.lang.Object replacement, java.lang.Object flags)
      implements replace() as per the SPARQL 11 query definition.
      E_NumRound round​(java.lang.Object expr)
      implements round() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-round Converts expr to an Expr object via expr()
      E_SameTerm sameTerm​(java.lang.Object expr1, java.lang.Object expr2)
      implements sameTerm() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sameTerm Converts expr to an Expr object via expr()
      E_DateTimeSeconds seconds​(java.lang.Object expr)
      implements seconds() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-seconds Converts expr to an Expr object via expr()
      E_SHA1 sha1​(java.lang.Object expr)
      implements sha1() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha1 Converts expr to an Expr object via expr()
      E_SHA224 sha224​(java.lang.Object expr)
      implements sha224() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha224 Converts expr to an Expr object via expr()
      E_SHA256 sha256​(java.lang.Object expr)
      implements sha256() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha256 Converts expr to an Expr object via expr()
      E_SHA384 sha384​(java.lang.Object expr)
      implements sha384() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha384 Converts expr to an Expr object via expr()
      E_SHA512 sha512​(java.lang.Object expr)
      implements sha512() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha512 Converts expr to an Expr object via expr()
      E_Str str​(java.lang.Object expr)
      implements str() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-str Converts expr to an Expr object via expr()
      E_StrAfter strafter​(java.lang.Object expr1, java.lang.Object expr2)
      implements strafter() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strafter Converts expr to an Expr object via expr()
      E_StrBefore strbefore​(java.lang.Object expr1, java.lang.Object expr2)
      implements strbefore() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strbefore Converts expr to an Expr object via expr()
      E_StrDatatype strdt​(java.lang.Object expr1, java.lang.Object expr2)
      implements strdt() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strdt Converts expr to an Expr object via expr()
      E_StrEndsWith strends​(java.lang.Object expr1, java.lang.Object expr2)
      implements strends() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strends Converts expr to an Expr object via expr()
      E_StrLang strlang​(java.lang.Object expr1, java.lang.Object expr2)
      implements strlang() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strlang Converts expr to an Expr object via expr()
      E_StrLength strlen​(java.lang.Object expr)
      implements strlen() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strlen Converts expr to an Expr object via expr()
      E_StrStartsWith strstarts​(java.lang.Object expr1, java.lang.Object expr2)
      implements strstarts() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strstarts Converts expr to an Expr object via expr()
      E_StrUUID struuid()
      implements struuid() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-struuid
      E_StrSubstring substr​(java.lang.Object src, java.lang.Object loc)
      implements substr() as per the SPARQL 11 query definition.
      E_StrSubstring substr​(java.lang.Object src, java.lang.Object loc, java.lang.Object len)
      implements substr() as per the SPARQL 11 query definition.
      E_Subtract subtract​(java.lang.Object expr1, java.lang.Object expr2)
      implements subtraction as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
      E_DateTimeTimezone timezone​(java.lang.Object expr)
      implements timezone() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-timezone Converts expr to an Expr object via expr()
      E_DateTimeTZ tz​(java.lang.Object expr)
      implements tz() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-tz Converts expr to an Expr object via expr()
      E_StrUpperCase ucase​(java.lang.Object expr)
      implements ucase() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-ucase Converts expr to an Expr object via expr()
      E_UUID uuid()
      implements uuid() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-uuid
      E_Version version()
      Returns the current ARQ name and version number as a string.
      E_DateTimeYear year​(java.lang.Object expr)
      implements year() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-year Converts expr to an Expr object via expr()
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExprFactory

        public ExprFactory​(PrefixMapping pMap)
        Constructs an expression factor with the specified prefix definitions.
        Parameters:
        pMap - the PrefixMapping to use in the expressions.
      • ExprFactory

        public ExprFactory()
        Constructs an expression factory with the prefix definitions found in PrefixMapping.Extended
        See Also:
        PrefixMapping.Extended
    • Method Detail

      • rand

        public final E_Random rand()
        implements rand() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-rand
        Returns:
        E_Random instance
        See Also:
        E_Random
      • struuid

        public final E_StrUUID struuid()
        implements struuid() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-struuid
        Returns:
        E_StrUUID instance
        See Also:
        E_StrUUID
      • uuid

        public final E_UUID uuid()
        implements uuid() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-uuid
        Returns:
        E_UUID instance
        See Also:
        E_UUID
      • version

        public final E_Version version()
        Returns the current ARQ name and version number as a string.
        Returns:
        E_Version instance
        See Also:
        E_Version
      • now

        public final E_Now now()
        implements now() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-now
        Returns:
        E_Now instance
        See Also:
        E_Now
      • bound

        public final E_Bound bound​(java.lang.Object expr)
        implements bound() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bound Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_Bound instance
        See Also:
        asExpr(Object), E_Bound
      • datatype

        public final E_Datatype datatype​(java.lang.Object expr)
        implements datatype() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-datatype Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_Datatype instance
        See Also:
        asExpr(Object), E_Datatype
      • day

        public final E_DateTimeDay day​(java.lang.Object expr)
        implements day() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-day Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_Datatype instance
        See Also:
        asExpr(Object)
      • hours

        public final E_DateTimeHours hours​(java.lang.Object expr)
        implements hours() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-hours Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_DateTimeHours instance
        See Also:
        asExpr(Object), E_DateTimeHours
      • minutes

        public final E_DateTimeMinutes minutes​(java.lang.Object expr)
        implements minutes() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-minutes Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_DateTimeMinutes instance
        See Also:
        asExpr(Object), E_DateTimeMinutes
      • month

        public final E_DateTimeMonth month​(java.lang.Object expr)
        implements month() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-month Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_DateTimeMonth instance
        See Also:
        asExpr(Object), E_DateTimeMonth
      • seconds

        public final E_DateTimeSeconds seconds​(java.lang.Object expr)
        implements seconds() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-seconds Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_DateTimeSeconds instance
        See Also:
        asExpr(Object), E_DateTimeSeconds
      • timezone

        public final E_DateTimeTimezone timezone​(java.lang.Object expr)
        implements timezone() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-timezone Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_DateTypeTimezone instance
        See Also:
        asExpr(Object), E_DateTimeTimezone
      • tz

        public final E_DateTimeTZ tz​(java.lang.Object expr)
        implements tz() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-tz Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_DateTimeTZ instance
        See Also:
        asExpr(Object), E_DateTimeTZ
      • year

        public final E_DateTimeYear year​(java.lang.Object expr)
        implements year() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-year Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_DateTimeYear instance
        See Also:
        asExpr(Object), E_DateTimeYear
      • iri

        public final E_IRI iri​(java.lang.Object expr)
        implements iri() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-iri Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_IRI instance
        See Also:
        asExpr(Object), E_IRI
      • isBlank

        public final E_IsBlank isBlank​(java.lang.Object expr)
        implements isBlank() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isBlank Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_isBlank instance
        See Also:
        asExpr(Object), E_IsBlank
      • isIRI

        public final E_IsIRI isIRI​(java.lang.Object expr)
        implements isIRI() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isIRI Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_IsIRI instance
        See Also:
        asExpr(Object), E_IsIRI
      • isLiteral

        public final E_IsLiteral isLiteral​(java.lang.Object expr)
        implements isLiteral() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isLiteral Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_IsLiteral instance
        See Also:
        asExpr(Object), E_IsLiteral
      • isNumeric

        public final E_IsNumeric isNumeric​(java.lang.Object expr)
        implements isNumeric() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-isNumeric Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_IsNumeric instance
        See Also:
        asExpr(Object), E_IsNumeric
      • lang

        public final E_Lang lang​(java.lang.Object expr)
        implements lang() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-lang Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_Lang instance
        See Also:
        asExpr(Object), E_Lang
      • not

        public final E_LogicalNot not​(java.lang.Object expr)
        implements not() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-not Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_LogicalNot instance
        See Also:
        asExpr(Object), E_LogicalNot
      • abs

        public final E_NumAbs abs​(java.lang.Object expr)
        implements abs() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-abs Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_NumAbs instance
        See Also:
        asExpr(Object), E_NumAbs
      • ceil

        public final E_NumCeiling ceil​(java.lang.Object expr)
        implements ceil() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-ceil Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_NumCeiling instance
        See Also:
        asExpr(Object), E_NumCeiling
      • floor

        public final E_NumFloor floor​(java.lang.Object expr)
        implements floor() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-floor Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_NumFloor instance
        See Also:
        asExpr(Object), E_NumFloor
      • round

        public final E_NumRound round​(java.lang.Object expr)
        implements round() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-round Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_Round instance
        See Also:
        asExpr(Object), E_NumRound
      • str

        public final E_Str str​(java.lang.Object expr)
        implements str() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-str Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_Str instance
        See Also:
        asExpr(Object), E_Str
      • encode

        public final E_StrEncodeForURI encode​(java.lang.Object expr)
        implements encode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-encode Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_StrEncodedForURI instance
        See Also:
        asExpr(Object), E_StrEncodeForURI
      • strlen

        public final E_StrLength strlen​(java.lang.Object expr)
        implements strlen() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strlen Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_StrLength instance
        See Also:
        asExpr(Object), E_StrLength
      • lcase

        public final E_StrLowerCase lcase​(java.lang.Object expr)
        implements lcase() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-lcase Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_StrLowerCase instance
        See Also:
        asExpr(Object), E_StrLowerCase
      • ucase

        public final E_StrUpperCase ucase​(java.lang.Object expr)
        implements ucase() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-ucase Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_StrUpperCase instance
        See Also:
        asExpr(Object), E_StrUpperCase
      • minus

        public final E_UnaryMinus minus​(java.lang.Object expr)
        implements unary minus as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_UnaryMinus instance
        See Also:
        asExpr(Object), E_UnaryMinus
      • plus

        public final E_UnaryPlus plus​(java.lang.Object expr)
        implements unary plus as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_UnaryPlus instance
        See Also:
        asExpr(Object), E_UnaryPlus
      • md5

        public final E_MD5 md5​(java.lang.Object expr)
        implements md5() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-md5 Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_MD5 instance
        See Also:
        asExpr(Object), E_MD5
      • sha1

        public final E_SHA1 sha1​(java.lang.Object expr)
        implements sha1() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha1 Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_SHA1 instance
        See Also:
        asExpr(Object), E_SHA1
      • sha224

        public final E_SHA224 sha224​(java.lang.Object expr)
        implements sha224() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha224 Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_SHA224 instance
        See Also:
        asExpr(Object), E_SHA224
      • sha256

        public final E_SHA256 sha256​(java.lang.Object expr)
        implements sha256() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha256 Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_SHA256 instance
        See Also:
        asExpr(Object), E_SHA256
      • sha384

        public final E_SHA384 sha384​(java.lang.Object expr)
        implements sha384() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha384 Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_SHA384 instance
        See Also:
        asExpr(Object), E_SHA384
      • sha512

        public final E_SHA512 sha512​(java.lang.Object expr)
        implements sha512() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sha512 Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression to check.
        Returns:
        E_SHA512 instance
        See Also:
        asExpr(Object), E_SHA512
      • add

        public final E_Add add​(java.lang.Object expr1,
                               java.lang.Object expr2)
        implements addition as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_Add instance
        See Also:
        asExpr(Object), E_Add
      • divide

        public final E_Divide divide​(java.lang.Object expr1,
                                     java.lang.Object expr2)
        implements division as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_Devide instance
        See Also:
        asExpr(Object), E_Divide
      • eq

        public final E_Equals eq​(java.lang.Object expr1,
                                 java.lang.Object expr2)
        implements equality as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_Equals instance
        See Also:
        asExpr(Object), E_Equals
      • gt

        public final E_GreaterThan gt​(java.lang.Object expr1,
                                      java.lang.Object expr2)
        implements greater than as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_GreaterThan instance
        See Also:
        asExpr(Object), E_GreaterThan
      • ge

        public final E_GreaterThanOrEqual ge​(java.lang.Object expr1,
                                             java.lang.Object expr2)
        implements greater than or equal as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_GreaterThanOrEqual instance
        See Also:
        asExpr(Object), E_GreaterThanOrEqual
      • langMatches

        public final E_LangMatches langMatches​(java.lang.Object expr1,
                                               java.lang.Object expr2)
        implements langMatches() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-langMatches Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_LangMatches instance
        See Also:
        asExpr(Object), E_LangMatches
      • lt

        public final E_LessThan lt​(java.lang.Object expr1,
                                   java.lang.Object expr2)
        implements less than as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_LessThan instance
        See Also:
        asExpr(Object), E_LessThan
      • le

        public final E_LessThanOrEqual le​(java.lang.Object expr1,
                                          java.lang.Object expr2)
        implements less than or equal as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_LessThanOrEqual instance
        See Also:
        asExpr(Object), E_LessThanOrEqual
      • and

        public final E_LogicalAnd and​(java.lang.Object expr1,
                                      java.lang.Object expr2)
        implements logical and as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_LogicalAnd instance
        See Also:
        asExpr(Object), E_LogicalAnd
      • or

        public final E_LogicalOr or​(java.lang.Object expr1,
                                    java.lang.Object expr2)
        implements logical or as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_LogicalOr instance
        See Also:
        asExpr(Object), E_LogicalOr
      • multiply

        public final E_Multiply multiply​(java.lang.Object expr1,
                                         java.lang.Object expr2)
        implements multiplication s per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_Multiply instance
        See Also:
        asExpr(Object), E_Multiply
      • ne

        public final E_NotEquals ne​(java.lang.Object expr1,
                                    java.lang.Object expr2)
        implements not equals as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_NotEquals instance
        See Also:
        asExpr(Object), E_NotEquals
      • sameTerm

        public final E_SameTerm sameTerm​(java.lang.Object expr1,
                                         java.lang.Object expr2)
        implements sameTerm() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-sameTerm Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_SameTerm instance
        See Also:
        asExpr(Object), E_SameTerm
      • strafter

        public final E_StrAfter strafter​(java.lang.Object expr1,
                                         java.lang.Object expr2)
        implements strafter() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strafter Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_StrAfter instance
        See Also:
        asExpr(Object), E_StrAfter
      • strbefore

        public final E_StrBefore strbefore​(java.lang.Object expr1,
                                           java.lang.Object expr2)
        implements strbefore() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strbefore Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_StrBefore instance
        See Also:
        asExpr(Object), E_StrBefore
      • contains

        public final E_StrContains contains​(java.lang.Object expr1,
                                            java.lang.Object expr2)
        implements contains() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-contains Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_StrContains instance
        See Also:
        asExpr(Object), E_StrContains
      • strdt

        public final E_StrDatatype strdt​(java.lang.Object expr1,
                                         java.lang.Object expr2)
        implements strdt() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strdt Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_StrDatatype instance
        See Also:
        asExpr(Object), E_StrDatatype
      • strends

        public final E_StrEndsWith strends​(java.lang.Object expr1,
                                           java.lang.Object expr2)
        implements strends() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strends Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_StrEndsWith instance
        See Also:
        asExpr(Object), E_StrEndsWith
      • strlang

        public final E_StrLang strlang​(java.lang.Object expr1,
                                       java.lang.Object expr2)
        implements strlang() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strlang Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_StrLang instance
        See Also:
        asExpr(Object), E_StrLang
      • strstarts

        public final E_StrStartsWith strstarts​(java.lang.Object expr1,
                                               java.lang.Object expr2)
        implements strstarts() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-strstarts Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_StrStartsWith instance
        See Also:
        asExpr(Object), E_StrStartsWith
      • subtract

        public final E_Subtract subtract​(java.lang.Object expr1,
                                         java.lang.Object expr2)
        implements subtraction as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#OperatorMapping Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the first expression.
        expr2 - the second expression.
        Returns:
        E_Subtract instance
        See Also:
        asExpr(Object), E_Subtract
      • cond

        public final E_Conditional cond​(Expr condition,
                                        Expr thenExpr,
                                        Expr elseExpr)
        implements if() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-if Converts expr to an Expr object via expr()
        Parameters:
        condition - the condition to check.
        thenExpr - the expression to execute if condition is true.
        elseExpr - the expression to execute if condition is false.
        Returns:
        an E_Conditional instance.
        See Also:
        asExpr(Object), E_Conditional
      • bnode

        public final E_BNode bnode​(java.lang.Object expr1)
        implements bnode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bnode Converts expr to an Expr object via expr()
        Parameters:
        expr1 - the blank node id.
        Returns:
        an E_BNode instance
        See Also:
        asExpr(Object), E_BNode
      • bnode

        public final E_BNode bnode()
        implements bnode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bnode
        Returns:
        an E_BNode instance.
        See Also:
        E_Random
      • call

        public final E_FunctionDynamic call​(java.lang.Object function,
                                            ExprList args)
        Creates a dynamic function call. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rFunctionCall Converts function to an Expr object via expr()
        Parameters:
        function - The function to execute
        args - the arguments to the function.
        Returns:
        an E_FunctionDynamic instance.
        See Also:
        asExpr(Object), E_FunctionDynamic
      • call

        public final E_FunctionDynamic call​(java.lang.Object function,
                                            java.lang.Object... args)
        Creates a dynamic function call. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rFunctionCall Converts function to an Expr object via expr()
        Parameters:
        function - The function to execute
        args - the arguments to the function.
        Returns:
        an E_FunctionDynamic instance.
        See Also:
        asExpr(Object), E_FunctionDynamic
      • call

        public final E_Call call​(ExprList args)
        Creates a function call as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rFunctionCall
        Parameters:
        args - the arguments to the function.
        Returns:
        an E_Call instance.
        See Also:
        The first argument is the function to call
      • coalesce

        public final E_Coalesce coalesce​(ExprList args)
        implements coalesce() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-coalesce
        Parameters:
        args - the arguments to the function.
        Returns:
        an E_Coalesce instance.
        See Also:
        E_Coalesce
      • coalesce

        public final E_Coalesce coalesce​(java.lang.Object... args)
        implements coalesce() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-coalesce
        Parameters:
        args - the arguments to the function.
        Returns:
        an E_Coalesce instance.
        See Also:
        E_Coalesce
      • function

        public final E_Function function​(java.lang.String name,
                                         ExprList args)
        Creates a function call as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rFunctionCall
        Parameters:
        name - the name of the function.
        args - the arguments to the function.
        Returns:
        an E_Function instance.
        See Also:
        E_Function
      • notin

        public final E_NotOneOf notin​(java.lang.Object expr,
                                      ExprList list)
        implements "not in" as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-not-in Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression that is not in the list
        list - the list of expressions.
        Returns:
        an E_NotOneOf instance.
        See Also:
        asExpr(Object), E_NotOneOf
      • notin

        public final E_NotOneOf notin​(java.lang.Object expr,
                                      java.lang.Object... list)
        implements "not in" as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-not-in Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression that is not in the list
        list - the list of expressions.
        Returns:
        an E_NotOneOf instance.
        See Also:
        asExpr(Object), E_NotOneOf
      • in

        public final E_OneOf in​(java.lang.Object expr,
                                ExprList list)
        implements "in" as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-in Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression that is not in the list
        list - the list of expressions.
        Returns:
        an E_OneOf instance.
        See Also:
        asExpr(Object), E_OneOf
      • in

        public final E_OneOf in​(java.lang.Object expr,
                                java.lang.Object... list)
        implements "in" as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-in Converts expr to an Expr object via expr()
        Parameters:
        expr - the expression that is not in the list
        list - the list of expressions.
        Returns:
        an E_OneOf instance.
        See Also:
        asExpr(Object), E_OneOf
      • regex

        public final E_Regex regex​(java.lang.Object expr,
                                   java.lang.Object pattern,
                                   java.lang.Object flags)
        implements regex() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-regex Converts objects to an Expr objects via expr()
        Parameters:
        expr - string to match.
        pattern - the pattern to match
        flags - the regex flags
        Returns:
        an E_Regex instance.
        See Also:
        asExpr(Object), E_Regex
      • regex

        public final E_Regex regex​(java.lang.Object expr,
                                   java.lang.String pattern,
                                   java.lang.String flags)
        implements regex() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-regex Converts expr to an Expr object via expr()
        Parameters:
        expr - string to match.
        pattern - the pattern to match
        flags - the regex flags
        Returns:
        an E_Regex instance.
        See Also:
        asExpr(Object), E_Regex
      • concat

        public final E_StrConcat concat​(ExprList list)
        implements concat() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-concat
        Parameters:
        list - the list of arguments to concatenate
        Returns:
        an E_StrConcat instance
        See Also:
        E_StrConcat
      • concat

        public final E_StrConcat concat​(java.lang.Object... list)
        implements concat() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-concat
        Parameters:
        list - the list of arguments to concatenate
        Returns:
        an E_StrConcat instance
        See Also:
        E_StrConcat
      • replace

        public final E_StrReplace replace​(java.lang.Object arg,
                                          java.lang.Object pattern,
                                          java.lang.Object replacement,
                                          java.lang.Object flags)
        implements replace() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-replace Converts Objects to an Expr objects via expr()
        Parameters:
        arg - the string literal to replace
        pattern - the pattern to replace in the string literal.
        replacement - the string literal to replace the pattern with.
        flags - the flags that control replacement options.
        Returns:
        an E_StrReplace instance
        See Also:
        asExpr(Object), E_StrReplace
      • replace

        public final E_StrReplace replace​(java.lang.Object arg,
                                          java.lang.Object pattern,
                                          java.lang.Object replacement)
        implements replace() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-replace Converts Objects to an Expr objects via expr()
        Parameters:
        arg - the string literal to replace
        pattern - the pattern to replace in the string literal.
        replacement - the string literal to replace the pattern with.
        Returns:
        an E_StrReplace instance
        See Also:
        asExpr(Object), E_StrReplace
      • substr

        public final E_StrSubstring substr​(java.lang.Object src,
                                           java.lang.Object loc,
                                           java.lang.Object len)
        implements substr() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-substr Converts Objects to an Expr objects via expr()
        Parameters:
        src - the expression to extract the substring from.
        loc - the location within the expression string to start
        len - the length of the string to extract.
        Returns:
        an E_Substring instance.
        See Also:
        asExpr(Object), E_StrSubstring
      • substr

        public final E_StrSubstring substr​(java.lang.Object src,
                                           java.lang.Object loc)
        implements substr() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-substr Converts Objects to an Expr objects via expr()
        Parameters:
        src - the expression to extract the substring from.
        loc - the location within the expression string to start
        Returns:
        an E_Substring instance.
        See Also:
        asExpr(Object), E_StrSubstring
      • exists

        public final E_Exists exists​(WhereClause<?> whereClause)
        implements exists() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-filter-exists
        Parameters:
        whereClause - A WhereClause to check existence of.
        Returns:
        an E_Exists instance,
        See Also:
        E_Exists
      • notexists

        public final E_NotExists notexists​(WhereClause<?> whereClause)
        implements not exists() as per the SPARQL 11 query definition. https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-filter-exists
        Parameters:
        whereClause - the argument to the function.
        Returns:
        an E_NotExists instance.
        See Also:
        E_NotExists
      • none

        public final ExprNone none()
        Should probably be called "null" but that is a reserved work. An expression that can be used in place of null.
        Returns:
        an ExprNone instance
        See Also:
        ExprNone
      • asVar

        public final ExprVar asVar​(java.lang.Object o)
        Converts the object to a ExprVar.
        • If the object is an ExprVar return it
        • Will return null if the object is "*" or Node_RuleVariable.WILD
        • otherwise create an ExprVar from {AbstractQuerybuilder.makeVar}
        Parameters:
        o - the object to convert.
        Returns:
        an ExprVar
        See Also:
        Converters.makeVar(Object)
      • asList

        public final ExprList asList​(java.lang.Object... args)
        Not really an Expr but a container of exprs.
        Parameters:
        args - the list of expressons.
        Returns:
        the expression list.
      • list

        public final ExprList list()
        Not really an Expr but a container of exprs. creates an empty list.
        Returns:
        the empty expression list.
      • asExpr

        public final Expr asExpr​(java.lang.Object o)
        Convert the object into an expression using the query's PrefixMapping
        Parameters:
        o - the object to convert.
        Returns:
        the Expr.
      • quote

        @Deprecated
        public final java.lang.String quote​(java.lang.String s)
        Deprecated.
        Convenience method to call AbstractQueryBuilder.quote
        Parameters:
        s - the string to quote
        Returns:
        the quotes string.
        See Also:
        Converters.quoted(String)
      • asExpr

        public static final Expr asExpr​(java.lang.Object o,
                                        PrefixMapping pMap)
        Create an expression from an object. this method does not parse strings to expressions. to parse strings to expressions see {AbstractQueryBuilder.makeExpr}
        • If the object is null returns none()
        • If the object is an expression return it
        • If the object fronts a node and is not a var make a NodeVar
        • otherwise calls var()
        Parameters:
        o - the object to create the expression from
        Returns:
        Expr
        See Also:
        asVar(Object), Converters.makeVar(Object)