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 EPCompiled
Reads the jar file into anEPCompiled
compiled for deployment into a runtime.static void
write
(EPCompiled compiled, File file) 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
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
-