Table information

The Genero BDL API for GGC provides functions for retrieving information about tables.

Table 1. Functions for retrieving information about tables
Function Description
getColumnCount(
   tableName  STRING )
  RETURNS INTEGER 
Get the number of columns in a table.
getColumnName(
   tableName  STRING, 
   idx INTEGER  )
  RETURNS STRING
Get a table column name.
getCurrentColumn(
   tableName  STRING )
  RETURNS INTEGER 
Get the current column in a table.
getCurrentRow(
   tableName  STRING )
  RETURNS INTEGER
Get the current row of the table.
getTableOffset(
  tableName  STRING)
  RETURNS INTEGER
Get the table's current offset value.
getTableSize(
  tableName  STRING)
  RETURNS INTEGER
Get the table size.