类 UDFInfo

  • 所有已实现的接口:
    org.apache.iotdb.commons.snapshot.SnapshotProcessor

    public class UDFInfo
    extends java.lang.Object
    implements org.apache.iotdb.commons.snapshot.SnapshotProcessor
    • 构造器详细资料

      • UDFInfo

        public UDFInfo()
                throws java.io.IOException
        抛出:
        java.io.IOException
    • 方法详细资料

      • 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()
      • 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()