public class PostgresqlMillisecondConverter extends java.lang.Object implements SQLExpression<java.lang.Number>
| Constructor and Description |
|---|
PostgresqlMillisecondConverter(SQLExpression<java.util.Date> e) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(java.lang.StringBuilder sb,
boolean qualify)
Add the expression to a StringBuilder
|
boolean |
equals(java.lang.Object obj) |
java.util.List<PatternArgument> |
getParameters(java.util.List<PatternArgument> list)
Add parameters for this value to a list.
|
SQLFilter |
getRequiredFilter()
Get an SQLFilter required to be added to the filter set.
|
java.lang.Class<java.lang.Number> |
getTarget()
Get the type of the returned object as far as it is known.
|
int |
hashCode() |
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, finalize, getClass, notify, notifyAll, wait, wait, waitgroupingIsomorphicaddGroup, checkContentsCanGroup, getGroupParameterspublic PostgresqlMillisecondConverter(SQLExpression<java.util.Date> e)
public java.lang.Long makeObject(java.sql.ResultSet rs,
int pos)
throws DataException,
java.sql.SQLException
SQLValuemakeObject in interface SQLValue<java.lang.Number>rs - ResultSetDataExceptionjava.sql.SQLExceptionpublic 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.Number>list - to modifypublic java.lang.Class<java.lang.Number> getTarget()
Targettedpublic SQLFilter getRequiredFilter()
SQLValuegetRequiredFilter in interface SQLValue<java.lang.Number>public int hashCode()
hashCode in interface SQLExpression<java.lang.Number>hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface SQLExpression<java.lang.Number>equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object