java.lang.Object
org.apache.jena.arq.querybuilder.ExprFactory
Create expressions.
NodeValue contains a number of static functions to make a number of node
functions.
- See Also:
-
Function names here map as closely as possible to the tag names for the generated expression.
-
Constructor Summary
ConstructorDescriptionConstructs an expression factory with the prefix definitions found inPrefixMapping.Extended
ExprFactory
(org.apache.jena.shared.PrefixMapping pMap) Constructs an expression factor with the specified prefix definitions. -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.jena.sparql.expr.E_NumAbs
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()final org.apache.jena.sparql.expr.E_Add
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()final org.apache.jena.sparql.expr.E_LogicalAnd
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()final org.apache.jena.sparql.expr.Expr
Convert the object into an expression using the query's PrefixMappingstatic final org.apache.jena.sparql.expr.Expr
Create an expression from an object.final org.apache.jena.sparql.expr.ExprList
Not really an Expr but a container of exprs.final org.apache.jena.sparql.expr.ExprVar
Converts the object to a ExprVar.final org.apache.jena.sparql.expr.Expr
bnode()
implements bnode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bnodefinal org.apache.jena.sparql.expr.Expr
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()final org.apache.jena.sparql.expr.E_Bound
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()final org.apache.jena.sparql.expr.E_FunctionDynamic
Creates a dynamic function call.final org.apache.jena.sparql.expr.E_FunctionDynamic
Creates a dynamic function call.final org.apache.jena.sparql.expr.E_Call
call
(org.apache.jena.sparql.expr.ExprList args) Creates a function call as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_NumCeiling
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()final org.apache.jena.sparql.expr.E_Coalesce
implements coalesce() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_Coalesce
coalesce
(org.apache.jena.sparql.expr.ExprList args) implements coalesce() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_StrConcat
implements concat() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_StrConcat
concat
(org.apache.jena.sparql.expr.ExprList list) implements concat() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_Conditional
cond
(org.apache.jena.sparql.expr.Expr condition, org.apache.jena.sparql.expr.Expr thenExpr, org.apache.jena.sparql.expr.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()final org.apache.jena.sparql.expr.E_StrContains
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()final org.apache.jena.sparql.expr.E_Datatype
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()final org.apache.jena.sparql.expr.E_DateTimeDay
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()final org.apache.jena.sparql.expr.E_Divide
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()final org.apache.jena.sparql.expr.E_StrEncodeForURI
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()final org.apache.jena.sparql.expr.E_Equals
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()final org.apache.jena.sparql.expr.E_Exists
exists
(WhereClause<?> whereClause) implements exists() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_NumFloor
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()final org.apache.jena.sparql.expr.E_Function
Creates a function call as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_GreaterThanOrEqual
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()final org.apache.jena.sparql.expr.E_GreaterThan
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()final org.apache.jena.sparql.expr.E_DateTimeHours
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()final org.apache.jena.sparql.expr.E_OneOf
implements "in" as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_OneOf
implements "in" as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_IRI
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()final org.apache.jena.sparql.expr.E_IsBlank
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()final org.apache.jena.sparql.expr.E_IsIRI
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()final org.apache.jena.sparql.expr.E_IsLiteral
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()final org.apache.jena.sparql.expr.E_IsNumeric
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()final org.apache.jena.sparql.expr.E_Lang
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()final org.apache.jena.sparql.expr.E_LangMatches
langMatches
(Object expr1, 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()final org.apache.jena.sparql.expr.E_StrLowerCase
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()final org.apache.jena.sparql.expr.E_LessThanOrEqual
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()final org.apache.jena.sparql.expr.ExprList
list()
Not really an Expr but a container of exprs.final org.apache.jena.sparql.expr.E_LessThan
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()final org.apache.jena.sparql.expr.E_MD5
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()final org.apache.jena.sparql.expr.E_UnaryMinus
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()final org.apache.jena.sparql.expr.E_DateTimeMinutes
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()final org.apache.jena.sparql.expr.E_DateTimeMonth
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()final org.apache.jena.sparql.expr.E_Multiply
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()final org.apache.jena.sparql.expr.E_NotEquals
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()final org.apache.jena.sparql.expr.ExprNone
none()
Should probably be called "null" but that is a reserved work.final org.apache.jena.sparql.expr.E_LogicalNot
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()final org.apache.jena.sparql.expr.E_NotExists
notexists
(WhereClause<?> whereClause) implements not exists() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_NotOneOf
implements "not in" as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_NotOneOf
implements "not in" as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_Now
now()
implements now() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-nowfinal org.apache.jena.sparql.expr.E_LogicalOr
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()final org.apache.jena.sparql.expr.E_UnaryPlus
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()final String
Deprecated.final org.apache.jena.sparql.expr.E_Random
rand()
implements rand() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-randfinal org.apache.jena.sparql.expr.E_Regex
implements regex() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_Regex
implements regex() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_StrReplace
implements replace() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_StrReplace
implements replace() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_NumRound
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()final org.apache.jena.sparql.expr.E_SameTerm
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()final org.apache.jena.sparql.expr.E_DateTimeSeconds
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()final org.apache.jena.sparql.expr.E_SHA1
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()final org.apache.jena.sparql.expr.E_SHA224
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()final org.apache.jena.sparql.expr.E_SHA256
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()final org.apache.jena.sparql.expr.E_SHA384
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()final org.apache.jena.sparql.expr.E_SHA512
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()final org.apache.jena.sparql.expr.E_Str
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()final org.apache.jena.sparql.expr.E_StrAfter
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()final org.apache.jena.sparql.expr.E_StrBefore
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()final org.apache.jena.sparql.expr.E_StrDatatype
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()final org.apache.jena.sparql.expr.E_StrEndsWith
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()final org.apache.jena.sparql.expr.E_StrLang
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()final org.apache.jena.sparql.expr.E_StrLength
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()final org.apache.jena.sparql.expr.E_StrStartsWith
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()final org.apache.jena.sparql.expr.E_StrUUID
struuid()
implements struuid() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-struuidfinal org.apache.jena.sparql.expr.E_StrSubstring
implements substr() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_StrSubstring
implements substr() as per the SPARQL 11 query definition.final org.apache.jena.sparql.expr.E_Subtract
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()final org.apache.jena.sparql.expr.E_DateTimeTimezone
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()final org.apache.jena.sparql.expr.E_DateTimeTZ
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()final org.apache.jena.sparql.expr.E_StrUpperCase
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()final org.apache.jena.sparql.expr.E_UUID
uuid()
implements uuid() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-uuidfinal org.apache.jena.sparql.expr.E_Version
version()
Returns the current ARQ name and version number as a string.final org.apache.jena.sparql.expr.E_DateTimeYear
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()
-
Constructor Details
-
ExprFactory
public ExprFactory()Constructs an expression factory with the prefix definitions found inPrefixMapping.Extended
- See Also:
-
PrefixMapping.Extended
-
Method Details
-
rand
public final org.apache.jena.sparql.expr.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 org.apache.jena.sparql.expr.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 org.apache.jena.sparql.expr.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 org.apache.jena.sparql.expr.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 org.apache.jena.sparql.expr.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
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
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
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:
-
hours
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 org.apache.jena.sparql.expr.E_Conditional cond(org.apache.jena.sparql.expr.Expr condition, org.apache.jena.sparql.expr.Expr thenExpr, org.apache.jena.sparql.expr.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
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 Expr instance
- See Also:
-
asExpr(Object)
E_BNode
-
bnode
public final org.apache.jena.sparql.expr.Expr bnode()implements bnode() as per SPARQL 1.1 spec https://www.w3.org/TR/2013/REC-sparql11-query-20130321/#func-bnode- Returns:
- an Expr instance.
- See Also:
-
E_BNode
-
call
public final org.apache.jena.sparql.expr.E_FunctionDynamic call(Object function, org.apache.jena.sparql.expr.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 executeargs
- the arguments to the function.- Returns:
- an E_FunctionDynamic instance.
- See Also:
-
asExpr(Object)
E_FunctionDynamic
-
call
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 executeargs
- the arguments to the function.- Returns:
- an E_FunctionDynamic instance.
- See Also:
-
asExpr(Object)
E_FunctionDynamic
-
call
public final org.apache.jena.sparql.expr.E_Call call(org.apache.jena.sparql.expr.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 org.apache.jena.sparql.expr.E_Coalesce coalesce(org.apache.jena.sparql.expr.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
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 org.apache.jena.sparql.expr.E_Function function(String name, org.apache.jena.sparql.expr.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 org.apache.jena.sparql.expr.E_NotOneOf notin(Object expr, org.apache.jena.sparql.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 listlist
- the list of expressions.- Returns:
- an E_NotOneOf instance.
- See Also:
-
asExpr(Object)
E_NotOneOf
-
notin
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 listlist
- the list of expressions.- Returns:
- an E_NotOneOf instance.
- See Also:
-
asExpr(Object)
E_NotOneOf
-
in
public final org.apache.jena.sparql.expr.E_OneOf in(Object expr, org.apache.jena.sparql.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 listlist
- the list of expressions.- Returns:
- an E_OneOf instance.
- See Also:
-
asExpr(Object)
E_OneOf
-
in
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 listlist
- the list of expressions.- Returns:
- an E_OneOf instance.
- See Also:
-
asExpr(Object)
E_OneOf
-
regex
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 matchflags
- the regex flags- Returns:
- an E_Regex instance.
- See Also:
-
asExpr(Object)
E_Regex
-
regex
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 matchflags
- the regex flags- Returns:
- an E_Regex instance.
- See Also:
-
asExpr(Object)
E_Regex
-
concat
public final org.apache.jena.sparql.expr.E_StrConcat concat(org.apache.jena.sparql.expr.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
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 org.apache.jena.sparql.expr.E_StrReplace replace(Object arg, Object pattern, Object replacement, 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 replacepattern
- 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 org.apache.jena.sparql.expr.E_StrReplace replace(Object arg, Object pattern, 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 replacepattern
- 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
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 startlen
- the length of the string to extract.- Returns:
- an E_Substring instance.
- See Also:
-
asExpr(Object)
E_StrSubstring
-
substr
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
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
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 org.apache.jena.sparql.expr.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
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:
-
asList
Not really an Expr but a container of exprs.- Parameters:
args
- the list of expressons.- Returns:
- the expression list.
-
list
public final org.apache.jena.sparql.expr.ExprList list()Not really an Expr but a container of exprs. creates an empty list.- Returns:
- the empty expression list.
-
asExpr
Convert the object into an expression using the query's PrefixMapping- Parameters:
o
- the object to convert.- Returns:
- the Expr.
-
quote
Deprecated.Convenience method to call AbstractQueryBuilder.quote- Parameters:
s
- the string to quote- Returns:
- the quotes string.
- See Also:
-
Converters.quoted(String)