Package org.pgcodekeeper.core.schema
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
Interface for database relations (tables, views, sequences).
Represents objects that can be used in queries and have column information.
-
Method Summary
Modifier and TypeMethodDescriptionGets the columns of this relation as name-type pairs.Methods inherited from interface org.pgcodekeeper.core.schema.ISearchPath
getContainingSchema, getDatabase, getSchemaNameMethods inherited from interface org.pgcodekeeper.core.schema.IStatement
getBareName, getComment, getName, getParent, getQualifiedName, getStatementType
-
Method Details
-
getRelationColumns
Gets the columns of this relation as name-type pairs.- Returns:
- a stream of column name and type pairs
-