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


Java FieldMediatorSet类代码示例

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


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

示例1: before

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
@Before
public void before() {
    TransformerManager transformerManager = ObjectifyModule.defaultTransformerManager();
    IndexTypeLookup indexTypeLookup = SearchModule.defaultIndexTypeLookup();
    SearchConfig searchConfig = new SearchConfig(transformerManager, new FieldMediatorSet(), indexTypeLookup);
    repository = new KeyRepository<>(KeyTestEntity.class, searchConfig);
    noSearchrepository = new KeyRepository<>(KeyTestEntity.class, null);
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:9,代码来源:KeyRepositoryTest.java

示例2: before

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
@Before
public void before() {
    TransformerManager transformerManager = ObjectifyModule.defaultTransformerManager();
    IndexTypeLookup indexTypeLookup = SearchModule.defaultIndexTypeLookup();
    SearchConfig searchConfig = new SearchConfig(transformerManager, new FieldMediatorSet(), indexTypeLookup);
    repository = new StringRepository<>(StringTestEntity.class, searchConfig);
    noSearchrepository = new StringRepository<>(StringTestEntity.class, null);
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:9,代码来源:StringRepositoryTest.java

示例3: before

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
@Before
public void before() {
    TransformerManager transformerManager = ObjectifyModule.defaultTransformerManager();
    IndexTypeLookup indexTypeLookup = SearchModule.defaultIndexTypeLookup();
    SearchConfig searchConfig = new SearchConfig(transformerManager, new FieldMediatorSet(), indexTypeLookup);
    repository = new DatastoreKeyRepository<>(DatastoreKeyTestEntity.class, searchConfig);
    noSearchrepository = new DatastoreKeyRepository<>(DatastoreKeyTestEntity.class, null);
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:9,代码来源:DatastoreKeyRepositoryTest.java

示例4: before

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
@SuppressWarnings("unchecked")
@Before
public void before() {
    LongRepository<LongTestEntity> repository = mock(LongRepository.class);
    GaeSearchService<LongTestEntity, Key<LongTestEntity>> searchService = new GaeSearchService<>(LongTestEntity.class, new SearchConfig(TransformerManager.createWithDefaults(), new FieldMediatorSet(),
            new IndexTypeLookup()));
    com.threewks.gaetools.search.gae.SearchImpl<LongTestEntity, Key<LongTestEntity>> searchDelegate = searchService.search();
    searchImpl = new SearchImpl<>(repository, searchDelegate);
    search = searchImpl;
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:11,代码来源:SearchImplTest.java

示例5: before

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
@Before
public void before() {
    TransformerManager transformerManager = ObjectifyModule.defaultTransformerManager();
    IndexTypeLookup indexTypeLookup = SearchModule.defaultIndexTypeLookup();
    SearchConfig searchConfig = new SearchConfig(transformerManager, new FieldMediatorSet(), indexTypeLookup);
    repository = new LongRepository<>(LongTestEntity.class, searchConfig);
    noSearchrepository = new LongRepository<>(LongTestEntity.class, null);
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:9,代码来源:LongRepositoryTest.java

示例6: SearchConfig

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
public SearchConfig(TransformerManager transformerManager, FieldMediatorSet fieldMediators, IndexTypeLookup indexTypeLookup) {
    this.transformerManager = transformerManager;
    this.fieldMediators = fieldMediators;
    this.indexTypeLookup = indexTypeLookup;
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:6,代码来源:SearchConfig.java

示例7: getFieldMediators

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
public FieldMediatorSet getFieldMediators() {
    return fieldMediators;
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:4,代码来源:SearchConfig.java

示例8: defaultFieldMediatorSet

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
public static FieldMediatorSet defaultFieldMediatorSet() {
    return new FieldMediatorSet();
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:4,代码来源:SearchModule.java

示例9: before

import com.threewks.gaetools.search.gae.mediator.FieldMediatorSet; //导入依赖的package包/类
@Before
public void before() {
    TransformerManager transformerManager = ObjectifyModule.defaultTransformerManager();
    IndexTypeLookup indexTypeLookup = SearchModule.defaultIndexTypeLookup();
    searchConfig = new SearchConfig(transformerManager, new FieldMediatorSet(), indexTypeLookup);
}
 
开发者ID:monPlan,项目名称:springboot-spwa-gae-demo,代码行数:7,代码来源:BaseRepositoryTest.java


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