本文整理了Java中io.ebean.Query.getExpressionFactory
方法的一些代码示例,展示了Query.getExpressionFactory
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getExpressionFactory
方法的具体详情如下:
包路径:io.ebean.Query
类名称:Query
方法名:getExpressionFactory
[英]Return the ExpressionFactory used by this query.
[中]返回此查询使用的ExpressionFactory。
代码示例来源:origin: ebean-orm/ebean
public DefaultExpressionList(Query<T> query, ExpressionList<T> parentExprList) {
this(query, query.getExpressionFactory(), parentExprList);
}
代码示例来源:origin: ebean-orm/ebean
/**
* Construct for Text root expression list - this handles implicit Bool Should, Must etc.
*/
public DefaultExpressionList(Query<T> query) {
this(query, query.getExpressionFactory(), null, new ArrayList<>(), true);
}
代码示例来源:origin: ebean-orm/ebean
/**
* Return the expressions used to filter on this path. This should be a many path to use this
* method.
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public <T> SpiExpressionList<T> filterMany(Query<T> rootQuery) {
if (filterMany == null) {
FilterExprPath exprPath = new FilterExprPath(path);
SpiExpressionFactory queryEf = (SpiExpressionFactory) rootQuery.getExpressionFactory();
ExpressionFactory filterEf = queryEf.createExpressionFactory();// exprPath);
filterMany = new FilterExpressionList(exprPath, filterEf, rootQuery);
// by default we need to make this a 'query join' now
markForQueryJoin = true;
}
return filterMany;
}
代码示例来源:origin: org.actframework/act-ebean2
@Override
public ExpressionFactory getExpressionFactory() {
return q.getExpressionFactory();
}
代码示例来源:origin: org.actframework/act-ebean
@Override
public ExpressionFactory getExpressionFactory() {
return qReadOnly.getExpressionFactory();
}
代码示例来源:origin: io.ebean/ebean
public DefaultExpressionList(Query<T> query, ExpressionList<T> parentExprList) {
this(query, query.getExpressionFactory(), parentExprList);
}
代码示例来源:origin: io.ebean/ebean
/**
* Construct for Text root expression list - this handles implicit Bool Should, Must etc.
*/
public DefaultExpressionList(Query<T> query) {
this(query, query.getExpressionFactory(), null, new ArrayList<>(), true);
}
代码示例来源:origin: icode/ameba
/**
* Returns the <code>ExpressionFactory</code> used by this query.
*
* @return a {@link io.ebean.ExpressionFactory} object.
*/
public ExpressionFactory getExpressionFactory() {
return query().getExpressionFactory();
}
代码示例来源:origin: io.ebean/ebean
/**
* Return the expressions used to filter on this path. This should be a many path to use this
* method.
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public <T> SpiExpressionList<T> filterMany(Query<T> rootQuery) {
if (filterMany == null) {
FilterExprPath exprPath = new FilterExprPath(path);
SpiExpressionFactory queryEf = (SpiExpressionFactory) rootQuery.getExpressionFactory();
ExpressionFactory filterEf = queryEf.createExpressionFactory();// exprPath);
filterMany = new FilterExpressionList(exprPath, filterEf, rootQuery);
// by default we need to make this a 'query join' now
markForQueryJoin = true;
}
return filterMany;
}
内容来源于网络,如有侵权,请联系作者删除!