public interface MapperInterface extends AnnotatedMeta<Class<?>>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getClusterRouterName()
获取集群路由器
|
HttpConfig |
getHttpConfig()
一些http相关的配置信息,连接ES
|
String[] |
getIndices()
获取此接口要操作的索引
|
MapperMethod |
getMapperMethod(Method method)
获取指定方法的映射方法
|
String[] |
getTypes()
获取此借口遥操作的索引列表
|
static <T> MapperInterface |
of(Class<T> mapperType)
缓存创建指定该接口的映射
|
findAnnotation, getAnnotation, getAnnotations, getElement, isAnnotationPresentstatic <T> MapperInterface of(Class<T> mapperType)
T - 实际接口类型mapperType - 映射接口String[] getIndices()
String[] getTypes()
String getClusterRouterName()
HttpConfig getHttpConfig()
MapperMethod getMapperMethod(Method method)
method - 接口 方法Copyright © 2021. All rights reserved.