T - public class SQLSelectValue<T> extends java.lang.Object implements GroupingSQLValue<T>
| Constructor and Description |
|---|
SQLSelectValue(java.lang.Class<T> target,
SQLValue<T>[] accessors) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(java.lang.StringBuilder sb,
boolean qualify)
Add the expression to a StringBuilder
|
int |
addGroup(java.lang.StringBuilder sb,
boolean qualify)
Add the group-by clause to a query.
|
boolean |
checkContentsCanGroup()
return false if this instance is not able to perform grouping.
|
java.util.List<PatternArgument> |
getGroupParameters(java.util.List<PatternArgument> list)
Get the parameters for a group-by clause.
|
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<T> |
getTarget()
Get the type of the returned object as far as it is known.
|
T |
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, waitgroupingIsomorphicpublic java.lang.Class<T> 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<T>list - to modifypublic T makeObject(java.sql.ResultSet rs, int pos) throws DataException, java.sql.SQLException
SQLValuemakeObject in interface SQLValue<T>rs - ResultSetDataExceptionjava.sql.SQLExceptionpublic SQLFilter getRequiredFilter()
SQLValuegetRequiredFilter in interface SQLValue<T>public int addGroup(java.lang.StringBuilder sb,
boolean qualify)
GroupingSQLValueaddGroup in interface GroupingSQLValue<T>public java.util.List<PatternArgument> getGroupParameters(java.util.List<PatternArgument> list)
GroupingSQLValuegetGroupParameters in interface GroupingSQLValue<T>public boolean checkContentsCanGroup()
GroupingSQLValuecheckContentsCanGroup in interface GroupingSQLValue<T>