Type Definition Int
tidb_query_datatype::codec::data_type
type Int = i64;
impl AsMySQLBool for Int
fn as_mysql_bool(&self, _context: &mut EvalContext) -> Result<bool>
Evaluates into a MySQL logic value.
impl Evaluable for Int
const EVAL_TYPE: EvalType
fn borrow_scalar_value(v: &ScalarValue) -> Option<&Self>
Borrows this concrete type from a ScalarValue in the same type; panics if the varient mismatches. Read more
ScalarValue
fn borrow_scalar_value_ref(v: ScalarValueRef<'_>) -> Option<&Self>
Borrows this concrete type from a ScalarValueRef in the same type; panics if the varient mismatches. Read more
ScalarValueRef
fn borrow_vector_value(v: &VectorValue) -> &ChunkedVecSized<Int>
Borrows a slice of this concrete type from a VectorValue in the same type; panics if the varient mismatches. Read more
VectorValue
impl EvaluableRet for Int
type ChunkedType = ChunkedVecSized<Self>
fn cast_chunk_into_vector_value(vec: ChunkedVecSized<Self>) -> VectorValue
Converts a vector of this concrete type into a VectorValue in the same type; panics if the varient mismatches. Read more