本文整理了Java中com.avaje.ebean.Query.copy
方法的一些代码示例,展示了Query.copy
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.copy
方法的具体详情如下:
包路径:com.avaje.ebean.Query
类名称:Query
方法名:copy
[英]Return a copy of the query.
This is so that you can use a Query as a "prototype" for creating other query instances. You could create a Query with various where expressions and use that as a "prototype" - using this copy() method to create a new instance that you can then add other expressions then execute.
[中]
代码示例来源:origin: org.actframework/act-ebean-java7
@Override
public EbeanQuery<MODEL_TYPE> copy() {
EbeanQuery<MODEL_TYPE> copy = new EbeanQuery<>();
copy.q = q.copy();
copy.qReadOnly = qReadOnly.copy();
return copy;
}
代码示例来源:origin: com.typesafe.play/play-java-ebean
/**
* Copies this query.
*/
public Query<T> copy() {
return query().copy();
}
内容来源于网络,如有侵权,请联系作者删除!