-
- All Superinterfaces:
QueryPart
,Serializable
public interface Comment extends QueryPart
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 theComment
type.Example:
// Assuming import static org.jooq.impl.DSL.*; using(configuration) .commentOnTable(TABLE) .is(comment("My Comment")) .execute();
Instances can be created using
DSL.comment(String)
and overloads.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull String
$comment()
Experimental query object model accessor method, see alsoQOM
.String
getComment()
Get the comment.
-