@Test public void testCreatingNonNullableColumn() { Column column = new Column("id", bigint(), NOT_NULL); assertTrue(column.isNotNull()); }
public boolean isNotNull() { return hints.contains(Hint.NOT_NULL); }
Column implements Copyable<Column> { public boolean isNotNull() { return hints.contains(Hint.NOT_NULL); } }
Column implements Copyable<Column> { public boolean isNotNull() { return hints.contains(Hint.NOT_NULL); } Column(String name, ColumnType type, Hint... hints);  Column(String name, ColumnType type, String defaultValue, Hint... hints);  Column(String name, ColumnType type, Sequence sequence, Hint... hints); private  Column(String name, ColumnType type, Sequence sequence, String defaultValueExpression, Hint... hints); }
Column implements Copyable<Column> { public boolean isNotNull() { return hints.contains(Hint.NOT_NULL); } Column(String name, ColumnType type, Hint... hints);  Column(String name, ColumnType type, String defaultValue, Hint... hints);  Column(String name, ColumnType type, Sequence sequence, Hint... hints); private  Column(String name, ColumnType type, Sequence sequence, String defaultValueExpression, Hint... hints); void modifyType(ColumnType newColumnType); void dropDefaultValue(); void modifyDefaultValue(String defaultValue); void modifyDefaultValue(Sequence sequence); boolean isIdentity(); boolean isAutoIncrement(); boolean isNotNull(); void addHint(Hint hint); void dropHint(Hint hint); Column rename(String newName); @Override Column copy(); @Override String toString(); }
Column implements Copyable<Column> { public boolean isNotNull() { return hints.contains(Hint.NOT_NULL); } Column(String name, ColumnType type, Hint... hints);  Column(String name, ColumnType type, String defaultValue, Hint... hints);  Column(String name, ColumnType type, Sequence sequence, Hint... hints); private  Column(String name, ColumnType type, Sequence sequence, String defaultValueExpression, Hint... hints); void modifyType(ColumnType newColumnType); void dropDefaultValue(); void modifyDefaultValue(String defaultValue); void modifyDefaultValue(Sequence sequence); boolean isIdentity(); boolean isAutoIncrement(); boolean isNotNull(); void addHint(Hint hint); void dropHint(Hint hint); Column rename(String newName); @Override Column copy(); @Override String toString();  }