Interface IStatement

All Known Subinterfaces:
ICast, IConstraint, IConstraintFk, IConstraintPk, IDatabase, IFunction, IOperator, IOptionContainer, IPartitionTable, IRelation, ISchema, ISearchPath, ISimpleOptionContainer, IStatementContainer, PgForeignOptionContainer, SourceStatement
All Known Implementing Classes:
AbstractColumn, AbstractConstraint, AbstractDatabase, AbstractForeignTable, AbstractFunction, AbstractIndex, AbstractMsClrFunction, AbstractMsFunction, AbstractPgFunction, AbstractPgTable, AbstractPgView, AbstractPolicy, AbstractRegularTable, AbstractSchema, AbstractSequence, AbstractStatistics, AbstractTable, AbstractTrigger, AbstractType, AbstractView, ChColumn, ChConstraint, ChDatabase, ChDictionary, ChFunction, ChIndex, ChPolicy, ChRole, ChSchema, ChTable, ChTableLog, ChUser, ChView, GpExternalTable, MaterializedPgView, MetaCast, MetaCompositeType, MetaConstraint, MetaFunction, MetaOperator, MetaRelation, MetaStatement, MsAssembly, MsClrFunction, MsClrProcedure, MsColumn, MsConstraint, MsConstraintCheck, MsConstraintFk, MsConstraintPk, MsDatabase, MsFunction, MsIndex, MsProcedure, MsRole, MsSchema, MsSequence, MsStatistics, MsTable, MsTrigger, MsType, MsUser, MsView, PartitionForeignPgTable, PartitionGpTable, PartitionPgTable, PgAggregate, PgBaseType, PgCast, PgCollation, PgColumn, PgCompositeType, PgConstraint, PgConstraintCheck, PgConstraintExclude, PgConstraintFk, PgConstraintPk, PgDatabase, PgDomain, PgEnumType, PgEventTrigger, PgExtension, PgForeignDataWrapper, PgFtsConfiguration, PgFtsDictionary, PgFtsParser, PgFtsTemplate, PgFunction, PgIndex, PgOperator, PgPolicy, PgProcedure, PgRangeType, PgRule, PgSchema, PgSequence, PgServer, PgShellType, PgStatement, PgStatementContainer, PgStatistics, PgTrigger, PgUserMapping, PgView, SimpleForeignPgTable, SimplePgTable, TypedPgTable

public interface IStatement
Base interface for all database statements and objects. Provides common functionality for identifying and accessing database objects.
  • Method Details

    • getName

      String getName()
      Gets the name of this statement.
      Returns:
      the statement name
    • getStatementType

      DbObjType getStatementType()
      Gets the type of this database object.
      Returns:
      the database object type
    • getDatabase

      AbstractDatabase getDatabase()
      Gets the database that contains this statement.
      Returns:
      the containing database
    • getParent

      IStatement getParent()
      Gets the parent statement that contains this statement.
      Returns:
      the parent statement, or null if this is a top-level object
    • getQualifiedName

      String getQualifiedName()
      Gets the fully qualified name of this statement.
      Returns:
      the qualified name
    • getComment

      String getComment()
      Gets the comment associated with this statement.
      Returns:
      the comment, or null if no comment is set
    • getBareName

      String getBareName()
      Gets the bare name without qualifiers or arguments.
      Returns:
      the bare name