risingwave_common::types

Type Alias Datum

source
pub type Datum = Option<ScalarImpl>;

Aliased Type§

enum Datum {
    None,
    Some(ScalarImpl),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(ScalarImpl)

Some value of type T.

Trait Implementations§

source§

impl DatumFromProtoExt for Datum

source§

fn from_protobuf(proto: &PbDatum, data_type: &DataType) -> Result<Datum>

Create a datum from the protobuf representation with the given data type.
source§

impl DefaultOrd for Datum

source§

fn default_cmp(&self, other: &Self) -> Ordering

source§

impl DefaultPartialOrd for Datum

source§

fn default_partial_cmp(&self, other: &Self) -> Option<Ordering>

source§

impl ToDatumRef for Datum

source§

fn to_datum_ref(&self) -> DatumRef<'_>

Convert the datum to DatumRef.
source§

impl ToOwnedDatum for &Datum

source§

fn to_owned_datum(self) -> Datum

Convert the datum to an owned Datum.