open()

Here’s how to use open() functions.

f.open()

Description:

Open a composite table’s base table

Syntax:

f.open()

Note:

The function opens composite table f’s base table, or a multi-zone composite table when f is a homo-name files group.

Parameters:

f

A composite table file or a homo-name files group

Return value:

An entity table

Example:

 

A

 

1

=file("1.emp.ctx")

 

2

=A1.open()

Open base table of composite table 1.emp.ctx

3

=file("emp.ctx":[1,2])

 

4

=A3.open()

Open a multi-zone composite table

f.open()

Description:

Generate a cluster table from a cluster file.

Syntax:

f.open(p)

Note:

Then function opens cluster file f and generates a cluster able based on f.

Parameters:

f

A cluster file; support only the composite table file

Return value:

A cluster table

Example:

 

A

 

1

=file("employee.ctx",["192.168.0.104:8281"])

Open a cluster file

2

=A1.open("11")

Generate a cluster table based on it