类 UDFInfo
- java.lang.Object
-
- org.apache.iotdb.confignode.persistence.UDFInfo
-
- 所有已实现的接口:
org.apache.iotdb.commons.snapshot.SnapshotProcessor
public class UDFInfo extends java.lang.Object implements org.apache.iotdb.commons.snapshot.SnapshotProcessor
-
-
构造器概要
构造器 构造器 说明 UDFInfo()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidacquireUDFTableLock()org.apache.iotdb.common.rpc.thrift.TSStatusaddUDFInTable(CreateFunctionPlan physicalPlan)voidclear()voiddeserializeExistedJarToMD5(java.io.InputStream inputStream)org.apache.iotdb.common.rpc.thrift.TSStatusdropFunction(DropFunctionPlan req)java.util.Map<java.lang.String,java.lang.String>getRawExistedJarToMD5()java.util.Map<java.lang.String,org.apache.iotdb.commons.udf.UDFInformation>getRawUDFTable()JarRespgetUDFJar(GetUDFJarPlan physicalPlan)org.apache.iotdb.consensus.common.DataSetgetUDFTable()booleanneedToSaveJar(java.lang.String jarName)voidprocessLoadSnapshot(java.io.File snapshotDir)booleanprocessTakeSnapshot(java.io.File snapshotDir)voidreleaseUDFTableLock()voidserializeExistedJarToMD5(java.io.OutputStream outputStream)voidvalidate(java.lang.String udfName)Validate whether the UDF can be droppedvoidvalidate(java.lang.String UDFName, java.lang.String jarName, java.lang.String jarMD5)Validate whether the UDF can be created
-
-
-
方法详细资料
-
acquireUDFTableLock
public void acquireUDFTableLock()
-
releaseUDFTableLock
public void releaseUDFTableLock()
-
validate
public void validate(java.lang.String UDFName, java.lang.String jarName, java.lang.String jarMD5)Validate whether the UDF can be created
-
validate
public void validate(java.lang.String udfName)
Validate whether the UDF can be dropped
-
needToSaveJar
public boolean needToSaveJar(java.lang.String jarName)
-
addUDFInTable
public org.apache.iotdb.common.rpc.thrift.TSStatus addUDFInTable(CreateFunctionPlan physicalPlan)
-
getUDFTable
public org.apache.iotdb.consensus.common.DataSet getUDFTable()
-
getUDFJar
public JarResp getUDFJar(GetUDFJarPlan physicalPlan)
-
dropFunction
public org.apache.iotdb.common.rpc.thrift.TSStatus dropFunction(DropFunctionPlan req)
-
getRawUDFTable
public java.util.Map<java.lang.String,org.apache.iotdb.commons.udf.UDFInformation> getRawUDFTable()
-
getRawExistedJarToMD5
public java.util.Map<java.lang.String,java.lang.String> getRawExistedJarToMD5()
-
processTakeSnapshot
public boolean processTakeSnapshot(java.io.File snapshotDir) throws java.io.IOException- 指定者:
processTakeSnapshot在接口中org.apache.iotdb.commons.snapshot.SnapshotProcessor- 抛出:
java.io.IOException
-
processLoadSnapshot
public void processLoadSnapshot(java.io.File snapshotDir) throws java.io.IOException- 指定者:
processLoadSnapshot在接口中org.apache.iotdb.commons.snapshot.SnapshotProcessor- 抛出:
java.io.IOException
-
serializeExistedJarToMD5
public void serializeExistedJarToMD5(java.io.OutputStream outputStream) throws java.io.IOException- 抛出:
java.io.IOException
-
deserializeExistedJarToMD5
public void deserializeExistedJarToMD5(java.io.InputStream inputStream) throws java.io.IOException- 抛出:
java.io.IOException
-
clear
public void clear()
-
-