Composite-Table-Related Functions

The following are composite-table-related functions that handle computations over composite tables that are unique in esProc.

Ø  C

A column in a table, its parent table, or a table above them

Ø  channel(cs)

Create a cluster channel and push data in a specified cluster cursor into it

Ø  channel(ch)

Create a cluster channel and push data in another cluster channel into it

Ø  cs.fetch()

Fetch data from a distributed cursor

Ø  cs.group()

Group a cluster cursor by comparing each record with its next neighbor

Ø  cs.group(x:F,...;y:G,...)

Group a cluster cursor by comparing each record with its next neighbor and then aggregate each group

Ø  cs.groups()

Group the records in a cluster cursor

Ø  cs.groupx()

Group records in a cluster cursor and return result as a synchronously segmented cluster cursor

Ø  cs.join()

A foreign-key-style join between a cluster cursor and a record sequence

Ø  cs.joinx()

Join up a cursor and an entity table by the foreign key

Ø  cs.memory()

Generate a memory table from a cursor

Ø  cs.memory()

Generate a cluster memory table from a cluster cursor

Ø  cs.sortx()

Sort data in a cluster cursor

Ø  cs.switch()

Replace values of a specified field in a cluster cursor with the referencing field values of the corresponding record in another table

Ø  f.append()

Concatenate two same-structure composite tables

Ø  f.create()

Open a composite table

Ø  f.create()

Open a cluster composite table

Ø  f.create(C:b1,;K:b2;pw:pr)

Generate a composite table’s base table from a file

Ø  f.create(C:b1;...;K:b2;pw:pr;x)

Generate a cluster composite table’s base table from a distributed file

Ø  f.reset()

Copy a composite table file to another composite table file

Ø  f.rollback()

Restore a composite table file to the previous state when update error happens

Ø  file(fn,h)

Generate a cluster file from a remote composite table file

Ø  joinx()

Join multiple synchronously segmented cluster cursors/multicursors

Ø  k{}

Get certain bytes from a serial byte to form a single-byte serial byte

Ø  k1+k2

Concatenate serial bytes

Ø  k.row

Find one or more records from a memory table according to specified key value(s)

Ø  memory()

Generate a cluster memory table from a local memory table

Ø  T.append(cs)

Append records in a cursor/distributed cursor to an attached entity table

Ø  T.attach(T’)

Retrieve an attached table from a cluster composite table

Ø  T.attach(T’,C)

Add an attached table to a composite table’s base table

Ø  T.C

Retrieve a specified column from an attached table

Ø  T.cgroups()

Perform grouping and aggregation over a pre-summarized data cube

Ø  T.close()

Close a composite table file

Ø  T.cuboid()

Store the result set of grouping an entity table as a pre-summarized data cube

Ø  T.cursor(x:C,;wi,...;k:n)

Segment an entity table and return the cursor of a specified segment

Ø  T.cursor(x,...;wi,...)

Return one or more specified columns of a cluster entity table/cluster memory table as a cluster cursor

Ø  T.cursor(x:C,...;wi,...;mcs)

Synchronously segment an entity table according to a multicursor and return a multicursor

Ø  T.cursor(x:C,...;wi,...;mcs)

Synchronously segment a cluster entity table according to a cluster multicursor and return a cluster multicursor

Ø  T.cursor(C,;wi,...;k:n)

Segment a memory table/cluster memory table and return cursor of the specified segment

Ø  T.cursor(...;w;mcs)

Divide a memory table in sync with a memory multicursor and return it also as a memory multicursor

Ø  T.delete(P)

Delete specified record(s) from an entity table

Ø  T.delete(P)

Delete specified record(s) from a memory table

Ø  T.delete(P)

Delete specified records from a cluster table

Ø  T.derive()

Add fields of a composite table to a table sequence/cursor according to the latter's key values

Ø  T.derive()

Add fields of a cluster composite table to a table sequence/cursor according to the latter's key values

Ø  T.dup()

Join up cluster memory table into a local memory table

Ø  T.dup(h)

Copy a local memory table onto nodes to create a duplicate cluster memory table

Ø  T.f(C)

Perform an aggregate operation over an attached table’s column

Ø  T.find(k,…)

Find the record(s) according to the specified primary key value(s) from a memory table

Ø  T.find(k;x:C,...)

Find the record(s) according to the specified primary key value(s) from the base table

Ø  T.icursor(C,;w,I)

Use index to filter an entity table according to the filtering condition

Ø  T.icursor(C,...;w,I)

Use index to filter a cluster table according to the filtering condition

Ø  T.import()

Read in records from an entity table and return them as a sequence, record sequence or table sequence

Ø  T.index(I:h,w;C,…;F,…)

Create an index file for an entity table

Ø  T.index(n)

Create an index for the key of a memory table

Ø  T.keys()

Define the key(s) for a memory table

Ø  T.len()

Get the number of records in a memory table

Ø  T.memory()

Convert a compressed memory table into an uncompressed one

Ø  T.memory(C,…;w)

Generate a memory table from an entity table

Ø  T.memory(C,…;w)

Generate a cluster memory table from a cluster entity table

Ø  T.new(A/cs,x:C,...;wi,…)

Retrieve non-key fields from a composite table according to key values of a table sequence/record sequence or a cursor and return a table sequence or a cursor

Ø  T.new(A/cs,x:C,...;wi,…)

Retrieve non-key fields from a cluster composite table according to key values of a table sequence/record sequence or a cursor and return a table sequence or a cluster multcursor

Ø  T.news(A/cs,x:C,...;wi,...)

Retrieve fields from a table sequence or a cursor according to key values to form a new table sequence

Ø  T.rename(F:F’,…)

Modify a field name or the index name

Ø  T.update(P)

Update records in an entity table

Ø  T.update(P)

Update records in a memory table

Ø  T.update(P)

Update records in a cluster composite table

Ø  T{x:C,...}

Return an attached table’s records as a sub table sequence