public interface QueryApiBinder extends ApiBinder, Hints
ApiBinder.InjectConstructorBindingBuilder<T>, ApiBinder.InjectPropertyBindingBuilder<T>, ApiBinder.LifeBindingBuilder<T>, ApiBinder.LinkedBindingBuilder<T>, ApiBinder.MetaDataBindingBuilder<T>, ApiBinder.NamedBindingBuilder<T>, ApiBinder.OptionPropertyBindingBuilder<T>, ApiBinder.ScopedBindingBuilder<T>INDEX_OVERFLOW_NEAR, INDEX_OVERFLOW_NULL, INDEX_OVERFLOW_THROW, MAX_DECIMAL_DIGITS, MIN_DECIMAL_WIDTH, MIN_DECIMAL_WIDTH_BIG, MIN_DECIMAL_WIDTH_DOUBLE, MIN_DECIMAL_WIDTH_FLOAT, MIN_INTEGER_WIDTH, MIN_INTEGER_WIDTH_BIG, MIN_INTEGER_WIDTH_BYTE, MIN_INTEGER_WIDTH_INT, MIN_INTEGER_WIDTH_LONG, MIN_INTEGER_WIDTH_SHORT, NUMBER_ROUNDING, NUMBER_ROUNDING_CEILING, NUMBER_ROUNDING_DOWN, NUMBER_ROUNDING_FLOOR, NUMBER_ROUNDING_HALF_DOWN, NUMBER_ROUNDING_HALF_EVEN, NUMBER_ROUNDING_HALF_UP, NUMBER_ROUNDING_UNNECESSARY, NUMBER_ROUNDING_UP| 限定符和类型 | 方法和说明 |
|---|---|
default <T> QueryApiBinder |
addShareVar(String name,
BindInfo<T> bindInfo)
添加全局变量(等同于 compilerVar)
|
default <T> QueryApiBinder |
addShareVar(String name,
Class<? extends T> implementation)
添加全局变量(等同于 compilerVar)
|
<T> QueryApiBinder |
addShareVar(String name,
Supplier<T> provider)
添加全局变量(等同于 compilerVar)
|
default QueryApiBinder |
addShareVarInstance(String name,
Object instance)
添加全局变量(等同于 compilerVar)
|
QueryApiBinder |
bindFinder(Supplier<? extends Finder> finderSupplier) |
default <T extends FragmentProcess> |
bindFragment(String fragmentType,
BindInfo<T> bindInfo)
注册 FragmentProcess
|
default <T extends FragmentProcess> |
bindFragment(String fragmentType,
Class<? extends T> implementation)
注册 FragmentProcess
|
default QueryApiBinder |
bindFragment(String fragmentType,
FragmentProcess instance)
注册 FragmentProcess
|
<T extends FragmentProcess> |
bindFragment(String fragmentType,
Supplier<T> provider)
注册 FragmentProcess
|
void |
configOption(DataQL.ConfigOption optionKey,
Object value)
配置编译参数
|
default void |
loadFragment(Class<?> fragmentType)
加载带有 @DimFragment 注解的类
|
default void |
loadFragment(Class<?> fragmentType,
TypeSupplier typeSupplier)
加载带有 @DimFragment 注解的类
|
default QueryApiBinder |
loadFragment(Set<Class<?>> fragmentTypeSet)
加载带有 @DimFragment 注解的类
|
default QueryApiBinder |
loadFragment(Set<Class<?>> mabyFragmentTypeSet,
Predicate<Class<?>> matcher,
TypeSupplier typeSupplier)
加载带有 @DimFragment 注解的类
|
default void |
loadUdf(Class<?> udfType)
加载带有 @DimUdf 注解的类
|
default void |
loadUdf(Class<?> udfType,
TypeSupplier typeSupplier)
加载带有 @DimUdf 注解的类
|
default QueryApiBinder |
loadUdf(Set<Class<?>> udfTypeSet)
加载带有 @DimUdf 注解的类
|
default QueryApiBinder |
loadUdf(Set<Class<?>> mabyUdfTypeSet,
Predicate<Class<?>> matcher,
TypeSupplier typeSupplier)
加载带有 @DimUdf 注解的类
|
default QueryApiBinder |
loadUdfSource(Class<?>... udfSourceTypeArrays)
加载带有 @DimUdfSource 注解的类
|
default void |
loadUdfSource(Class<?> sourceType,
TypeSupplier typeSupplier)
加载带有 @DimUdfSource 注解的类
|
default QueryApiBinder |
loadUdfSource(Set<Class<?>> udfSourceTypeSet)
加载带有 @DimUdfSource 注解的类
|
default QueryApiBinder |
loadUdfSource(Set<Class<?>> mabyUdfTypeSet,
Predicate<Class<?>> matcher,
TypeSupplier typeSupplier)
加载带有 @DimUdfSource 注解的类
|
bindInterceptor, bindInterceptor, bindScope, bindScope, bindScope, bindSpiJudge, bindSpiJudge, bindSpiListener, bindSpiListener, bindType, bindType, bindType, bindType, bindType, bindType, bindType, bindType, findBindingRegister, findBindingRegister, findClass, findClass, findScope, findScope, getBindInfo, getBindInfo, getEnvironment, getProvider, getProvider, installModule, isSingleton, isSingleton, loadModule, loadModule, loadModule, loadModule, loadSpiListener, loadSpiListener, loadSpiListener, loadSpiListener, tryCastcomputeIfAbsent, forEach, getHint, getHints, getOrDefault, getOrMap, putIfAbsent, removeHint, setHint, setHint, setHint, setHintsvoid configOption(DataQL.ConfigOption optionKey, Object value)
default QueryApiBinder loadFragment(Set<Class<?>> fragmentTypeSet)
default QueryApiBinder loadFragment(Set<Class<?>> mabyFragmentTypeSet, Predicate<Class<?>> matcher, TypeSupplier typeSupplier)
default void loadFragment(Class<?> fragmentType)
default void loadFragment(Class<?> fragmentType, TypeSupplier typeSupplier)
default QueryApiBinder loadUdf(Set<Class<?>> udfTypeSet)
default QueryApiBinder loadUdf(Set<Class<?>> mabyUdfTypeSet, Predicate<Class<?>> matcher, TypeSupplier typeSupplier)
default void loadUdf(Class<?> udfType)
default void loadUdf(Class<?> udfType, TypeSupplier typeSupplier)
default QueryApiBinder loadUdfSource(Class<?>... udfSourceTypeArrays)
default QueryApiBinder loadUdfSource(Set<Class<?>> udfSourceTypeSet)
default QueryApiBinder loadUdfSource(Set<Class<?>> mabyUdfTypeSet, Predicate<Class<?>> matcher, TypeSupplier typeSupplier)
default void loadUdfSource(Class<?> sourceType, TypeSupplier typeSupplier)
default QueryApiBinder addShareVarInstance(String name, Object instance)
default <T> QueryApiBinder addShareVar(String name, Class<? extends T> implementation)
default <T> QueryApiBinder addShareVar(String name, BindInfo<T> bindInfo)
<T> QueryApiBinder addShareVar(String name, Supplier<T> provider)
QueryApiBinder bindFinder(Supplier<? extends Finder> finderSupplier)
default QueryApiBinder bindFragment(String fragmentType, FragmentProcess instance)
default <T extends FragmentProcess> QueryApiBinder bindFragment(String fragmentType, Class<? extends T> implementation)
default <T extends FragmentProcess> QueryApiBinder bindFragment(String fragmentType, BindInfo<T> bindInfo)
<T extends FragmentProcess> QueryApiBinder bindFragment(String fragmentType, Supplier<T> provider)
Copyright © 2020. All rights reserved.