Class EPCompiledIOUtil

java.lang.Object
com.espertech.esper.compiler.client.util.EPCompiledIOUtil

public class EPCompiledIOUtil extends Object
IO-related utilized for EPCompiled
  • Field Details

    • MANIFEST_COMPILER_VERSION

      public static final String MANIFEST_COMPILER_VERSION
      Name of the attribute providing the compiler version.
      See Also:
    • MANIFEST_MODULEPROVIDERCLASSNAME

      public static final String MANIFEST_MODULEPROVIDERCLASSNAME
      Name of the attribute providing the module provider class name.
      See Also:
    • MANIFEST_QUERYPROVIDERCLASSNAME

      public static final String MANIFEST_QUERYPROVIDERCLASSNAME
      Name of the attribute providing the fire-and-forget query provider class name.
      See Also:
    • MANIFEST_TARGETHA

      public static final String MANIFEST_TARGETHA
      Name of the attribute providing the flag whether the compiler targets high-availability.
      See Also:
  • Constructor Details

    • EPCompiledIOUtil

      public EPCompiledIOUtil()
  • Method Details

    • write

      public static void write(EPCompiled compiled, File file) throws IOException
      Write the compiled to a jar file. Overwrites the existing jar file.
      Parameters:
      compiled - compiled
      file - the target file
      Throws:
      IOException - when the write failed
    • read

      public static EPCompiled read(File file) throws IOException
      Reads the jar file into an EPCompiled compiled for deployment into a runtime.
      Parameters:
      file - is the source jar file
      Returns:
      compiled
      Throws:
      IOException - when the read failed