pub enum RelationIdType {
Int32,
Int64,
Utf8,
LargeUtf8,
Utf8View,
}Expand description
Scalar ID types accepted by dense relational operations.
This is deliberately narrower than the set of Arrow integer types. Native cuVS output/gather paths are only defined for these five stable SQL types.
Variants§
Int32
Signed 32-bit integer identifiers.
Int64
Signed 64-bit integer identifiers.
Utf8
UTF-8 string identifiers with 32-bit offsets.
LargeUtf8
UTF-8 string identifiers with 64-bit offsets.
Utf8View
UTF-8 identifiers stored as Arrow string views.
Implementations§
Source§impl RelationIdType
impl RelationIdType
Sourcepub fn from_data_type(data_type: &DataType) -> Option<RelationIdType>
pub fn from_data_type(data_type: &DataType) -> Option<RelationIdType>
Returns the supported binding type, or None for other Arrow types.
Trait Implementations§
Source§impl Clone for RelationIdType
impl Clone for RelationIdType
Source§fn clone(&self) -> RelationIdType
fn clone(&self) -> RelationIdType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RelationIdType
Source§impl Debug for RelationIdType
impl Debug for RelationIdType
impl Eq for RelationIdType
Source§impl Hash for RelationIdType
impl Hash for RelationIdType
Source§impl PartialEq for RelationIdType
impl PartialEq for RelationIdType
impl StructuralPartialEq for RelationIdType
Auto Trait Implementations§
impl Freeze for RelationIdType
impl RefUnwindSafe for RelationIdType
impl Send for RelationIdType
impl Sync for RelationIdType
impl Unpin for RelationIdType
impl UnsafeUnpin for RelationIdType
impl UnwindSafe for RelationIdType
Blanket Implementations§
impl<T> Allocation for T
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§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§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 moreSource§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