Struct mariadb_sys::Type_handler
source · #[repr(C)]pub struct Type_handler {
pub vtable_: *const Type_handler__bindgen_vtable,
pub m_name: Name,
}
Fields§
§vtable_: *const Type_handler__bindgen_vtable
§m_name: Name
Implementations§
source§impl Type_handler
impl Type_handler
pub unsafe fn print_item_value_csstr( &self, thd: *mut THD, item: *mut Item, str_: *mut String ) -> *mut String
pub unsafe fn print_item_value_temporal( &self, thd: *mut THD, item: *mut Item, str_: *mut String, type_name: *const Name, buf: *mut String ) -> *mut String
pub unsafe fn make_sort_key_longlong( &self, to: *mut uchar, maybe_null: bool, null_value: bool, unsigned_flag: bool, value: longlong )
pub unsafe fn store_sort_key_longlong( &self, to: *mut uchar, unsigned_flag: bool, value: longlong )
pub unsafe fn make_packed_sort_key_longlong( &self, to: *mut uchar, maybe_null: bool, null_value: bool, unsigned_flag: bool, value: longlong, sort_field: *const SORT_FIELD_ATTR ) -> uint
pub unsafe fn Item_func_or_sum_illegal_param( &self, name: *const LEX_CSTRING ) -> bool
pub unsafe fn Item_func_or_sum_illegal_param1( &self, arg1: *const Item_func_or_sum ) -> bool
pub unsafe fn check_null(&self, item: *const Item, value: *mut st_value) -> bool
pub unsafe fn Item_send_str( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_tiny( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_short( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_long( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_longlong( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_float( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_double( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_time( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_date( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_timestamp( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Item_send_datetime( &self, item: *mut Item, protocol: *mut Protocol, buf: *mut st_value ) -> bool
pub unsafe fn Column_definition_prepare_stage2_legacy( &self, c: *mut Column_definition, type_: Type ) -> bool
pub unsafe fn Column_definition_prepare_stage2_legacy_num( &self, c: *mut Column_definition, type_: Type ) -> bool
pub unsafe fn Column_definition_prepare_stage2_legacy_real( &self, c: *mut Column_definition, type_: Type ) -> bool
pub unsafe fn handler_by_name( thd: *mut THD, name: *const LEX_CSTRING ) -> *const Type_handler
pub unsafe fn handler_by_name_or_error( thd: *mut THD, name: *const LEX_CSTRING ) -> *const Type_handler
pub unsafe fn handler_by_log_event_data_type( thd: *mut THD, type_: *const Log_event_data_type ) -> *const Type_handler
pub unsafe fn odbc_literal_type_handler( str_: *const LEX_CSTRING ) -> *const Type_handler
pub unsafe fn blob_type_handler(max_octet_length: uint) -> *const Type_handler
pub unsafe fn string_type_handler(max_octet_length: uint) -> *const Type_handler
pub unsafe fn bit_and_int_mixture_handler( max_char_len: uint ) -> *const Type_handler
pub unsafe fn type_handler_long_or_longlong( max_char_len: uint, unsigned_flag: bool ) -> *const Type_handler
pub unsafe fn varstring_type_handler(item: *const Item) -> *const Type_handler
pub unsafe fn blob_type_handler1(item: *const Item) -> *const Type_handler
pub unsafe fn get_handler_by_field_type(type_: Type) -> *const Type_handler
pub unsafe fn get_handler_by_real_type(type_: Type) -> *const Type_handler
pub unsafe fn type_collection_for_aggregation( h1: *const Type_handler, h2: *const Type_handler ) -> *const Type_collection
pub unsafe fn aggregate_for_result_traditional( h1: *const Type_handler, h2: *const Type_handler ) -> *const Type_handler
pub unsafe fn partition_field_type_not_allowed(field_name: *const LEX_CSTRING)
pub unsafe fn partition_field_check_result_type( item: *mut Item, expected_type: Type ) -> bool
pub unsafe fn version_mysql56() -> *const Name
pub unsafe fn version_mariadb53() -> *const Name
pub unsafe fn is_traditional_scalar_type(&self) -> bool
pub unsafe fn make_and_init_table_field( &self, root: *mut MEM_ROOT, name: *const LEX_CSTRING, addr: *const Record_addr, attr: *const Type_all_attributes, table: *mut TABLE ) -> *mut Field
pub unsafe fn Item_get_date_with_warn( &self, thd: *mut THD, item: *mut Item, ltime: *mut MYSQL_TIME, fuzzydate: date_mode_t ) -> bool
pub unsafe fn Item_func_hybrid_field_type_get_date_with_warn( &self, thd: *mut THD, arg1: *mut Item_func_hybrid_field_type, arg2: *mut MYSQL_TIME, arg3: date_mode_t ) -> bool
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Type_handler
impl !Send for Type_handler
impl !Sync for Type_handler
impl Unpin for Type_handler
impl UnwindSafe for Type_handler
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more