当前位置: 首页>>代码示例>>Java>>正文


Java QueryFactory类代码示例

本文整理汇总了Java中org.jongo.query.QueryFactory的典型用法代码示例。如果您正苦于以下问题:Java QueryFactory类的具体用法?Java QueryFactory怎么用?Java QueryFactory使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


QueryFactory类属于org.jongo.query包,在下文中一共展示了QueryFactory类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: RefFindOne

import org.jongo.query.QueryFactory; //导入依赖的package包/类
RefFindOne(DBCollection collection, ReadPreference readPreference, ExtendedUnmarshaller unmarshaller, QueryFactory queryFactory, String query, Object... parameters) {
    this.unmarshaller = unmarshaller;
    this.collection = collection;
    this.readPreference = readPreference;
    this.queryFactory = queryFactory;
    this.query = this.queryFactory.createQuery(query, parameters);
}
 
开发者ID:CIDARLAB,项目名称:clotho3crud,代码行数:8,代码来源:RefFindOne.java

示例2: getQueryFactory

import org.jongo.query.QueryFactory; //导入依赖的package包/类
@Override
public QueryFactory getQueryFactory() {
    return null;
}
 
开发者ID:ComputerArchitectureGroupPWr,项目名称:JGenerilo,代码行数:5,代码来源:ThermalMapper.java

示例3: getQueryFactory

import org.jongo.query.QueryFactory; //导入依赖的package包/类
@Override
public QueryFactory getQueryFactory() {
    return queryFactory;
}
 
开发者ID:CIDARLAB,项目名称:clotho3crud,代码行数:5,代码来源:ClothoMapper.java

示例4: InstantiatedReferencesQueryingCache

import org.jongo.query.QueryFactory; //导入依赖的package包/类
public InstantiatedReferencesQueryingCache(QueryFactory queryFactory, ExtendedUnmarshaller unmarshaller, DBCollection collection){
    this.queryFactory = queryFactory;
    this.unmarshaller = unmarshaller;
    this.collection = collection;
}
 
开发者ID:CIDARLAB,项目名称:clotho3crud,代码行数:6,代码来源:InstantiatedReferencesQueryingCache.java

示例5: RefFind

import org.jongo.query.QueryFactory; //导入依赖的package包/类
/**
 *
 * @param collection
 * @param readPreference
 * @param unmarshaller
 * @param queryFactory
 * @param query
 * @param parameters
 */
public RefFind(DBCollection collection, ReadPreference readPreference, ExtendedUnmarshaller unmarshaller, QueryFactory queryFactory, String query, Object... parameters) {
    this.readPreference = readPreference;
    this.unmarshaller = unmarshaller;
    this.collection = collection;
    this.queryFactory = queryFactory;
    this.query = this.queryFactory.createQuery(query, parameters);
}
 
开发者ID:CIDARLAB,项目名称:clotho3crud,代码行数:17,代码来源:RefFind.java


注:本文中的org.jongo.query.QueryFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。