MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
int | getId () |
void | setId (int id) |
Float | getFloat_null_hash () |
(name="idx_float_null_hash") | |
void | setFloat_null_hash (Float value) |
Float | getFloat_null_btree () |
void | setFloat_null_btree (Float value) |
Float | getFloat_null_both () |
void | setFloat_null_both (Float value) |
Float | getFloat_null_none () |
void | setFloat_null_none (Float value) |
float | getFloat_not_null_hash () |
void | setFloat_not_null_hash (float value) |
float | getFloat_not_null_btree () |
void | setFloat_not_null_btree (float value) |
float | getFloat_not_null_both () |
void | setFloat_not_null_both (float value) |
float | getFloat_not_null_none () |
void | setFloat_not_null_none (float value) |
Schema
drop table if exists floattypes; create table floattypes ( id int not null primary key,
float_null_hash float, float_null_btree float, float_null_both float, float_null_none float,
float_not_null_hash float, float_not_null_btree float, float_not_null_both float, float_not_null_none float
) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
create unique index idx_float_null_hash using hash on floattypes(float_null_hash); create index idx_float_null_btree on floattypes(float_null_btree); create unique index idx_float_null_both on floattypes(float_null_both);
create unique index idx_float_not_null_hash using hash on floattypes(float_not_null_hash); create index idx_float_not_null_btree on floattypes(float_not_null_btree); create unique index idx_float_not_null_both on floattypes(float_not_null_both); Float types allow hash indexes to be defined but ndb-bindings do not allow an equal lookup, so they are not used. If hash indexes are supported in future, uncomment the annotations.
Definition at line 63 of file FloatTypes.java.