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

public interface ISearchPath extends IStatement
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 Details

    • getContainingSchema

      ISchema getContainingSchema()
      Gets the schema that contains this object.
      Returns:
      the containing schema
    • getSchemaName

      default String getSchemaName()
      Gets the name of the schema that contains this object.
      Returns:
      the schema name
    • getDatabase

      default AbstractDatabase getDatabase()
      Gets the database that contains this object.
      Specified by:
      getDatabase in interface IStatement
      Returns:
      the containing database