|
|
@ -233,7 +233,7 @@ pub enum PlanExpression<I: StrId> { |
|
|
|
LangMatches(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
LangMatches(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
Datatype(Box<PlanExpression<I>>), |
|
|
|
Datatype(Box<PlanExpression<I>>), |
|
|
|
Bound(usize), |
|
|
|
Bound(usize), |
|
|
|
IRI(Box<PlanExpression<I>>), |
|
|
|
Iri(Box<PlanExpression<I>>), |
|
|
|
BNode(Option<Box<PlanExpression<I>>>), |
|
|
|
BNode(Option<Box<PlanExpression<I>>>), |
|
|
|
Rand, |
|
|
|
Rand, |
|
|
|
Abs(Box<PlanExpression<I>>), |
|
|
|
Abs(Box<PlanExpression<I>>), |
|
|
@ -255,7 +255,7 @@ pub enum PlanExpression<I: StrId> { |
|
|
|
), |
|
|
|
), |
|
|
|
UCase(Box<PlanExpression<I>>), |
|
|
|
UCase(Box<PlanExpression<I>>), |
|
|
|
LCase(Box<PlanExpression<I>>), |
|
|
|
LCase(Box<PlanExpression<I>>), |
|
|
|
EncodeForURI(Box<PlanExpression<I>>), |
|
|
|
EncodeForUri(Box<PlanExpression<I>>), |
|
|
|
Contains(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
Contains(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
StrStarts(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
StrStarts(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
StrEnds(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
StrEnds(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
@ -270,13 +270,13 @@ pub enum PlanExpression<I: StrId> { |
|
|
|
Timezone(Box<PlanExpression<I>>), |
|
|
|
Timezone(Box<PlanExpression<I>>), |
|
|
|
Tz(Box<PlanExpression<I>>), |
|
|
|
Tz(Box<PlanExpression<I>>), |
|
|
|
Now, |
|
|
|
Now, |
|
|
|
UUID, |
|
|
|
Uuid, |
|
|
|
StrUUID, |
|
|
|
StrUuid, |
|
|
|
MD5(Box<PlanExpression<I>>), |
|
|
|
Md5(Box<PlanExpression<I>>), |
|
|
|
SHA1(Box<PlanExpression<I>>), |
|
|
|
Sha1(Box<PlanExpression<I>>), |
|
|
|
SHA256(Box<PlanExpression<I>>), |
|
|
|
Sha256(Box<PlanExpression<I>>), |
|
|
|
SHA384(Box<PlanExpression<I>>), |
|
|
|
Sha384(Box<PlanExpression<I>>), |
|
|
|
SHA512(Box<PlanExpression<I>>), |
|
|
|
Sha512(Box<PlanExpression<I>>), |
|
|
|
Coalesce(Vec<PlanExpression<I>>), |
|
|
|
Coalesce(Vec<PlanExpression<I>>), |
|
|
|
If( |
|
|
|
If( |
|
|
|
Box<PlanExpression<I>>, |
|
|
|
Box<PlanExpression<I>>, |
|
|
@ -284,9 +284,9 @@ pub enum PlanExpression<I: StrId> { |
|
|
|
Box<PlanExpression<I>>, |
|
|
|
Box<PlanExpression<I>>, |
|
|
|
), |
|
|
|
), |
|
|
|
StrLang(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
StrLang(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
StrDT(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
StrDt(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
SameTerm(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
SameTerm(Box<PlanExpression<I>>, Box<PlanExpression<I>>), |
|
|
|
IsIRI(Box<PlanExpression<I>>), |
|
|
|
IsIri(Box<PlanExpression<I>>), |
|
|
|
IsBlank(Box<PlanExpression<I>>), |
|
|
|
IsBlank(Box<PlanExpression<I>>), |
|
|
|
IsLiteral(Box<PlanExpression<I>>), |
|
|
|
IsLiteral(Box<PlanExpression<I>>), |
|
|
|
IsNumeric(Box<PlanExpression<I>>), |
|
|
|
IsNumeric(Box<PlanExpression<I>>), |
|
|
@ -318,8 +318,8 @@ impl<I: StrId> PlanExpression<I> { |
|
|
|
PlanExpression::Constant(_) |
|
|
|
PlanExpression::Constant(_) |
|
|
|
| PlanExpression::Rand |
|
|
|
| PlanExpression::Rand |
|
|
|
| PlanExpression::Now |
|
|
|
| PlanExpression::Now |
|
|
|
| PlanExpression::UUID |
|
|
|
| PlanExpression::Uuid |
|
|
|
| PlanExpression::StrUUID |
|
|
|
| PlanExpression::StrUuid |
|
|
|
| PlanExpression::BNode(None) => (), |
|
|
|
| PlanExpression::BNode(None) => (), |
|
|
|
PlanExpression::UnaryPlus(e) |
|
|
|
PlanExpression::UnaryPlus(e) |
|
|
|
| PlanExpression::UnaryMinus(e) |
|
|
|
| PlanExpression::UnaryMinus(e) |
|
|
@ -328,7 +328,7 @@ impl<I: StrId> PlanExpression<I> { |
|
|
|
| PlanExpression::Str(e) |
|
|
|
| PlanExpression::Str(e) |
|
|
|
| PlanExpression::Lang(e) |
|
|
|
| PlanExpression::Lang(e) |
|
|
|
| PlanExpression::Datatype(e) |
|
|
|
| PlanExpression::Datatype(e) |
|
|
|
| PlanExpression::IRI(e) |
|
|
|
| PlanExpression::Iri(e) |
|
|
|
| PlanExpression::Abs(e) |
|
|
|
| PlanExpression::Abs(e) |
|
|
|
| PlanExpression::Ceil(e) |
|
|
|
| PlanExpression::Ceil(e) |
|
|
|
| PlanExpression::Floor(e) |
|
|
|
| PlanExpression::Floor(e) |
|
|
@ -336,7 +336,7 @@ impl<I: StrId> PlanExpression<I> { |
|
|
|
| PlanExpression::UCase(e) |
|
|
|
| PlanExpression::UCase(e) |
|
|
|
| PlanExpression::LCase(e) |
|
|
|
| PlanExpression::LCase(e) |
|
|
|
| PlanExpression::StrLen(e) |
|
|
|
| PlanExpression::StrLen(e) |
|
|
|
| PlanExpression::EncodeForURI(e) |
|
|
|
| PlanExpression::EncodeForUri(e) |
|
|
|
| PlanExpression::Year(e) |
|
|
|
| PlanExpression::Year(e) |
|
|
|
| PlanExpression::Month(e) |
|
|
|
| PlanExpression::Month(e) |
|
|
|
| PlanExpression::Day(e) |
|
|
|
| PlanExpression::Day(e) |
|
|
@ -345,12 +345,12 @@ impl<I: StrId> PlanExpression<I> { |
|
|
|
| PlanExpression::Seconds(e) |
|
|
|
| PlanExpression::Seconds(e) |
|
|
|
| PlanExpression::Timezone(e) |
|
|
|
| PlanExpression::Timezone(e) |
|
|
|
| PlanExpression::Tz(e) |
|
|
|
| PlanExpression::Tz(e) |
|
|
|
| PlanExpression::MD5(e) |
|
|
|
| PlanExpression::Md5(e) |
|
|
|
| PlanExpression::SHA1(e) |
|
|
|
| PlanExpression::Sha1(e) |
|
|
|
| PlanExpression::SHA256(e) |
|
|
|
| PlanExpression::Sha256(e) |
|
|
|
| PlanExpression::SHA384(e) |
|
|
|
| PlanExpression::Sha384(e) |
|
|
|
| PlanExpression::SHA512(e) |
|
|
|
| PlanExpression::Sha512(e) |
|
|
|
| PlanExpression::IsIRI(e) |
|
|
|
| PlanExpression::IsIri(e) |
|
|
|
| PlanExpression::IsBlank(e) |
|
|
|
| PlanExpression::IsBlank(e) |
|
|
|
| PlanExpression::IsLiteral(e) |
|
|
|
| PlanExpression::IsLiteral(e) |
|
|
|
| PlanExpression::IsNumeric(e) |
|
|
|
| PlanExpression::IsNumeric(e) |
|
|
@ -384,7 +384,7 @@ impl<I: StrId> PlanExpression<I> { |
|
|
|
| PlanExpression::StrBefore(a, b) |
|
|
|
| PlanExpression::StrBefore(a, b) |
|
|
|
| PlanExpression::StrAfter(a, b) |
|
|
|
| PlanExpression::StrAfter(a, b) |
|
|
|
| PlanExpression::StrLang(a, b) |
|
|
|
| PlanExpression::StrLang(a, b) |
|
|
|
| PlanExpression::StrDT(a, b) |
|
|
|
| PlanExpression::StrDt(a, b) |
|
|
|
| PlanExpression::SameTerm(a, b) |
|
|
|
| PlanExpression::SameTerm(a, b) |
|
|
|
| PlanExpression::SubStr(a, b, None) |
|
|
|
| PlanExpression::SubStr(a, b, None) |
|
|
|
| PlanExpression::Regex(a, b, None) => { |
|
|
|
| PlanExpression::Regex(a, b, None) => { |
|
|
|