The following are composite-table-related functions that handle computations over composite tables that are unique in esProc.
Execute DQL query statement |
|
A column in a table, its parent table, or a table above them |
|
Join up a cursor and an entity table by the foreign key |
|
Generate an in-memory table from a cursor |
|
Create association between cursors or record sequences through the join key |
|
Merge a sequence of composite table cursors |
|
Execute DQL query statement |
|
Create DQL connection |
|
Generate a composite table’s base table from a file |
|
Return a file or homo-name files group preceded by corresponding zone table number(s) |
|
Ø f.open() |
Open a composite table’s base table |
Reorganize a composite table file/homo-name files group and write it to a new composite table file/homo-name files group |
|
Restore a composite table file to the previous state when update error happens |
|
Get structure information of a composite table/ multizone composite table /index file/preaggregation file |
|
Ø k.r(T,F) |
Query a specified field in a specific row in an in-memory table |
Find one or more records from an in-memory table according to specified key value(s) |
|
Ø k.sbs() |
Get an integer consisting of certain bytes of a serial byte key |
Copy, move, delete or rename a file |
|
Generate a pseudo table definition object |
|
Alter one or more fields in an entity table |
|
Append records in a cursor to an entity table |
|
Append-write records of a cursor to a pseudo table |
|
Open a composite table’s attached table |
|
Add an attached table to a composite table’s base table |
|
Ø T.C |
Retrieve a specified column from an attached table |
Perform grouping & aggregation using the composite table/multizone composite table’s preaggregation file |
|
Close a composite table file |
|
Close a pseudo table |
|
Define a computation on a pseudo table, which splits each of its records and concatenates the result records |
|
Create a new composite table file using the data structure of an existing composite table |
|
Generate preaggregation file for a composite table/multizone composite table |
|
Segment an entity/in-memory table/multizone composite table and return the cursor of a specified segment |
|
Synchronously segment an entity table/in-memory table/multizone composite table according to a multicursor and return a multicursor |
|
Get a cursor based on a pseudo table |
|
Define the computation of adding fields to a pseudo table and return a new pseudo table |
|
Ø T.f(C) |
Perform an aggregate operation over an attached table’s column |
Find the record(s) according to the specified primary key value(s) from an in-memory table |
|
Get record(s) in an entity table or a multizone composite table according to key value(s) |
|
Define a foreign-key-style association on a pseudo table and return a new pseudo table |
|
Define a computation, which will group records by comparing the grouping field in each with its next neighbor, on a pseudo table and return a new pseudo table |
|
Define a computation, which will group records by comparing the grouping field in each with its next neighbor and perform aggregation over each group, on a pseudo table and return a new pseudo table |
|
Group records in a pseudo table |
|
Define a computation on a pseudo table, which will group its records and write the grouped subsets to a sequence of bin files |
|
Use index to query data in an entity table |
|
Search for a specified key value in an in-memory table according to the index |
|
Read in records from an entity table and return them as a table sequence |
|
Get a table sequence based on a pseudo table |
|
Create an index file for an entity table |
|
Create one or multiple non-primary-key-based indexes for an in-memory table |
|
Create an index for the key of an in-memory table |
|
Define a computation of foreign-key-style join on a pseudo table and return a new pseudo table |
|
Ø T.keys() |
Define the key(s) for an in-memory table |
Set primary key for an in-memory table and in the meantime create index on it |
|
Ø T.len() |
Get the number of records in an in-memory table |
Convert a table sequence to an in-memory table |
|
Generate an in-memory table from an entity table |
|
Return a table sequence/cursor consisting of the specified fields according to the correspondence between the composite table’s key (/dimension) and the corresponding field in the table sequence/cursor |
|
Return a table sequence/cursor consisting of the specified fields according to the correspondence between the table sequence/cursor’s key and the corresponding field in the composite table |
|
Define an association computation between a pseudo table and a cursor/record sequence through the join key on a pseudo table |
|
Segment a pseudo table according to the segmentation way of another |
|
Rename fields in an entity table or distributed table |
|
Define value assignment operation on a pseudo table and return a new pseudo table |
|
Define a record filtering operation on a pseudo table and return a new pseudo table |
|
Define a record filtering operation on a pseudo table, return a new pseudo table, and write ineligible records to a bin file |
|
Define a field value switching operation on a pseudo table and return a new pseudo table |
|
Update records in an entity table |
|
Update records in a pseudo table |
|
Return an attached table’s records as a sub table sequence |