Module org.jooq
Package org.jooq

Interface Comment

All Superinterfaces:
ColumnElement, QueryPart, Serializable

public interface Comment extends ColumnElement
A comment.

Most RDBMS support commenting (i.e. documenting) stored objects, such as Schema, Table, Field, and other objects. Such comments can be modelled in DDL statements as well as retrieved from meta data through the Comment type.


 // Assuming import static org.jooq.impl.DSL.*;

    .is(comment("My Comment"))

Instances can be created using DSL.comment(String) and overloads.

Lukas Eder
  • Method Details

    • getComment

      String getComment()
      Get the comment.
    • $comment

      @Experimental @NotNull @NotNull String $comment()
      Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.