public static enum ResultColumn.ColumnNullable extends Enum<ResultColumn.ColumnNullable>
| Enum Constant and Description | 
|---|
NO_NULLS
列不允许有null 
 | 
NULLABLE
列允许有null 
 | 
UNKNOWN
未知 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getValue()
获取枚举值,即列null值选项代码 
 | 
static ResultColumn.ColumnNullable | 
of(int nullable)
ResultSetMetaData中的int值转枚举 
 | 
static ResultColumn.ColumnNullable | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ResultColumn.ColumnNullable[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ResultColumn.ColumnNullable NO_NULLS
public static final ResultColumn.ColumnNullable NULLABLE
public static final ResultColumn.ColumnNullable UNKNOWN
public static ResultColumn.ColumnNullable[] values()
for (ResultColumn.ColumnNullable c : ResultColumn.ColumnNullable.values()) System.out.println(c);
public static ResultColumn.ColumnNullable valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ResultColumn.ColumnNullable of(int nullable)
nullable - nullable值public int getValue()
Copyright © 2025. All rights reserved.