记录类 SQLColumn
java.lang.Object
java.lang.Record
cn.yingyya.next.moment.api.database.sql.SQLColumn
-
构造器概要
构造器构造器说明SQLColumn(@NotNull String name, @NotNull SQLColumnType type, int length) 创建SQLColumn记录类的实例。 -
方法概要
修饰符和类型方法说明@Nullable SQLValuefinal boolean指示某个其他对象是否“等于”此对象。@NotNull StringformatType(@NotNull DataBaseType type) @NotNull Stringfinal inthashCode()返回此对象的哈希代码值。intlength()返回length记录组件的值。@NotNull Stringname()返回name记录组件的值。static @NotNull SQLColumnof(@NotNull String name, @NotNull SQLColumnType type) static @NotNull SQLColumnof(@NotNull String name, @NotNull SQLColumnType type, int length) final StringtoString()返回此记录类的字符串表示形式。@NotNull SQLColumnTypetype()返回type记录组件的值。
-
构造器详细资料
-
SQLColumn
创建SQLColumn记录类的实例。- 参数:
name-name记录组件的值type-type记录组件的值length-length记录组件的值
-
-
方法详细资料
-
of
@NotNull public static @NotNull SQLColumn of(@NotNull @NotNull String name, @NotNull @NotNull SQLColumnType type, int length) -
of
@NotNull public static @NotNull SQLColumn of(@NotNull @NotNull String name, @NotNull @NotNull SQLColumnType type) -
name
-
type
-
asValue
-
getNameEscaped
-
formatType
-
toString
-
hashCode
-
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 使用Objects::equals(Object,Object)对参考组件进行比较;使用 '==' 对基元组件进行比较 -
length
public int length()返回length记录组件的值。- 返回:
length记录组件的值
-