Skip to main content
Version: Java (Groovy)

byteCol

The byteCol method creates a column containing Java primitive byte values.

note

This method is commonly used with newTable to create tables.

Syntax

byteCol(name, data...)

Parameters

ParameterTypeDescription
nameString

The name of the new column.

databyte...

The column values.

Returns

A ColumnHolder.

Example

The following examples use newTable to create a table with a single column of bytes named Bytes.

result = newTable(
byteCol("Bytes", (byte)1, (byte)2, (byte)3, (byte)4)
)