pub struct Rel {
pub aggs: Option<Vec<Value>>,
pub all: Option<bool>,
pub condition: Option<Condition>,
pub exprs: Option<Vec<Operand>>,
pub fields: Option<Vec<String>>,
pub group: Option<Vec<u64>>,
pub id: u64,
pub inputs: Vec<u64>,
pub join_type: Option<String>,
pub rel_op: String,
pub table: Option<Vec<String>>,
pub extra: Map<String, Value>,
}Expand description
Rel
JSON schema
{
"type": "object",
"required": [
"id",
"relOp"
],
"properties": {
"aggs": {
"type": [
"array",
"null"
],
"items": {}
},
"all": {
"type": [
"boolean",
"null"
]
},
"condition": {
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Condition"
}
]
}
]
},
"exprs": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/Operand"
}
},
"fields": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"group": {
"type": [
"array",
"null"
],
"items": {
"type": "integer",
"minimum": 0.0
}
},
"id": {
"type": "integer",
"minimum": 0.0
},
"inputs": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0.0
}
},
"joinType": {
"type": [
"string",
"null"
]
},
"relOp": {
"type": "string"
},
"table": {
"description": "This is a vector where the elements concatenated form a fully qualified table name.\n\ne.g., usually is of the form `[$namespace, $table] / [schema, table]`",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
},
"additionalProperties": {}
}Fields§
§aggs: Option<Vec<Value>>§all: Option<bool>§condition: Option<Condition>§exprs: Option<Vec<Operand>>§fields: Option<Vec<String>>§group: Option<Vec<u64>>§id: u64§inputs: Vec<u64>§join_type: Option<String>§rel_op: String§table: Option<Vec<String>>This is a vector where the elements concatenated form a fully qualified table name.
e.g., usually is of the form [$namespace, $table] / [schema, table]
extra: Map<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rel
impl<'de> Deserialize<'de> for Rel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Rel
impl Freeze for Rel
impl Move for Rel
impl RefUnwindSafe for Rel
impl Send for Rel
impl Sync for Rel
impl Unpin for Rel
impl UnsafeUnpin for Rel
impl UnwindSafe for Rel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more