Class EPCompiledIOUtil
java.lang.Object
com.espertech.esper.compiler.client.util.EPCompiledIOUtil
IO-related utilized for
EPCompiled
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Name of the attribute providing the compiler version.static final String
Name of the attribute providing the module provider class name.static final String
Name of the attribute providing the fire-and-forget query provider class name.static final String
Name of the attribute providing the flag whether the compiler targets high-availability. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.espertech.esper.common.client.EPCompiled
Reads the jar file into anEPCompiled
compiled for deployment into a runtime.static void
Write the compiled to a jar file.
-
Field Details
-
MANIFEST_COMPILER_VERSION
Name of the attribute providing the compiler version.- See Also:
-
MANIFEST_MODULEPROVIDERCLASSNAME
Name of the attribute providing the module provider class name.- See Also:
-
MANIFEST_QUERYPROVIDERCLASSNAME
Name of the attribute providing the fire-and-forget query provider class name.- See Also:
-
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(com.espertech.esper.common.client.EPCompiled compiled, File file) throws IOException Write the compiled to a jar file. Overwrites the existing jar file.- Parameters:
compiled
- compiledfile
- the target file- Throws:
IOException
- when the write failed
-
read
Reads the jar file into anEPCompiled
compiled for deployment into a runtime.- Parameters:
file
- is the source jar file- Returns:
- compiled
- Throws:
IOException
- when the read failed
-