T - type of nested SQLExpressionpublic class StringConvertSQLExpression<T> extends java.lang.Object implements SQLExpression<java.lang.String>
SQLExpression that converts an SQLExpression of a different type to a string| Constructor and Description |
|---|
StringConvertSQLExpression(SQLExpression<T> a) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(java.lang.StringBuilder sb,
boolean qualify)
Add the expression to a StringBuilder
|
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.String> |
getTarget()
Get the type of the returned object as far as it is known.
|
java.lang.String |
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, waitequals, groupingIsomorphic, hashCodeaddGroup, checkContentsCanGroup, getGroupParameterspublic StringConvertSQLExpression(SQLExpression<T> a)
public 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.String>list - to modifypublic java.lang.String makeObject(java.sql.ResultSet rs,
int pos)
throws java.sql.SQLException
SQLValuemakeObject in interface SQLValue<java.lang.String>rs - ResultSetjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic SQLFilter getRequiredFilter()
SQLValuegetRequiredFilter in interface SQLValue<java.lang.String>public java.lang.Class<java.lang.String> getTarget()
Targetted