本文整理汇总了Java中com.threewks.gaetools.search.gae.naming.DefaultIndexNamingStrategy类的典型用法代码示例。如果您正苦于以下问题:Java DefaultIndexNamingStrategy类的具体用法?Java DefaultIndexNamingStrategy怎么用?Java DefaultIndexNamingStrategy使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DefaultIndexNamingStrategy类属于com.threewks.gaetools.search.gae.naming包,在下文中一共展示了DefaultIndexNamingStrategy类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: IdGaeSearchService
import com.threewks.gaetools.search.gae.naming.DefaultIndexNamingStrategy; //导入依赖的package包/类
/**
* Create an {@link IdGaeSearchService} for the given type and the given id type. This will use the {@link DefaultIndexNamingStrategy}.
*
* @param type
* @param keyType
* @param searchConfig
*/
public IdGaeSearchService(Class<T> type, Class<K> keyType, SearchConfig searchConfig) {
this(type, keyType, searchConfig, new DefaultIndexNamingStrategy());
}
示例2: GaeSearchService
import com.threewks.gaetools.search.gae.naming.DefaultIndexNamingStrategy; //导入依赖的package包/类
/**
* Create a {@link GaeSearchService} for the given type using the {@link DefaultIndexNamingStrategy}.
*
* @param type the type this search service will index
* @param searchConfig
*/
public GaeSearchService(Class<T> type, SearchConfig searchConfig) {
this(type, searchConfig, new DefaultIndexNamingStrategy());
}