public class DmlUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Object |
convert(Object val,
GridH2RowDescriptor desc,
Class<?> expCls,
int type)
Convert value to column's expected type by means of H2.
|
static boolean |
isBatched(SqlFieldsQuery qry)
Check whether query is batched.
|
public static Object convert(Object val, GridH2RowDescriptor desc, Class<?> expCls, int type) throws IgniteCheckedException
val - Source value.desc - Row descriptor.expCls - Expected value class.type - Expected column type to convert to.IgniteCheckedException - if failed.public static boolean isBatched(SqlFieldsQuery qry)
qry - Query.True if batched.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018