Class GeneratedClass<T>
java.lang.Object
org.apache.flink.table.runtime.generated.GeneratedClass<T>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GeneratedAggsHandleFunction,GeneratedCollector,GeneratedFunction,GeneratedHashFunction,GeneratedInput,GeneratedJoinCondition,GeneratedNamespaceAggsHandleFunction,GeneratedNamespaceTableAggsHandleFunction,GeneratedNormalizedKeyComputer,GeneratedOperator,GeneratedProjection,GeneratedRecordComparator,GeneratedRecordEqualiser,GeneratedResultFuture,GeneratedTableAggsHandleFunction,GeneratedWatermarkGenerator
A wrapper for generated class, defines a
newInstance(ClassLoader) method to get an
instance by reference objects easily.- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGeneratedClass(String className, String code, Object[] references, org.apache.flink.configuration.ReadableConfig config) -
Method Summary
Modifier and TypeMethodDescriptioncompile(ClassLoader classLoader) Compiles the generated code, the compiled class will be cached in theGeneratedClass.getClass(ClassLoader classLoader) getCode()Object[]newInstance(ClassLoader classLoader) Create a new instance of this generated class.newInstance(ClassLoader classLoader, Object... args)
-
Constructor Details
-
GeneratedClass
-
-
Method Details
-
newInstance
Create a new instance of this generated class. -
newInstance
-
compile
Compiles the generated code, the compiled class will be cached in theGeneratedClass. -
getClassName
-
getCode
-
getReferences
-
getClass
-