Class UDFInfo
java.lang.Object
org.apache.iotdb.confignode.persistence.UDFInfo
- All Implemented Interfaces:
SnapshotProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddUDFInTable(CreateFunctionPlan physicalPlan) voidclear()voiddeserializeExistedJarToMD5(InputStream inputStream) getUDFJar(GetUDFJarPlan physicalPlan) booleanneedToSaveJar(String jarName) voidprocessLoadSnapshot(File snapshotDir) booleanprocessTakeSnapshot(File snapshotDir) voidvoidserializeExistedJarToMD5(OutputStream outputStream) voidValidate whether the UDF can be dropped.voidValidate whether the UDF can be created.
-
Constructor Details
-
UDFInfo
- Throws:
IOException
-
-
Method Details
-
acquireUDFTableLock
public void acquireUDFTableLock() -
releaseUDFTableLock
public void releaseUDFTableLock() -
validate
Validate whether the UDF can be created.- Throws:
UDFManagementException
-
validate
Validate whether the UDF can be dropped.- Throws:
UDFManagementException
-
needToSaveJar
-
addUDFInTable
-
getUDFTable
-
getUDFJar
-
dropFunction
-
getRawUDFTable
-
getRawExistedJarToMD5
-
processTakeSnapshot
- Specified by:
processTakeSnapshotin interfaceSnapshotProcessor- Throws:
IOException
-
processLoadSnapshot
- Specified by:
processLoadSnapshotin interfaceSnapshotProcessor- Throws:
IOException
-
serializeExistedJarToMD5
- Throws:
IOException
-
deserializeExistedJarToMD5
- Throws:
IOException
-
clear
public void clear()
-