Trait tidb_query_datatype::codec::data_type::EvaluableRet[][src]

pub trait EvaluableRet: Clone + Debug + Send + Sync + 'static {
    type ChunkedType: ChunkedVec<Self>;

    const EVAL_TYPE: EvalType;

    fn cast_chunk_into_vector_value(vec: Self::ChunkedType) -> VectorValue;
}

Associated Types

type ChunkedType: ChunkedVec<Self>[src]

Associated Constants

const EVAL_TYPE: EvalType[src]

Required methods

fn cast_chunk_into_vector_value(vec: Self::ChunkedType) -> VectorValue[src][]

Converts a vector of this concrete type into a VectorValue in the same type; panics if the varient mismatches.

Implementors

impl EvaluableRet for Decimal[src][+]

impl EvaluableRet for Duration[src][+]

impl EvaluableRet for Enum[src][+]

impl EvaluableRet for Json[src][+]

impl EvaluableRet for Set[src][+]

impl EvaluableRet for DateTime[src][+]

impl EvaluableRet for Bytes[src][+]

impl EvaluableRet for Int[src][+]

impl EvaluableRet for Real[src][+]