-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathx.q
28 lines (27 loc) · 1.6 KB
/
x.q
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// globals
A:()!() / aggregations
B:()!() / NYI: reserved for incremental update functions
C::.ht.visible[Q;G]I / visible columns
D:(::) / input -> output
E:(::) / event function
F:0#` / aggregated columns
G:0#` / grouping columns
H::.ht.groupable T / groupable columns
I::.ht.invisible[W;T;A;Q;F]G / invisible columns
J:([c:0#`]s:0#`;n:0#0;o:0#`) / rank table
K:(::) / sort vector
L:1b / show leaves?
M:(::) / NYI
N::count get T / row count
O.:(::) / properties
P:.ht.paths / paths
Q::.ht.qtype Z / types
R:`start`end!0 60 / rows
S:()!() / sort
T:`t / input table
U:0N / update?
V:(::) / view
W:.ht.state / pivot state
Y::G 0 / Y axis
X::$[count W 1;first 1_G except W[1;;1];G 1] / X axis
Z:`z / output table