Enum kuzu::LogicalType
source · pub enum LogicalType {
Show 34 variants
Any,
Bool,
Serial,
Int64,
Int32,
Int16,
Int8,
UInt64,
UInt32,
UInt16,
UInt8,
Int128,
Double,
Float,
Date,
Interval,
Timestamp,
TimestampTz,
TimestampNs,
TimestampMs,
TimestampSec,
InternalID,
String,
Blob,
List {
child_type: Box<LogicalType>,
},
Array {
child_type: Box<LogicalType>,
num_elements: u64,
},
Struct {
fields: Vec<(String, LogicalType)>,
},
Node,
Rel,
RecursiveRel,
Map {
key_type: Box<LogicalType>,
value_type: Box<LogicalType>,
},
Union {
types: Vec<(String, LogicalType)>,
},
UUID,
RDFVariant,
}
Expand description
Variants§
Any
Special type for use with Value::Null
Bool
Correponds to Value::Bool
Serial
Has no corresponding Value. Kuzu returns Serial values as Int64.
Int64
Correponds to Value::Int64
Int32
Correponds to Value::Int32
Int16
Correponds to Value::Int16
Int8
Correponds to Value::Int8
UInt64
Correponds to Value::UInt64
UInt32
Correponds to Value::UInt32
UInt16
Correponds to Value::UInt16
UInt8
Correponds to Value::UInt8
Int128
Correponds to Value::Int128
Double
Correponds to Value::Double
Float
Correponds to Value::Float
Date
Correponds to Value::Date
Interval
Correponds to Value::Interval
Timestamp
Correponds to Value::Timestamp
TimestampTz
Correponds to Value::TimestampTz
TimestampNs
Correponds to Value::TimestampNs
TimestampMs
Correponds to Value::TimestampMs
TimestampSec
Correponds to Value::TimestampSec
InternalID
Correponds to Value::InternalID
String
Correponds to Value::String
Blob
Correponds to Value::Blob
List
Correponds to Value::List
Fields
child_type: Box<LogicalType>
Array
Correponds to Value::Array
Struct
Correponds to Value::Struct
Fields
fields: Vec<(String, LogicalType)>
Node
Correponds to Value::Node
Rel
Correponds to Value::Rel
RecursiveRel
Map
Correponds to Value::Map
Union
Fields
types: Vec<(String, LogicalType)>
UUID
RDFVariant
Trait Implementations§
source§impl Clone for LogicalType
impl Clone for LogicalType
source§fn clone(&self) -> LogicalType
fn clone(&self) -> LogicalType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LogicalType
impl Debug for LogicalType
source§impl From<&LogicalType> for UniquePtr<LogicalType>
impl From<&LogicalType> for UniquePtr<LogicalType>
source§fn from(typ: &LogicalType) -> Self
fn from(typ: &LogicalType) -> Self
source§impl From<&Value> for LogicalType
impl From<&Value> for LogicalType
source§impl PartialEq for LogicalType
impl PartialEq for LogicalType
source§fn eq(&self, other: &LogicalType) -> bool
fn eq(&self, other: &LogicalType) -> bool
self
and other
values to be equal, and is used
by ==
.