public enum NullSql extends Enum<NullSql> implements PreparedStatementCallback
| Enum Constant and Description |
|---|
BIGINT |
BLOB |
BOOLEAN |
CHAR |
CLOB |
DATE |
DATETIME |
DECIMAL |
INTEGER |
SMALL |
TIME |
TIMESTAMP |
TINY |
UNKNOWN |
VARCHAR |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(PreparedStatement ps,
int columnIndex) |
int |
getType() |
String |
toString() |
static NullSql |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullSql[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullSql UNKNOWN
public static final NullSql BOOLEAN
public static final NullSql CHAR
public static final NullSql VARCHAR
public static final NullSql BIGINT
public static final NullSql TINY
public static final NullSql SMALL
public static final NullSql INTEGER
public static final NullSql DECIMAL
public static final NullSql TIME
public static final NullSql DATE
public static final NullSql DATETIME
public static final NullSql TIMESTAMP
public static final NullSql CLOB
public static final NullSql BLOB
public static NullSql[] values()
for (NullSql c : NullSql.values()) System.out.println(c);
public static NullSql 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 int getType()
public void execute(PreparedStatement ps, int columnIndex) throws SQLException
execute in interface PreparedStatementCallbackSQLExceptionCopyright © 2019. All rights reserved.