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, wait
addGroup, checkContentsCanGroup, getGroupParameters, getRequiredFilter
public SQLValuePatternTransform(AppContext conn, java.lang.String tag, SQLValue<java.lang.String> base)
public AppContext getContext()
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<java.lang.String>
list
- to modifypublic java.lang.Class<java.lang.String> getTarget()
Targetted
public java.lang.String makeObject(java.sql.ResultSet rs, int pos) throws DataException, java.sql.SQLException
SQLValue
makeObject
in interface SQLValue<java.lang.String>
rs
- ResultSetDataException
java.sql.SQLException
public SQLValue<java.lang.String> getNested()
getNested
in interface NestedSQLValue<java.lang.String,java.lang.String>
public final boolean groupingIsomorphic()
GroupingSQLValue
groupingIsomorphic
in interface GroupingSQLValue<java.lang.String>
groupingIsomorphic
in interface NestedSQLValue<java.lang.String,java.lang.String>