Class EPCompiledManifest

java.lang.Object
com.espertech.esper.common.client.EPCompiledManifest
All Implemented Interfaces:
Serializable

public class EPCompiledManifest extends Object implements Serializable
Manifest is part of the EPCompiled and provides information for the runtime that allows it to use the byte code.
See Also:
  • Constructor Details

    • EPCompiledManifest

      public EPCompiledManifest(String compilerVersion, String moduleProviderClassName, String queryProviderClassName, boolean targetHA)
      Ctor.
      Parameters:
      compilerVersion - compiler version
      moduleProviderClassName - class name of the class providing the module, or null for fire-and-forget query
      queryProviderClassName - class name of the class providing the fire-and-forget query, or null when this is a module
      targetHA - flag indicating whether the compiler targets high-availability
  • Method Details

    • getCompilerVersion

      public String getCompilerVersion()
      Returns the compiler version.
      Returns:
      compiler version
    • getModuleProviderClassName

      public String getModuleProviderClassName()
      Returns the class name of the class providing the module, or null for fire-and-forget query
      Returns:
      class name
    • getQueryProviderClassName

      public String getQueryProviderClassName()
      Returns the class name of the class providing the fire-and-forget query, or null when this is a module
      Returns:
      class name
    • isTargetHA

      public boolean isTargetHA()
      Returns flag indicating whether the compiler targets high-availability
      Returns:
      indicator
    • write

      public void write(DataOutput output) throws IOException
      Write the manifest to output.
      Parameters:
      output - output
      Throws:
      IOException - when an IO exception occurs
    • read

      public static EPCompiledManifest read(DataInput input) throws IOException
      Read the manifest from input.
      Parameters:
      input - input
      Returns:
      manifest
      Throws:
      IOException - when an IO exception occurs