本文整理了Java中de.greenrobot.dao.query.Query.create
方法的一些代码示例,展示了Query.create
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.create
方法的具体详情如下:
包路径:de.greenrobot.dao.query.Query
类名称:Query
方法名:create
暂无
代码示例来源:origin: org.greenrobot/greendao-encryption
/** For internal use by greenDAO only. */
public static <T2> Query<T2> internalCreate(AbstractDao<T2, ?> dao, String sql, Object[] initialValues) {
return create(dao, sql, initialValues, -1, -1);
}
代码示例来源:origin: de.greenrobot/greendao
/** For internal use by greenDAO only. */
public static <T2> Query<T2> internalCreate(AbstractDao<T2, ?> dao, String sql, Object[] initialValues) {
return create(dao, sql, initialValues, -1, -1);
}
代码示例来源:origin: de.greenrobot/greendao
/**
* Builds a reusable query object (Query objects can be executed more efficiently than creating a QueryBuilder for
* each execution.
*/
public Query<T> build() {
StringBuilder builder = createSelectBuilder();
int limitPosition = checkAddLimit(builder);
int offsetPosition = checkAddOffset(builder);
String sql = builder.toString();
checkLog(sql);
return Query.create(dao, sql, values.toArray(), limitPosition, offsetPosition);
}
代码示例来源:origin: org.greenrobot/greendao-encryption
/**
* Builds a reusable query object (Query objects can be executed more efficiently than creating a QueryBuilder for
* each execution.
*/
public Query<T> build() {
StringBuilder builder = createSelectBuilder();
int limitPosition = checkAddLimit(builder);
int offsetPosition = checkAddOffset(builder);
String sql = builder.toString();
checkLog(sql);
return Query.create(dao, sql, values.toArray(), limitPosition, offsetPosition);
}
内容来源于网络,如有侵权,请联系作者删除!