1
package drizzled.message;
2
option optimize_for = SPEED;
9
* Some minimal information transferred in the header of Statement
10
* submessage classes which identifies metadata about a specific
11
* field involved in a Statemet.
15
required string field_name = 1; /* Name of the field */
16
optional string field_alias = 2;
17
required string table_name = 3;
18
optional string table_alias = 4;
19
required string schema_name = 5;
23
* Minimal information transferred in the header of Statement submessage
24
* classes which identifies metadata about the schema objects being
25
* modified in a Statement.
29
required string schema_name = 1; /* Name of the containing schema */
30
required string table_name = 2; /* Name of the table */
31
optional string table_alias = 3; /* alias if defined */
36
* Represents a single record being returned
40
* A ResultSet contains one or more SelectRecord submessages, each
41
* of which represents a single record returned
45
repeated bytes record_value = 1;
46
repeated bool is_null = 2;
51
repeated TableMeta table_meta = 1; /* Minimal metadata about the table affected */
52
repeated FieldMeta field_meta = 2; /* Collection of metadata about fields affected */
57
required uint32 segment_id = 1; /* The segment number */
58
required bool end_segment = 2; /* Is this the final segment? */
59
repeated SelectRecord record = 3; /* The records inserted */
62
* The message is composed the hash of the query,
63
* a header (SelectHeader) containing metadata about:
64
* returned tables and fields.
65
* One or more data * segments (SelectData) containing the actual records
70
required string key= 1; /* contains a hashed value of: query + schema*/
71
required string schema= 2; /*current schema */
72
optional string sql = 3; /* May contain the original SQL string */
73
optional SelectHeader select_header = 4;
74
optional SelectData select_data = 5;