Package org.pgcodekeeper.core.schema
Interface ISearchPath
- All Superinterfaces:
IStatement
- All Known Subinterfaces:
IConstraint,IConstraintFk,IConstraintPk,IFunction,IOperator,IRelation,SourceStatement
- All Known Implementing Classes:
AbstractColumn,AbstractConstraint,AbstractForeignTable,AbstractFunction,AbstractIndex,AbstractMsClrFunction,AbstractMsFunction,AbstractPgFunction,AbstractPgTable,AbstractPgView,AbstractRegularTable,AbstractSequence,AbstractStatistics,AbstractTable,AbstractTrigger,AbstractType,AbstractView,ChColumn,ChConstraint,ChDictionary,ChFunction,ChIndex,ChTable,ChTableLog,ChView,GpExternalTable,MaterializedPgView,MetaConstraint,MetaFunction,MetaOperator,MetaRelation,MsClrFunction,MsClrProcedure,MsColumn,MsConstraint,MsConstraintCheck,MsConstraintFk,MsConstraintPk,MsFunction,MsIndex,MsProcedure,MsSequence,MsStatistics,MsTable,MsTrigger,MsType,MsView,PartitionForeignPgTable,PartitionGpTable,PartitionPgTable,PgAggregate,PgBaseType,PgCollation,PgColumn,PgCompositeType,PgConstraint,PgConstraintCheck,PgConstraintExclude,PgConstraintFk,PgConstraintPk,PgDomain,PgEnumType,PgFtsConfiguration,PgFtsDictionary,PgFtsParser,PgFtsTemplate,PgFunction,PgIndex,PgOperator,PgPolicy,PgProcedure,PgRangeType,PgRule,PgSequence,PgShellType,PgStatementContainer,PgStatistics,PgTrigger,PgView,SimpleForeignPgTable,SimplePgTable,TypedPgTable
Interface for database objects that are contained within a schema and can be found via search path.
Provides methods for accessing the containing schema and database.
-
Method Summary
Modifier and TypeMethodDescriptionGets the schema that contains this object.default AbstractDatabaseGets the database that contains this object.default StringGets the name of the schema that contains this object.Methods inherited from interface org.pgcodekeeper.core.schema.IStatement
getBareName, getComment, getName, getParent, getQualifiedName, getStatementType
-
Method Details
-
getContainingSchema
ISchema getContainingSchema()Gets the schema that contains this object.- Returns:
- the containing schema
-
getSchemaName
Gets the name of the schema that contains this object.- Returns:
- the schema name
-
getDatabase
Gets the database that contains this object.- Specified by:
getDatabasein interfaceIStatement- Returns:
- the containing database
-