public enum StringFromResultSet extends Enum<StringFromResultSet> implements IFromResultSet<String,StringColumnBuilder>
ResultSet into a
StringColumnBuilder:
| Enum Constant and Description |
|---|
STRING_FROM_NSTRING
Reads a string from the
ResultSet using
ResultSet.getNString(int), and adds it to the builder using
ColumnBuilder.add(String) |
STRING_FROM_STRING
Reads a string from the
ResultSet using
ResultSet.getString(int), and adds it to the builder using
ColumnBuilder.add(String) |
| Modifier and Type | Method and Description |
|---|---|
ColumnType<String> |
getColumnType()
|
static StringFromResultSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringFromResultSet[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetpublic static final StringFromResultSet STRING_FROM_STRING
ResultSet using
ResultSet.getString(int), and adds it to the builder using
ColumnBuilder.add(String)public static final StringFromResultSet STRING_FROM_NSTRING
ResultSet using
ResultSet.getNString(int), and adds it to the builder using
ColumnBuilder.add(String)public static StringFromResultSet[] values()
for (StringFromResultSet c : StringFromResultSet.values()) System.out.println(c);
public static StringFromResultSet 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 ColumnType<String> getColumnType()
IFromResultSetgetColumnType in interface IFromResultSet<String,StringColumnBuilder>ColumnType used to create the ColumnBuilderCopyright © 2020. All rights reserved.