| 程序包 | 说明 |
|---|---|
| net.hasor.dataql |
DataQL 全面提供 “数据” + “服务” 整合查询能力。
|
| net.hasor.dataql.binder |
DataQL,Hasor 专用扩展。
|
| 限定符和类型 | 方法和说明 |
|---|---|
default <T> QueryApiBinder |
QueryApiBinder.addShareVar(String name,
BindInfo<T> bindInfo)
添加全局变量(等同于 compilerVar)
|
default <T> QueryApiBinder |
QueryApiBinder.addShareVar(String name,
Class<? extends T> implementation)
添加全局变量(等同于 compilerVar)
|
<T> QueryApiBinder |
QueryApiBinder.addShareVar(String name,
Supplier<T> provider)
添加全局变量(等同于 compilerVar)
|
default QueryApiBinder |
QueryApiBinder.addShareVarInstance(String name,
Object instance)
添加全局变量(等同于 compilerVar)
|
QueryApiBinder |
QueryApiBinder.bindFinder(Supplier<? extends Finder> finderSupplier) |
default <T extends FragmentProcess> |
QueryApiBinder.bindFragment(String fragmentType,
BindInfo<T> bindInfo)
注册 FragmentProcess
|
default <T extends FragmentProcess> |
QueryApiBinder.bindFragment(String fragmentType,
Class<? extends T> implementation)
注册 FragmentProcess
|
default QueryApiBinder |
QueryApiBinder.bindFragment(String fragmentType,
FragmentProcess instance)
注册 FragmentProcess
|
<T extends FragmentProcess> |
QueryApiBinder.bindFragment(String fragmentType,
Supplier<T> provider)
注册 FragmentProcess
|
default QueryApiBinder |
QueryApiBinder.isolation(Class<?> contextType)
创建一个隔离环境,隔离环境不会共享当前 QueryApiBinder 中的任何配置。
|
QueryApiBinder |
QueryApiBinder.isolation(String contextName)
创建一个隔离环境,隔离环境不会共享当前 QueryApiBinder 中的任何配置。
|
default QueryApiBinder |
QueryApiBinder.loadFragment(Set<Class<?>> fragmentTypeSet)
加载带有 @DimFragment 注解的类
|
default QueryApiBinder |
QueryApiBinder.loadFragment(Set<Class<?>> mabyFragmentTypeSet,
Predicate<Class<?>> matcher,
TypeSupplier typeSupplier)
加载带有 @DimFragment 注解的类
|
default QueryApiBinder |
QueryApiBinder.loadUdf(Set<Class<?>> udfTypeSet)
加载带有 @DimUdf 注解的类
|
default QueryApiBinder |
QueryApiBinder.loadUdf(Set<Class<?>> mabyUdfTypeSet,
Predicate<Class<?>> matcher,
TypeSupplier typeSupplier)
加载带有 @DimUdf 注解的类
|
default QueryApiBinder |
QueryApiBinder.loadUdfSource(Class<?>... udfSourceTypeArrays)
加载带有 @DimUdfSource 注解的类
|
default QueryApiBinder |
QueryApiBinder.loadUdfSource(Set<Class<?>> udfSourceTypeSet)
加载带有 @DimUdfSource 注解的类
|
default QueryApiBinder |
QueryApiBinder.loadUdfSource(Set<Class<?>> mabyUdfTypeSet,
Predicate<Class<?>> matcher,
TypeSupplier typeSupplier)
加载带有 @DimUdfSource 注解的类
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
QueryModule.loadModule(QueryApiBinder apiBinder) |
| 限定符和类型 | 方法和说明 |
|---|---|
QueryApiBinder |
QueryApiBinderCreator.createBinder(ApiBinder apiBinder) |
Copyright © 2020. All rights reserved.