本文整理了Java中com.bagri.core.model.Query.<init>
方法的一些代码示例,展示了Query.<init>
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.<init>
方法的具体详情如下:
包路径:com.bagri.core.model.Query
类名称:Query
方法名:<init>
[英]default constructor
[中]默认构造函数
代码示例来源:origin: dsukhoroslov/bagri
/**
* {@inheritDoc}
*/
@Override
public Query clone() {
return new Query(query, readOnly, xdmQuery.clone());
}
代码示例来源:origin: dsukhoroslov/bagri
@Override
public boolean addQuery(String query, boolean readOnly, QueryBuilder xdmQuery) {
return addQuery(new Query(query, readOnly, xdmQuery));
}
代码示例来源:origin: dsukhoroslov/bagri
@Override
public Query getCurrentQuery(final String query) throws XQException {
QueryBuilder qb = clnFinder.getQuery();
if (qb == null) {
// not 'collection' query?
// yes, it is 'document' or updating query, there is no QueryBuilder for it anyway!
return null;
}
return new Query(query, isQueryReadOnly(query), qb);
}
代码示例来源:origin: dsukhoroslov/bagri
@Override
public Query read(ObjectDataInput in) throws IOException {
return new Query(in.readUTF(),
in.readBoolean(),
(QueryBuilder) in.readObject());
}
内容来源于网络,如有侵权,请联系作者删除!