T
- type of nested SQLValueR
- type of returned objectpublic class LabellerSQLValue<T,R> extends java.lang.Object implements NestedSQLValue<R,T>
Constructor and Description |
---|
LabellerSQLValue(AppContext c,
Labeller<T,R> labeller,
SQLValue<T> nested) |
Modifier and Type | Method and Description |
---|---|
int |
add(java.lang.StringBuilder sb,
boolean qualify)
Add the expression to a StringBuilder
|
SQLValue<T> |
getNested() |
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<R> |
getTarget()
Get the type of the returned object as far as it is known.
|
boolean |
groupingIsomorphic()
Is there always a one-to-one mapping between groups and values
|
R |
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, wait
addGroup, checkContentsCanGroup, getGroupParameters
public java.lang.Class<R> getTarget()
Targetted
public int add(java.lang.StringBuilder sb, boolean qualify)
SQLValue
public java.util.List<PatternArgument> getParameters(java.util.List<PatternArgument> list)
SQLValue
getParameters
in interface SQLValue<R>
list
- to modifypublic R makeObject(java.sql.ResultSet rs, int pos) throws DataException, java.sql.SQLException
SQLValue
makeObject
in interface SQLValue<R>
rs
- ResultSetDataException
java.sql.SQLException
public SQLFilter getRequiredFilter()
SQLValue
getRequiredFilter
in interface NestedSQLValue<R,T>
getRequiredFilter
in interface SQLValue<R>
public java.lang.String toString()
toString
in class java.lang.Object
public final boolean groupingIsomorphic()
GroupingSQLValue
groupingIsomorphic
in interface GroupingSQLValue<R>
groupingIsomorphic
in interface NestedSQLValue<R,T>