Class ClasspathImportServiceCompileTimeImpl
java.lang.Object
com.espertech.esper.common.internal.settings.ClasspathImportServiceBase
com.espertech.esper.common.internal.settings.ClasspathImportServiceCompileTimeImpl
- All Implemented Interfaces:
ClasspathImportService
,ClasspathImportServiceCompileTime
public class ClasspathImportServiceCompileTimeImpl
extends ClasspathImportServiceBase
implements ClasspathImportServiceCompileTime
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.settings.ClasspathImportServiceCompileTime
EXT_SINGLEROW_FUNCTION_TRANSPOSE
-
Constructor Summary
ConstructorsConstructorDescriptionClasspathImportServiceCompileTimeImpl
(Map<String, Object> transientConfiguration, TimeAbacus timeAbacus, Set<String> eventTypeAutoNames, MathContext mathContext, boolean allowExtendedAggregationFunc, boolean sortUsingCollator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAggregation
(String functionName, ConfigurationCompilerPlugInAggregationFunction aggregationDesc) void
void
addPlugInDateTimeMethod
(String dtmMethodName, ConfigurationCompilerPlugInDateTimeMethod config) void
addPlugInEnumMethod
(String dtmMethodName, ConfigurationCompilerPlugInEnumMethod config) void
addSingleRow
(String functionName, String singleRowFuncClass, String methodName, ConfigurationCompilerPlugInSingleRowFunction.ValueCache valueCache, ConfigurationCompilerPlugInSingleRowFunction.FilterOptimizable filterOptimizable, boolean rethrowExceptions, String optionalEventTypeName) boolean
resolveAdvancedIndexProvider
(String indexTypeName) resolveAggExtendedBuiltin
(String name, boolean isDistinct) resolveAggregationFunction
(String functionName, ClasspathExtensionAggregationFunction extension) resolveAnnotation
(String className) resolveDateTimeMethod
(String name) resolveEnumMethod
(String name) resolveMethod
(Class clazz, String methodName, EPType[] paramTypes, boolean[] allowEventBeanType) resolveMethodOverloadChecked
(Class clazz, String methodName) resolveMethodOverloadChecked
(String className, String methodName, ClasspathExtensionClass classpathExtension) resolveNonStaticMethodOverloadChecked
(Class clazz, String methodName) resolveSingleRow
(String name, ClasspathExtensionSingleRow classpathExtensionSingleRow) Methods inherited from class com.espertech.esper.common.internal.settings.ClasspathImportServiceBase
addAnnotationImport, addImport, convert, convert, getClassForNameProvider, getClassLoader, getTimeAbacus, makeClassNotFoundEx, resolveClass, resolveClassForBeanEventType, resolveClassInternal, resolveCtor, resolveMethod, resolveMethodOverloadChecked, validateImportAndAdd
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.espertech.esper.common.internal.settings.ClasspathImportService
getClassForNameProvider, getClassLoader, getTimeAbacus, resolveClass, resolveClassForBeanEventType, resolveCtor, resolveMethod, resolveMethodOverloadChecked
Methods inherited from interface com.espertech.esper.common.internal.settings.ClasspathImportServiceCompileTime
addImport
-
Constructor Details
-
ClasspathImportServiceCompileTimeImpl
public ClasspathImportServiceCompileTimeImpl(Map<String, Object> transientConfiguration, TimeAbacus timeAbacus, Set<String> eventTypeAutoNames, MathContext mathContext, boolean allowExtendedAggregationFunc, boolean sortUsingCollator)
-
-
Method Details
-
addSingleRow
public void addSingleRow(String functionName, String singleRowFuncClass, String methodName, ConfigurationCompilerPlugInSingleRowFunction.ValueCache valueCache, ConfigurationCompilerPlugInSingleRowFunction.FilterOptimizable filterOptimizable, boolean rethrowExceptions, String optionalEventTypeName) throws ClasspathImportException - Throws:
ClasspathImportException
-
addPlugInDateTimeMethod
public void addPlugInDateTimeMethod(String dtmMethodName, ConfigurationCompilerPlugInDateTimeMethod config) throws ClasspathImportException - Throws:
ClasspathImportException
-
addPlugInEnumMethod
public void addPlugInEnumMethod(String dtmMethodName, ConfigurationCompilerPlugInEnumMethod config) throws ClasspathImportException - Throws:
ClasspathImportException
-
resolveSingleRow
public Pair<Class,ClasspathImportSingleRowDesc> resolveSingleRow(String name, ClasspathExtensionSingleRow classpathExtensionSingleRow) throws ClasspathImportException, ClasspathImportUndefinedException - Specified by:
resolveSingleRow
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
ClasspathImportUndefinedException
-
resolveAnnotation
- Specified by:
resolveAnnotation
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-
resolveMethod
public Method resolveMethod(Class clazz, String methodName, EPType[] paramTypes, boolean[] allowEventBeanType) throws ClasspathImportException - Specified by:
resolveMethod
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-
resolveMethodOverloadChecked
public Method resolveMethodOverloadChecked(Class clazz, String methodName) throws ClasspathImportException - Specified by:
resolveMethodOverloadChecked
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-
resolveMethodOverloadChecked
public Method resolveMethodOverloadChecked(String className, String methodName, ClasspathExtensionClass classpathExtension) throws ClasspathImportException - Specified by:
resolveMethodOverloadChecked
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-
resolveSingleRowExtendedBuiltin
- Specified by:
resolveSingleRowExtendedBuiltin
in interfaceClasspathImportServiceCompileTime
-
getDefaultMathContext
- Specified by:
getDefaultMathContext
in interfaceClasspathImportServiceCompileTime
-
resolveAggExtendedBuiltin
- Specified by:
resolveAggExtendedBuiltin
in interfaceClasspathImportServiceCompileTime
-
isSortUsingCollator
public boolean isSortUsingCollator()- Specified by:
isSortUsingCollator
in interfaceClasspathImportServiceCompileTime
-
resolveNonStaticMethodOverloadChecked
public Method resolveNonStaticMethodOverloadChecked(Class clazz, String methodName) throws ClasspathImportException - Specified by:
resolveNonStaticMethodOverloadChecked
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-
resolveAdvancedIndexProvider
public AdvancedIndexFactoryProvider resolveAdvancedIndexProvider(String indexTypeName) throws ClasspathImportException - Specified by:
resolveAdvancedIndexProvider
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-
resolveAggregationFunction
public AggregationFunctionForge resolveAggregationFunction(String functionName, ClasspathExtensionAggregationFunction extension) throws ClasspathImportUndefinedException, ClasspathImportException - Specified by:
resolveAggregationFunction
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportUndefinedException
ClasspathImportException
-
addAggregation
public void addAggregation(String functionName, ConfigurationCompilerPlugInAggregationFunction aggregationDesc) throws ClasspathImportException - Throws:
ClasspathImportException
-
resolveAggregationMultiFunction
public Pair<ConfigurationCompilerPlugInAggregationMultiFunction,Class> resolveAggregationMultiFunction(String name, ClasspathExtensionAggregationMultiFunction extension) - Specified by:
resolveAggregationMultiFunction
in interfaceClasspathImportServiceCompileTime
-
addAggregationMultiFunction
public void addAggregationMultiFunction(ConfigurationCompilerPlugInAggregationMultiFunction desc) throws ClasspathImportException - Throws:
ClasspathImportException
-
resolveDateTimeMethod
- Specified by:
resolveDateTimeMethod
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-
resolveEnumMethod
- Specified by:
resolveEnumMethod
in interfaceClasspathImportServiceCompileTime
- Throws:
ClasspathImportException
-