Class PgViewResultSetMetaData

java.lang.Object
oracle.pg.rdbms.pgql.pgview.PgViewResultSetMetaData
All Implemented Interfaces:
oracle.pgql.lang.ResultSetMetaData

public class PgViewResultSetMetaData extends Object implements oracle.pgql.lang.ResultSetMetaData
This class describes column meta data for a PGQL query result.
  • Method Details

    • getColumnCount

      public int getColumnCount()
      Gets the total number of columns in the query result.
      Specified by:
      getColumnCount in interface oracle.pgql.lang.ResultSetMetaData
      Returns:
      the total number of columns
    • getColumnName

      public String getColumnName(int column)
      Gets the name of the column at the given offset starting from 1
      Specified by:
      getColumnName in interface oracle.pgql.lang.ResultSetMetaData
      Parameters:
      column - the offset of the column, numbering starts from 1
      Returns:
      the column name