| 程序包 | 说明 |
|---|---|
| io.manbang.ebatis.core.generic | |
| io.manbang.ebatis.core.response |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ClassGenericType |
interface |
FieldGenericType |
interface |
MethodGenericType |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultMethodGenericType |
| 限定符和类型 | 方法和说明 |
|---|---|
GenericType |
GenericType.as(Class<?> type)
沿着当前类的继承和实现关系,找到指定的父类或者接口的泛型解析器
|
default GenericType |
GenericType.asCompletableFuture()
作为CompletableFuture集合解析
|
default GenericType |
GenericType.asList()
作为List集合解析
|
default GenericType |
GenericType.asMap()
作为Map集合解析
|
default GenericType |
GenericType.asOptional()
作为Optional解析
|
default GenericType |
GenericType.asSet()
作为Set集合解析
|
static GenericType |
GenericType.forField(Field field)
创建字段泛型解析器
|
static GenericType |
GenericType.forParameter(Parameter parameter)
创建参数泛型解析器
|
static GenericType |
GenericType.forType(Type type)
创建泛型类型解析器
|
GenericType |
MethodGenericType.parameterType(int index)
获取指定参数位置的泛型解析器
|
GenericType |
DefaultMethodGenericType.parameterType(int index) |
GenericType |
GenericType.resolveType(int... indices)
解析指定索引位置的泛型
|
GenericType |
MethodGenericType.returnType()
获取方法的返回值泛型解析器
|
GenericType |
DefaultMethodGenericType.returnType() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ResponseExtractor<?> |
UpdateResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
UpdateByQueryResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
SearchScrollResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
SearchResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
MultiSearchResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
MultiGetResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
IndexResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
GetResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
DeleteResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
DeleteByQueryResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
BulkResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected ResponseExtractor<?> |
AggResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType) |
protected abstract ResponseExtractor<?> |
AbstractResponseExtractorProvider.getResponseExtractor(MethodMeta meta,
GenericType genericType)
获取指定类型返回值提取器
|
Copyright © 2020. All rights reserved.