@InterfaceAudience.LimitedPrivate(value={"YARN","MapReduce"}) public class HamletGen extends Object
Constructor and Description |
---|
HamletGen() |
public void generate(Class<?> specClass, Class<?> implClass, String outputName, String outputPkg) throws IOException
specClass
- holds hamlet interfaces. e.g. HamletSpec
implClass
- a generic hamlet implementation. e.g. HamletImpl
outputName
- name of the output class. e.g. Hamlet
outputPkg
- package name of the output class.IOException
Copyright © 2022 Apache Software Foundation. All rights reserved.