public enum DateFromResultSet extends Enum<DateFromResultSet> implements IFromResultSet<LocalDate,DateColumnBuilder>
ResultSet into a
DateColumnBuilder:
| Enum Constant and Description |
|---|
DATE_FROM_DATE
Reads an
Date from the ResultSet using
ResultSet.getDate(int), and adds it to the builder using
DateColumnBuilder.add(int, int, int) |
DATE_FROM_INT
|
| Modifier and Type | Method and Description |
|---|---|
ColumnType<LocalDate> |
getColumnType()
|
static DateFromResultSet |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateFromResultSet[] |
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 DateFromResultSet DATE_FROM_DATE
Date from the ResultSet using
ResultSet.getDate(int), and adds it to the builder using
DateColumnBuilder.add(int, int, int)public static final DateFromResultSet DATE_FROM_INT
yyyymmdd int value from the ResultSet using
ResultSet.getInt(int). The yyyymmdd value is added to the
builder using DateColumnBuilder.add(int, int, int)public static DateFromResultSet[] values()
for (DateFromResultSet c : DateFromResultSet.values()) System.out.println(c);
public static DateFromResultSet 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<LocalDate> getColumnType()
IFromResultSetgetColumnType in interface IFromResultSet<LocalDate,DateColumnBuilder>ColumnType used to create the ColumnBuilderCopyright © 2020. All rights reserved.