pub enum DeterminismLevel {
DeterminismLevelUnspecified,
Deterministic,
NotDeterministic,
}Expand description
JavaScript UDF determinism levels. If all JavaScript UDFs are DETERMINISTIC, the query result is potentially cachable (see below). If any JavaScript UDF is NOT_DETERMINISTIC, the query result is not cacheable. Even if a JavaScript UDF is deterministic, many other factors can prevent usage of cached query results. Example factors include but not limited to: DDL/DML, non-deterministic SQL function calls, update of referenced tables/views/UDFs or imported JavaScript libraries. SQL UDFs cannot have determinism specified. Their determinism is automatically determined.
Variants§
Trait Implementations§
source§impl Clone for DeterminismLevel
impl Clone for DeterminismLevel
source§fn clone(&self) -> DeterminismLevel
fn clone(&self) -> DeterminismLevel
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DeterminismLevel
impl Debug for DeterminismLevel
source§impl Default for DeterminismLevel
impl Default for DeterminismLevel
source§fn default() -> DeterminismLevel
fn default() -> DeterminismLevel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DeterminismLevel
impl<'de> Deserialize<'de> for DeterminismLevel
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 DeterminismLevel
impl PartialEq for DeterminismLevel
source§fn eq(&self, other: &DeterminismLevel) -> bool
fn eq(&self, other: &DeterminismLevel) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DeterminismLevel
impl Serialize for DeterminismLevel
impl Eq for DeterminismLevel
impl StructuralPartialEq for DeterminismLevel
Auto Trait Implementations§
impl Freeze for DeterminismLevel
impl RefUnwindSafe for DeterminismLevel
impl Send for DeterminismLevel
impl Sync for DeterminismLevel
impl Unpin for DeterminismLevel
impl UnwindSafe for DeterminismLevel
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<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.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.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request