public class MillisecondSQLValue extends java.lang.Object implements NestedSQLValue<java.lang.Long,java.util.Date>
| Constructor and Description |
|---|
MillisecondSQLValue(SQLValue<java.util.Date> a) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(java.lang.StringBuilder sb,
boolean qualify)
Add the expression to a StringBuilder
|
SQLValue<java.util.Date> |
getNested() |
java.util.List<PatternArgument> |
getParameters(java.util.List<PatternArgument> list)
Add parameters for this value to a list.
|
java.lang.Class<java.lang.Long> |
getTarget()
Get the type of the returned object as far as it is known.
|
java.lang.Long |
makeObject(java.sql.ResultSet rs,
int pos)
Extract a result of the expression from a ResultSet into an object of the specified type.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddGroup, checkContentsCanGroup, getGroupParameters, getRequiredFilter, groupingIsomorphicpublic MillisecondSQLValue(SQLValue<java.util.Date> a)
public java.lang.Class<java.lang.Long> getTarget()
Targettedpublic java.lang.String toString()
toString in class java.lang.Objectpublic int add(java.lang.StringBuilder sb,
boolean qualify)
SQLValuepublic java.util.List<PatternArgument> getParameters(java.util.List<PatternArgument> list)
SQLValuegetParameters in interface SQLValue<java.lang.Long>list - to modifypublic java.lang.Long makeObject(java.sql.ResultSet rs,
int pos)
throws DataException,
java.sql.SQLException
SQLValuemakeObject in interface SQLValue<java.lang.Long>rs - ResultSetDataExceptionjava.sql.SQLExceptionpublic SQLValue<java.util.Date> getNested()
getNested in interface NestedSQLValue<java.lang.Long,java.util.Date>