Public Types | |
typedef boost::shared_ptr < TableShare > | shared_ptr |
typedef std::vector< shared_ptr > | vector |
typedef std::vector< Field * > | Fields |
Public Member Functions | |
Singular (const identifier::Table::Type type_arg, const identifier::Table &identifier, const char *path_arg=NULL, uint32_t path_length_arg=0) | |
bool | isTemporaryCategory () const |
void | setTableCategory (enum_table_category arg) |
const Fields | getFields () const |
Fields | getFields () |
Field ** | getFields (bool) |
void | setFields (uint32_t arg) |
uint32_t | positionFields (Field **arg) const |
void | pushField (Field *arg) |
Field * | getTimestampField () const |
void | setTimestampField (Field *arg) |
KeyInfo & | getKeyInfo (uint32_t arg) const |
size_t | getNamedFieldSize () const |
Field ** | getNamedField (const std::string &arg) |
uint32_t | doesKeyNameExist (const std::string &arg) const |
virtual void | lock () |
virtual void | unlock () |
unsigned char * | getDefaultValues () |
void | resizeDefaultValues (size_t arg) |
const char * | getNormalizedPath () const |
const char * | getPath () const |
const identifier::Table::Key & | getCacheKey () const |
size_t | getCacheKeySize () const |
str_ref | getTableNameRef () const |
const char * | getTableName () const |
str_ref | getSchemaNameRef () const |
const char * | getSchemaName () const |
uint64_t | getVersion () const |
void | refreshVersion () |
void | resetVersion () |
uint32_t | sizeStoredRecord () const |
uint32_t | getRecordLength () const |
void | setRecordLength (uint32_t arg) |
const Field_blob * | getBlobFieldAt (uint32_t arg) const |
message::Table::TableType | getTableType () const |
const std::string & | getTableTypeAsString () const |
message::Table * | getTableMessage () const |
void | setTableMessage (const message::Table &arg) |
const message::Table::Field & | field (int32_t field_position) const |
bool | hasComment () const |
const char * | getComment () |
uint32_t | getCommentLength () const |
uint64_t | getMaxRows () const |
void | setMaxRows (uint64_t arg) |
bool | fieldInPrimaryKey (Field *field) const |
plugin::StorageEngine * | db_type () const |
plugin::StorageEngine * | getEngine () const |
identifier::Table::Type | getType () const |
uint32_t | getTableCount () const |
void | incrementTableCount () |
uint32_t | decrementTableCount () |
void | setFieldSize (uint32_t arg) |
uint32_t | sizeFields () const |
uint32_t | sizeKeys () const |
bool | hasVariableWidth () const |
void | setVariableWidth () |
uint32_t | getPrimaryKey () const |
bool | hasPrimaryKey () const |
uint8_t | sizeBlobPtr () const |
virtual plugin::EventObserverList * | getTableObservers () |
virtual void | setTableObservers (plugin::EventObserverList *) |
void | setIdentifier (const identifier::Table &identifier_arg) |
int | open_table_def (Session &session, const identifier::Table &identifier) |
int | open_table_from_share (Session *session, const identifier::Table &identifier, const char *alias, uint32_t db_stat, uint32_t ha_open_flags, Table &outparam) |
bool | parse_table_proto (Session &session, const message::Table &table) |
virtual bool | is_replicated () const |
Static Public Member Functions | |
static TableShare::shared_ptr | getShareCreate (Session *, const identifier::Table &, int &error) |
Public Attributes | |
Field ** | found_next_number_field |
std::vector< uint > | blob_field |
const charset_info_st * | table_charset |
boost::dynamic_bitset | all_set |
uint32_t | block_size |
plugin::StorageEngine * | storage_engine |
uint32_t | null_bytes |
uint32_t | last_null_bit_pos |
uint32_t | rec_buff_length |
uint32_t | keys |
uint32_t | key_parts |
uint32_t | max_key_length |
uint32_t | max_unique_length |
uint32_t | total_key_length |
uint32_t | uniques |
uint32_t | null_fields |
uint32_t | blob_fields |
uint32_t | db_create_options |
uint32_t | db_options_in_use |
uint32_t | db_record_offset |
uint32_t | rowid_field_offset |
uint32_t | next_number_index |
uint32_t | next_number_key_offset |
uint32_t | next_number_keypart |
uint32_t | error |
uint32_t | open_errno |
uint32_t | errarg |
bool | db_low_byte_first |
key_map | keys_in_use |
key_map | keys_for_keyread |
Protected Member Functions | |
void | open_table_error (int pass_error, int db_errno, int pass_errarg) |
Field * | make_field (const message::Table::Field &pfield, unsigned char *ptr, uint32_t field_length, bool is_nullable, unsigned char *null_pos, unsigned char null_bit, uint8_t decimals, enum_field_types field_type, const charset_info_st *field_charset, Field::utype unireg_check, TYPELIB *interval, const char *field_name) |
Field * | make_field (const message::Table::Field &pfield, unsigned char *ptr, uint32_t field_length, bool is_nullable, unsigned char *null_pos, unsigned char null_bit, uint8_t decimals, enum_field_types field_type, const charset_info_st *field_charset, Field::utype unireg_check, TYPELIB *interval, const char *field_name, bool is_unsigned) |
Definition at line 30 of file singular.h.
|
inherited |
Returns true if the supplied Field object is part of the table's primary key.
Precache this stuff....
Definition at line 204 of file base.cc.
References dict_index_struct::indexes.
Referenced by drizzled::TransactionServices::deleteRecord(), drizzled::TransactionServices::setDeleteHeader(), drizzled::TransactionServices::setUpdateHeader(), and drizzled::TransactionServices::updateRecord().