public abstract class SqlFromDateType extends SqlDefaultType
logger| Constructor and Description |
|---|
SqlFromDateType() |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getClassTypes()
Returns the list of Java class types related to this META type.
|
String[] |
getMetaTypes()
Returns the list of names of this META type.
|
void |
setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
boolean ingoreError,
Class<?>... inputTypes)
Binds an input value to a named query parameter.
|
void |
setResult(SqlRuntimeContext runtimeCtx,
Object pojo,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution.
|
addScalar, getClassTypesForDefaultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddScalarEntryLog, error, getProviderSqlType, setParameterEntryLog, setResultEntryLogpublic Class<?>[] getClassTypes()
public String[] getMetaTypes()
public void setResult(SqlRuntimeContext runtimeCtx, Object pojo, String attributeName, Object resultValue, boolean ingoreError)
setResult in interface SqlMetaTypesetResult in class SqlDefaultTyperuntimeCtx - the runtimeCtx contextpojo - the instance of the result classattributeName - the name of the attribute in the result classresultValue - the query execution output valueingoreError - ignore improper output value handlingpublic void setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, boolean ingoreError, Class<?>... inputTypes) throws SqlRuntimeException
setParameter in interface SqlMetaTypesetParameter in class SqlDefaultTyperuntimeCtx - the runtimeCtx contextquery - the SQL Engine query, an adapter or proxy to the internal JDBC or ORM staffparamName - the name of the parameteringoreError - ignore improper input value handlinginputTypes - the Java types of the attribute in the input POJOSqlRuntimeException - in the case of any problem with the input values handlingCopyright © 2017. All rights reserved.