Skip to main content
Version: Java (Groovy)

getDefinition

The getDefinition method returns the source table's TableDefinition.

Syntax

table.getDefinition()

Parameters

This method takes no arguments.

Returns

The source table's TableDefinition.

Examples

source = newTable(
stringCol("Title", "content"),
stringCol("ColumnName", "column_content"),
stringCol("AnotherColumn", "string"),
)

println source.getDefinition()