Interface IRelation

All Superinterfaces:
ISearchPath, IStatement
All Known Subinterfaces:
IForeignTable, IPartitionTable, ISequence, ITable, IView
All Known Implementing Classes:
ChDictionary, ChTable, ChTableLog, ChView, GpExternalTable, GpPartitionTable, MetaRelation, MsAbstractStatementContainer, MsSequence, MsTable, MsView, PgAbstractForeignTable, PgAbstractRegularTable, PgAbstractStatementContainer, PgAbstractTable, PgAbstractView, PgMaterializedView, PgPartitionForeignTable, PgPartitionTable, PgSequence, PgSimpleForeignTable, PgSimpleTable, PgTypedTable, PgView

public interface IRelation extends ISearchPath
Interface for database relations (tables, views, sequences). Represents objects that can be used in queries and have column information.
  • Method Details

    • getRelationColumns

      Stream<Pair<String,String>> getRelationColumns()
      Gets the columns of this relation as name-type pairs.
      Returns:
      a stream of column name and type pairs