public class SQLValuePatternTransform extends java.lang.Object implements NestedSQLValue<java.lang.String,java.lang.String>
| Constructor and Description |
|---|
SQLValuePatternTransform(AppContext conn,
java.lang.String tag,
SQLValue<java.lang.String> base) |
| Modifier and Type | Method and Description |
|---|---|
int |
add(java.lang.StringBuilder sb,
boolean qualify)
Add the expression to a StringBuilder
|
AppContext |
getContext() |
SQLValue<java.lang.String> |
getNested() |
java.util.List<PatternArgument> |
getParameters(java.util.List<PatternArgument> list)
Add parameters for this value to a list.
|
java.lang.Class<java.lang.String> |
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
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddGroup, checkContentsCanGroup, getGroupParameters, getRequiredFilterpublic SQLValuePatternTransform(AppContext conn, java.lang.String tag, SQLValue<java.lang.String> base)
public AppContext getContext()
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.Class<java.lang.String> getTarget()
Targettedpublic java.lang.String makeObject(java.sql.ResultSet rs,
int pos)
throws DataException,
java.sql.SQLException
SQLValuemakeObject in interface SQLValue<java.lang.String>rs - ResultSetDataExceptionjava.sql.SQLExceptionpublic SQLValue<java.lang.String> getNested()
getNested in interface NestedSQLValue<java.lang.String,java.lang.String>public final boolean groupingIsomorphic()
GroupingSQLValuegroupingIsomorphic in interface GroupingSQLValue<java.lang.String>groupingIsomorphic in interface NestedSQLValue<java.lang.String,java.lang.String>