Enum datafusion_proto::generated::datafusion::scalar_value::Value
source · pub enum Value {
Show 29 variants
NullValue(ArrowType),
BoolValue(bool),
Utf8Value(String),
LargeUtf8Value(String),
Int8Value(i32),
Int16Value(i32),
Int32Value(i32),
Int64Value(i64),
Uint8Value(u32),
Uint16Value(u32),
Uint32Value(u32),
Uint64Value(u64),
Float32Value(f32),
Float64Value(f64),
Date32Value(i32),
Time32Value(ScalarTime32Value),
ListValue(ScalarListValue),
Decimal128Value(Decimal128),
Date64Value(i64),
IntervalYearmonthValue(i32),
IntervalDaytimeValue(i64),
TimestampValue(ScalarTimestampValue),
DictionaryValue(Box<ScalarDictionaryValue>),
BinaryValue(Vec<u8>),
LargeBinaryValue(Vec<u8>),
Time64Value(ScalarTime64Value),
IntervalMonthDayNano(IntervalMonthDayNanoValue),
StructValue(StructValue),
FixedSizeBinaryValue(ScalarFixedSizeBinary),
}Variants§
NullValue(ArrowType)
was PrimitiveScalarType null_value = 19; Null value of any type
BoolValue(bool)
Utf8Value(String)
LargeUtf8Value(String)
Int8Value(i32)
Int16Value(i32)
Int32Value(i32)
Int64Value(i64)
Uint8Value(u32)
Uint16Value(u32)
Uint32Value(u32)
Uint64Value(u64)
Float32Value(f32)
Float64Value(f64)
Date32Value(i32)
Literal Date32 value always has a unit of day
Time32Value(ScalarTime32Value)
ListValue(ScalarListValue)
WAS: ScalarType null_list_value = 18;
Decimal128Value(Decimal128)
Date64Value(i64)
IntervalYearmonthValue(i32)
IntervalDaytimeValue(i64)
TimestampValue(ScalarTimestampValue)
DictionaryValue(Box<ScalarDictionaryValue>)
BinaryValue(Vec<u8>)
LargeBinaryValue(Vec<u8>)
Time64Value(ScalarTime64Value)
IntervalMonthDayNano(IntervalMonthDayNanoValue)
StructValue(StructValue)
FixedSizeBinaryValue(ScalarFixedSizeBinary)
Implementations§
source§impl Value
impl Value
sourcepub fn merge<B>(
field: &mut Option<Value>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>( field: &mut Option<Value>, tag: u32, wire_type: WireType, buf: &mut B, ctx: DecodeContext ) -> Result<(), DecodeError>where B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.