Interface IRelation

All Superinterfaces:
ISearchPath, IStatement
All Known Implementing Classes:
AbstractForeignTable, AbstractPgTable, AbstractPgView, AbstractRegularTable, AbstractSequence, AbstractTable, AbstractView, ChDictionary, ChTable, ChTableLog, ChView, GpExternalTable, MaterializedPgView, MetaRelation, MsSequence, MsTable, MsView, PartitionForeignPgTable, PartitionGpTable, PartitionPgTable, PgSequence, PgStatementContainer, PgView, SimpleForeignPgTable, SimplePgTable, TypedPgTable

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