pub enum VerticaExpression {
Show 16 variants
PhysicalTable {
this: Expression,
physical: VerticaPhysical,
},
FlexTable {
this: Expression,
physical: VerticaPhysical,
},
Projection {
name: TableRef,
columns: Vec<VerticaProjectionColumn>,
query: Expression,
physical: VerticaPhysical,
},
Copy {
table: TableRef,
columns: Vec<Identifier>,
local: bool,
sources: Vec<Expression>,
parser: Option<VerticaParserCall>,
options: Vec<VerticaParameter>,
},
ExportParquet {
options: Vec<VerticaParameter>,
over: Option<Over>,
query: Expression,
},
Interpolate {
left: Expression,
right: Expression,
previous: bool,
},
ArrayAccess {
this: Expression,
indices: Vec<Expression>,
},
ArraySlice {
this: Expression,
start: Option<Expression>,
end: Option<Expression>,
},
BoundaryDateDiff {
start: Expression,
end: Expression,
unit: IntervalUnit,
},
UsingParameters {
this: Expression,
parameters: Vec<VerticaParameter>,
},
SafeCast {
this: Expression,
to: DataType,
},
Set {
values: Vec<Expression>,
},
Interval {
value: Expression,
precision: Option<u32>,
year_month: bool,
unit: Option<String>,
end_unit: Option<String>,
},
Binary {
hex: String,
},
Historical {
query: Expression,
point: VerticaHistoricalPoint,
},
PartitionBest,
}Expand description
Native Vertica syntax, retaining semantics through serialization and traversal.
Variants§
PhysicalTable
FlexTable
Projection
Copy
Fields
§
columns: Vec<Identifier>§
sources: Vec<Expression>§
parser: Option<VerticaParserCall>§
options: Vec<VerticaParameter>ExportParquet
Interpolate
ArrayAccess
Zero-based array access retains source bounds semantics from parsing.
ArraySlice
BoundaryDateDiff
UsingParameters
SafeCast
Set
Fields
§
values: Vec<Expression>Interval
Fields
§
value: ExpressionBinary
Hexadecimal byte value, distinct from PostgreSQL’s bit strings.
Historical
PartitionBest
Trait Implementations§
Source§impl Clone for VerticaExpression
impl Clone for VerticaExpression
Source§impl Debug for VerticaExpression
impl Debug for VerticaExpression
Source§impl<'de> Deserialize<'de> for VerticaExpression
impl<'de> Deserialize<'de> for VerticaExpression
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
Source§impl PartialEq for VerticaExpression
impl PartialEq for VerticaExpression
Source§impl Serialize for VerticaExpression
impl Serialize for VerticaExpression
impl StructuralPartialEq for VerticaExpression
Auto Trait Implementations§
impl Freeze for VerticaExpression
impl RefUnwindSafe for VerticaExpression
impl Send for VerticaExpression
impl Sync for VerticaExpression
impl Unpin for VerticaExpression
impl UnsafeUnpin for VerticaExpression
impl UnwindSafe for VerticaExpression
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