newTable

The newTable method creates an in-memory table from a list of columns. Each column must have an equal number of elements.

Syntax

Parameters

ParameterTypeDescription
columnHoldersColumnHolder...

A list of columnHolders from which to create the new table.

Columns are created using the following methods:

namesString...

A list of column names.

sizelong

The number of rows to allocate.

columnsMap

A Map of column names and ColumnSources.

definitionTableDefinition

The TableDefinition (column names and properties) to use for the new table.

Returns

An in-memory table.

Examples

The following example creates a table with one column of three integer values.

The following example creates a table with a double and a string column.