public class ExprFactory extends Object
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
E_NumAbs |
abs(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(Object expr1,
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(Object expr1,
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(Object o)
Convert the object into an expression using the query's PrefixMapping
|
static Expr |
asExpr(Object o,
PrefixMapping pMap)
Create an expression from an object.
|
ExprList |
asList(Object... args)
Not really an Expr but a container of exprs.
|
ExprVar |
asVar(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(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(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_Call |
call(ExprList args)
Creates a function call as per the SPARQL 11 query definition.
|
E_FunctionDynamic |
call(Object function,
ExprList args)
Creates a dynamic function call.
|
E_FunctionDynamic |
call(Object function,
Object... args)
Creates a dynamic function call.
|
E_NumCeiling |
ceil(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(ExprList args)
implements coalesce() as per the SPARQL 11 query definition.
|
E_Coalesce |
coalesce(Object... args)
implements coalesce() as per the SPARQL 11 query definition.
|
E_StrConcat |
concat(ExprList list)
implements concat() as per the SPARQL 11 query definition.
|
E_StrConcat |
concat(Object... 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(Object expr1,
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(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(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(Object expr1,
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(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(Object expr1,
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(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(String name,
ExprList args)
Creates a function call as per the SPARQL 11 query definition.
|
E_GreaterThanOrEqual |
ge(Object expr1,
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(Object expr1,
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(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(Object expr,
ExprList list)
implements "in" as per the SPARQL 11 query definition.
|
E_OneOf |
in(Object expr,
Object... list)
implements "in" as per the SPARQL 11 query definition.
|
E_IRI |
iri(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(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(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(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(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(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(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()
|
E_StrLowerCase |
lcase(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(Object expr1,
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(Object expr1,
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(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(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(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(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(Object expr1,
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(Object expr1,
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(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(Object expr,
ExprList list)
implements "not in" as per the SPARQL 11 query definition.
|
E_NotOneOf |
notin(Object expr,
Object... 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(Object expr1,
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(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()
|
String |
quote(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(Object expr,
Object pattern,
Object flags)
implements regex() as per the SPARQL 11 query definition.
|
E_Regex |
regex(Object expr,
String pattern,
String flags)
implements regex() as per the SPARQL 11 query definition.
|
E_StrReplace |
replace(Object arg,
Object pattern,
Object replacement)
implements replace() as per the SPARQL 11 query definition.
|
E_StrReplace |
replace(Object arg,
Object pattern,
Object replacement,
Object flags)
implements replace() as per the SPARQL 11 query definition.
|
E_NumRound |
round(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(Object expr1,
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(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(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(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(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(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(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(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(Object expr1,
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(Object expr1,
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(Object expr1,
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(Object expr1,
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(Object expr1,
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(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(Object expr1,
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(Object src,
Object loc)
implements substr() as per the SPARQL 11 query definition.
|
E_StrSubstring |
substr(Object src,
Object loc,
Object len)
implements substr() as per the SPARQL 11 query definition.
|
E_Subtract |
subtract(Object expr1,
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(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(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(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(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()
|
public ExprFactory(PrefixMapping pMap)
pMap - the PrefixMapping to use in the expressions.public ExprFactory()
PrefixMapping.ExtendedPrefixMapping.Extendedpublic final E_Random rand()
E_Randompublic final E_StrUUID struuid()
E_StrUUIDpublic final E_UUID uuid()
E_UUIDpublic final E_Version version()
E_Versionpublic final E_Now now()
E_Nowpublic final E_Bound bound(Object expr)
expr - the expression to check.asExpr(Object),
E_Boundpublic final E_Datatype datatype(Object expr)
expr - the expression to check.asExpr(Object),
E_Datatypepublic final E_DateTimeDay day(Object expr)
expr - the expression to check.asExpr(Object)public final E_DateTimeHours hours(Object expr)
expr - the expression to check.asExpr(Object),
E_DateTimeHourspublic final E_DateTimeMinutes minutes(Object expr)
expr - the expression to check.asExpr(Object),
E_DateTimeMinutespublic final E_DateTimeMonth month(Object expr)
expr - the expression to check.asExpr(Object),
E_DateTimeMonthpublic final E_DateTimeSeconds seconds(Object expr)
expr - the expression to check.asExpr(Object),
E_DateTimeSecondspublic final E_DateTimeTimezone timezone(Object expr)
expr - the expression to check.asExpr(Object),
E_DateTimeTimezonepublic final E_DateTimeTZ tz(Object expr)
expr - the expression to check.asExpr(Object),
E_DateTimeTZpublic final E_DateTimeYear year(Object expr)
expr - the expression to check.asExpr(Object),
E_DateTimeYearpublic final E_IRI iri(Object expr)
expr - the expression to check.asExpr(Object),
E_IRIpublic final E_IsBlank isBlank(Object expr)
expr - the expression to check.asExpr(Object),
E_IsBlankpublic final E_IsIRI isIRI(Object expr)
expr - the expression to check.asExpr(Object),
E_IsIRIpublic final E_IsLiteral isLiteral(Object expr)
expr - the expression to check.asExpr(Object),
E_IsLiteralpublic final E_IsNumeric isNumeric(Object expr)
expr - the expression to check.asExpr(Object),
E_IsNumericpublic final E_Lang lang(Object expr)
expr - the expression to check.asExpr(Object),
E_Langpublic final E_LogicalNot not(Object expr)
expr - the expression to check.asExpr(Object),
E_LogicalNotpublic final E_NumAbs abs(Object expr)
expr - the expression to check.asExpr(Object),
E_NumAbspublic final E_NumCeiling ceil(Object expr)
expr - the expression to check.asExpr(Object),
E_NumCeilingpublic final E_NumFloor floor(Object expr)
expr - the expression to check.asExpr(Object),
E_NumFloorpublic final E_NumRound round(Object expr)
expr - the expression to check.asExpr(Object),
E_NumRoundpublic final E_Str str(Object expr)
expr - the expression to check.asExpr(Object),
E_Strpublic final E_StrEncodeForURI encode(Object expr)
expr - the expression to check.asExpr(Object),
E_StrEncodeForURIpublic final E_StrLength strlen(Object expr)
expr - the expression to check.asExpr(Object),
E_StrLengthpublic final E_StrLowerCase lcase(Object expr)
expr - the expression to check.asExpr(Object),
E_StrLowerCasepublic final E_StrUpperCase ucase(Object expr)
expr - the expression to check.asExpr(Object),
E_StrUpperCasepublic final E_UnaryMinus minus(Object expr)
expr - the expression to check.asExpr(Object),
E_UnaryMinuspublic final E_UnaryPlus plus(Object expr)
expr - the expression to check.asExpr(Object),
E_UnaryPluspublic final E_MD5 md5(Object expr)
expr - the expression to check.asExpr(Object),
E_MD5public final E_SHA1 sha1(Object expr)
expr - the expression to check.asExpr(Object),
E_SHA1public final E_SHA224 sha224(Object expr)
expr - the expression to check.asExpr(Object),
E_SHA224public final E_SHA256 sha256(Object expr)
expr - the expression to check.asExpr(Object),
E_SHA256public final E_SHA384 sha384(Object expr)
expr - the expression to check.asExpr(Object),
E_SHA384public final E_SHA512 sha512(Object expr)
expr - the expression to check.asExpr(Object),
E_SHA512public final E_Add add(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_Addpublic final E_Divide divide(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_Dividepublic final E_Equals eq(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_Equalspublic final E_GreaterThan gt(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_GreaterThanpublic final E_GreaterThanOrEqual ge(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_GreaterThanOrEqualpublic final E_LangMatches langMatches(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_LangMatchespublic final E_LessThan lt(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_LessThanpublic final E_LessThanOrEqual le(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_LessThanOrEqualpublic final E_LogicalAnd and(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_LogicalAndpublic final E_LogicalOr or(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_LogicalOrpublic final E_Multiply multiply(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_Multiplypublic final E_NotEquals ne(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_NotEqualspublic final E_SameTerm sameTerm(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_SameTermpublic final E_StrAfter strafter(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_StrAfterpublic final E_StrBefore strbefore(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_StrBeforepublic final E_StrContains contains(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_StrContainspublic final E_StrDatatype strdt(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_StrDatatypepublic final E_StrEndsWith strends(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_StrEndsWithpublic final E_StrLang strlang(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_StrLangpublic final E_StrStartsWith strstarts(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_StrStartsWithpublic final E_Subtract subtract(Object expr1, Object expr2)
expr1 - the first expression.expr2 - the second expression.asExpr(Object),
E_Subtractpublic final E_Conditional cond(Expr condition, Expr thenExpr, Expr elseExpr)
condition - the condition to check.thenExpr - the expression to execute if condition is true.elseExpr - the expression to execute if condition is false.asExpr(Object),
E_Conditionalpublic final E_BNode bnode(Object expr1)
expr1 - the blank node id.asExpr(Object),
E_BNodepublic final E_BNode bnode()
E_Randompublic final E_FunctionDynamic call(Object function, ExprList args)
function - The function to executeargs - the arguments to the function.asExpr(Object),
E_FunctionDynamicpublic final E_FunctionDynamic call(Object function, Object... args)
function - The function to executeargs - the arguments to the function.asExpr(Object),
E_FunctionDynamicpublic final E_Call call(ExprList args)
args - the arguments to the function.The first argument is the function to callpublic final E_Coalesce coalesce(ExprList args)
args - the arguments to the function.E_Coalescepublic final E_Coalesce coalesce(Object... args)
args - the arguments to the function.E_Coalescepublic final E_Function function(String name, ExprList args)
name - the name of the function.args - the arguments to the function.E_Functionpublic final E_NotOneOf notin(Object expr, ExprList list)
expr - the expression that is not in the listlist - the list of expressions.asExpr(Object),
E_NotOneOfpublic final E_NotOneOf notin(Object expr, Object... list)
expr - the expression that is not in the listlist - the list of expressions.asExpr(Object),
E_NotOneOfpublic final E_OneOf in(Object expr, ExprList list)
expr - the expression that is not in the listlist - the list of expressions.asExpr(Object),
E_OneOfpublic final E_OneOf in(Object expr, Object... list)
expr - the expression that is not in the listlist - the list of expressions.asExpr(Object),
E_OneOfpublic final E_Regex regex(Object expr, Object pattern, Object flags)
expr - string to match.pattern - the pattern to matchflags - the regex flagsasExpr(Object),
E_Regexpublic final E_Regex regex(Object expr, String pattern, String flags)
expr - string to match.pattern - the pattern to matchflags - the regex flagsasExpr(Object),
E_Regexpublic final E_StrConcat concat(ExprList list)
list - the list of arguments to concatenateE_StrConcatpublic final E_StrConcat concat(Object... list)
list - the list of arguments to concatenateE_StrConcatpublic final E_StrReplace replace(Object arg, Object pattern, Object replacement, Object flags)
arg - the string literal to replacepattern - the pattern to replace in the string literal.replacement - the string literal to replace the pattern with.asExpr(Object),
E_StrReplacepublic final E_StrReplace replace(Object arg, Object pattern, Object replacement)
arg - the string literal to replacepattern - the pattern to replace in the string literal.replacement - the string literal to replace the pattern with.asExpr(Object),
E_StrReplacepublic final E_StrSubstring substr(Object src, Object loc, Object len)
src - the expression to extract the substring from.loc - the location within the expression string to startlen - the length of the string to extract.asExpr(Object),
E_StrSubstringpublic final E_StrSubstring substr(Object src, Object loc)
src - the expression to extract the substring from.loc - the location within the expression string to startasExpr(Object),
E_StrSubstringpublic final E_Exists exists(WhereClause<?> whereClause)
whereClause - A WhereClause to check existence of.E_Existspublic final E_NotExists notexists(WhereClause<?> whereClause)
whereClause - the argument to the function.E_NotExistspublic final ExprNone none()
ExprNonepublic final ExprVar asVar(Object o)
o - the object to convert.Converters.makeVar(Object)public final ExprList asList(Object... args)
args - the list of expressons.public final ExprList list()
public final Expr asExpr(Object o)
o - the object to convert.@Deprecated public final String quote(String s)
Converters.quoted(String)s - the string to quoteConverters.quoted(String)public static final Expr asExpr(Object o, PrefixMapping pMap)
o - the object to create the expression fromasVar(Object),
Converters.makeVar(Object)Licensed under the Apache License, Version 2.0