Skip to main content
Version: Java (Groovy)

longCol

The longCol method creates a column containing Java primitive long values.

note

This method is commonly used with newTable to create tables.

Syntax

longCol(name, data...)

Parameters

ParameterTypeDescription
nameString

The name of the new column.

datalong...

The column values.

Returns

A ColumnHolder.

Example

The following examples use newTable to create a table with a single column of longs named Longs.

result = newTable(
longCol("Longs", 10000000, 987654321, -314159265)
)