pub enum Engine {
MergeTree,
ReplacingMergeTree,
SummingMergeTree,
AggregatingMergeTree,
CollapsingMergeTree,
ReplicatedMergeTree,
Memory,
Log,
TinyLog,
StripeLog,
}Expand description
A ClickHouse table engine.
PHP: Utopia\Query\Schema\ClickHouse\Engine.
Variants§
MergeTree
MergeTree().
ReplacingMergeTree
ReplacingMergeTree([version]).
SummingMergeTree
SummingMergeTree([columns]).
AggregatingMergeTree
AggregatingMergeTree().
CollapsingMergeTree
CollapsingMergeTree(sign).
ReplicatedMergeTree
ReplicatedMergeTree(path, replica).
Memory
Memory.
Log
Log.
TinyLog
TinyLog.
StripeLog
StripeLog.
Implementations§
Source§impl Engine
impl Engine
Sourcepub const PHP_CLASS: &'static str = "Utopia\\Query\\Schema\\ClickHouse\\Engine"
pub const PHP_CLASS: &'static str = "Utopia\\Query\\Schema\\ClickHouse\\Engine"
The PHP class of this enumeration.
Sourcepub fn try_from_value(value: &str) -> Option<Self>
pub fn try_from_value(value: &str) -> Option<Self>
The case with backing value value, if any.
PHP: tryFrom().
Sourcepub fn from_value(value: &str) -> Result<Self, Error>
pub fn from_value(value: &str) -> Result<Self, Error>
The case with backing value value.
PHP: from(), which throws ValueError (Error::InvalidValue) with the same message.
Trait Implementations§
impl Copy for Engine
impl Eq for Engine
impl StructuralPartialEq for Engine
Auto Trait Implementations§
impl Forget for Engine
impl Freeze for Engine
impl Move for Engine
impl RefUnwindSafe for Engine
impl Send for Engine
impl Sync for Engine
impl Unpin for Engine
impl UnsafeUnpin for Engine
impl UnwindSafe for Engine
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.