|
|
@ -458,6 +458,7 @@ pub enum Expression { |
|
|
|
MinutesFunctionCall(Box<Expression>), |
|
|
|
MinutesFunctionCall(Box<Expression>), |
|
|
|
SecondsFunctionCall(Box<Expression>), |
|
|
|
SecondsFunctionCall(Box<Expression>), |
|
|
|
TimezoneFunctionCall(Box<Expression>), |
|
|
|
TimezoneFunctionCall(Box<Expression>), |
|
|
|
|
|
|
|
TzFunctionCall(Box<Expression>), |
|
|
|
NowFunctionCall(), |
|
|
|
NowFunctionCall(), |
|
|
|
UUIDFunctionCall(), |
|
|
|
UUIDFunctionCall(), |
|
|
|
StrUUIDFunctionCall(), |
|
|
|
StrUUIDFunctionCall(), |
|
|
@ -568,6 +569,7 @@ impl fmt::Display for Expression { |
|
|
|
Expression::MinutesFunctionCall(e) => write!(f, "MINUTES({})", e), |
|
|
|
Expression::MinutesFunctionCall(e) => write!(f, "MINUTES({})", e), |
|
|
|
Expression::SecondsFunctionCall(e) => write!(f, "SECONDS({})", e), |
|
|
|
Expression::SecondsFunctionCall(e) => write!(f, "SECONDS({})", e), |
|
|
|
Expression::TimezoneFunctionCall(e) => write!(f, "TIMEZONE({})", e), |
|
|
|
Expression::TimezoneFunctionCall(e) => write!(f, "TIMEZONE({})", e), |
|
|
|
|
|
|
|
Expression::TzFunctionCall(e) => write!(f, "TZ({})", e), |
|
|
|
Expression::NowFunctionCall() => write!(f, "NOW()"), |
|
|
|
Expression::NowFunctionCall() => write!(f, "NOW()"), |
|
|
|
Expression::UUIDFunctionCall() => write!(f, "UUID()"), |
|
|
|
Expression::UUIDFunctionCall() => write!(f, "UUID()"), |
|
|
|
Expression::StrUUIDFunctionCall() => write!(f, "STRUUID()"), |
|
|
|
Expression::StrUUIDFunctionCall() => write!(f, "STRUUID()"), |
|
|
@ -818,6 +820,7 @@ impl<'a> fmt::Display for SparqlExpression<'a> { |
|
|
|
Expression::MinutesFunctionCall(e) => write!(f, "MINUTES({})", SparqlExpression(&*e)), |
|
|
|
Expression::MinutesFunctionCall(e) => write!(f, "MINUTES({})", SparqlExpression(&*e)), |
|
|
|
Expression::SecondsFunctionCall(e) => write!(f, "SECONDS({})", SparqlExpression(&*e)), |
|
|
|
Expression::SecondsFunctionCall(e) => write!(f, "SECONDS({})", SparqlExpression(&*e)), |
|
|
|
Expression::TimezoneFunctionCall(e) => write!(f, "TIMEZONE({})", SparqlExpression(&*e)), |
|
|
|
Expression::TimezoneFunctionCall(e) => write!(f, "TIMEZONE({})", SparqlExpression(&*e)), |
|
|
|
|
|
|
|
Expression::TzFunctionCall(e) => write!(f, "TZ({})", SparqlExpression(&*e)), |
|
|
|
Expression::NowFunctionCall() => write!(f, "NOW()"), |
|
|
|
Expression::NowFunctionCall() => write!(f, "NOW()"), |
|
|
|
Expression::UUIDFunctionCall() => write!(f, "UUID()"), |
|
|
|
Expression::UUIDFunctionCall() => write!(f, "UUID()"), |
|
|
|
Expression::StrUUIDFunctionCall() => write!(f, "STRUUID()"), |
|
|
|
Expression::StrUUIDFunctionCall() => write!(f, "STRUUID()"), |
|
|
|