Expand description
This module provides a list of q types. The motivation to contain them in a module is to
tie them up as related items rather than scattered values. Hence user should use these
indicators with qtype:: prefix, e.g., qtype::BOOL_LIST.
§Note
In order to facilitate type check without overflow this module defines atom type indicator as well as list type indicators (We don’t need to compeletely mirror the C API).
Constants§
- BOOL_
ATOM - Type indicator of q bool atom.
- BOOL_
LIST - Type indicator of q bool list list. Slice access type:
G, i.e.,obj.as_mut_sice::<G>(). - BYTE_
ATOM - Type indicator of q byte atom.
- BYTE_
LIST - Type indicator of q byte list. Slice access type:
G, i.e.,obj.as_mut_sice::<G>(). - CHAR
- Type indicator of q char atom.
- COMPOUND_
LIST - Type indicator of q mixed list list. Slice access type:
K, i.e.,obj.as_mut_sice::<K>(). - DATETIME_
ATOM - Type indicator of q datetime atom.
- DATETIME_
LIST - Type indicator of q datetime list. Slice access type:
F, i.e.,obj.as_mut_sice::<F>(). - DATE_
ATOM - Type indicator of q date atom.
- DATE_
LIST - Type indicator of q date list. Slice access type:
I, i.e.,obj.as_mut_sice::<I>(). - DICTIONARY
- Type indicator of q dictionary. Slice access type:
K, i.e.,obj.as_mut_sice::<K>(). - ENUM_
ATOM - Type indicator of q enum atom.
- ENUM_
LIST - Type indicator of q enum list. Slice access type:
J, i.e.,obj.as_mut_sice::<J>(). - ERROR
- Type indicator of q error
- FLOAT_
ATOM - Type indicator of q float atom.
- FLOAT_
LIST - Type indicator of q float list. Slice access type:
F, i.e.,obj.as_mut_sice::<F>(). - FOREIGN
- Type indicator of q foreign object.
- GUID_
ATOM - Type indicator of q GUID atom.
- GUID_
LIST - Type indicator of q GUID list. Slice access type:
U, i.e.,obj.as_mut_sice::<U>(). - INT_
ATOM - Type indicator of q int atom.
- INT_
LIST - Type indicator of q int list. Slice access type:
I, i.e.,obj.as_mut_sice::<I>(). - LONG_
ATOM - Type indicator of q long atom.
- LONG_
LIST - Type indicator of q long list. Slice access type:
J, i.e.,obj.as_mut_sice::<J>(). - MINUTE_
ATOM - Type indicator of q minute atom.
- MINUTE_
LIST - Type indicator of q minute list. Slice access type:
I, i.e.,obj.as_mut_sice::<I>(). - MONTH_
ATOM - Type indicator of q month atom.
- MONTH_
LIST - Type indicator of q month list. Slice access type:
I, i.e.,obj.as_mut_sice::<I>(). - NULL
- Type indicator of q general null
- REAL_
ATOM - Type indicator of q real atom.
- REAL_
LIST - Type indicator of q real list. Slice access type:
E, i.e.,obj.as_mut_sice::<E>(). - SECOND_
ATOM - Type indicator of q second atom.
- SECOND_
LIST - Type indicator of q second list. Slice access type:
I, i.e.,obj.as_mut_sice::<I>(). - SHORT_
ATOM - Type indicator of q short atom.
- SHORT_
LIST - Type indicator of q short list. Slice access type:
H, i.e.,obj.as_mut_sice::<H>(). - SORTED_
DICTIONARY - Type indicator of q sorted dictionary. Slice access type:
K, i.e.,obj.as_mut_sice::<K>(). - STRING
- Type indicator of q string (char list). Slice access type:
C, i.e.,obj.as_mut_sice::<C>(). - SYMBOL_
ATOM - Type indicator of q symbol atom.
- SYMBOL_
LIST - Type indicator of q symbol list. Slice access type:
S, i.e.,obj.as_mut_sice::<S>(). - TABLE
- Type indicator of q table.
- TIMESPAN_
ATOM - Type indicator of q timespan atom.
- TIMESPAN_
LIST - Type indicator of q timespan list. Slice access type:
J, i.e.,obj.as_mut_sice::<J>(). - TIMESTAMP_
ATOM - Type indicator of q timestamp atom.
- TIMESTAMP_
LIST - Type indicator of q timestamp list. Slice access type:
J, i.e.,obj.as_mut_sice::<J>(). - TIME_
ATOM - Type indicator of q time atom.
- TIME_
LIST - Type indicator of q time list. Slice access type:
I, i.e.,obj.as_mut_sice::<I>().