@LimitedPrivate({"YARN","MapReduce"})
public class HamletGen
extends java.lang.Object
| Constructor | Description |
|---|---|
HamletGen() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
generate(java.lang.Class<?> specClass,
java.lang.Class<?> implClass,
java.lang.String outputName,
java.lang.String outputPkg) |
Generate a specific Hamlet implementation from a spec.
|
static void |
main(java.lang.String[] args) |
public void generate(java.lang.Class<?> specClass,
java.lang.Class<?> implClass,
java.lang.String outputName,
java.lang.String outputPkg)
throws java.io.IOException
specClass - holds hamlet interfaces. e.g. HamletSpecimplClass - a generic hamlet implementation. e.g. HamletImploutputName - name of the output class. e.g. HamletoutputPkg - package name of the output class.java.io.IOException - io error occur.public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.