public class MysqlSQLHashExpression extends java.lang.Object implements SQLExpression<java.lang.String>
Constructor and Description |
---|
MysqlSQLHashExpression(Hash h,
SQLExpression<java.lang.String> inner) |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, groupingIsomorphic, hashCode
addGroup, checkContentsCanGroup, getGroupParameters
public MysqlSQLHashExpression(Hash h, SQLExpression<java.lang.String> inner) throws CannotUseSQLException
h
- Hash
to applyinner
- SQLExpression
expression to hashCannotUseSQLException
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.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 SQLFilter getRequiredFilter()
SQLValue
getRequiredFilter
in interface SQLValue<java.lang.String>
public java.lang.Class<java.lang.String> getTarget()
Targetted