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>>,
}Expand description
Rel
JSON schema
{
"type": "object",
"required": [
"id",
"relOp"
],
"properties": {
"aggs": {
"type": [
"array",
"null"
],
"items": {}
},
"all": {
"type": [
"boolean",
"null"
]
},
"condition": {
"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]
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 Freeze for Rel
impl RefUnwindSafe for Rel
impl Send for Rel
impl Sync for Rel
impl Unpin 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