org.apache.hadoop.record.compiler
Class JRecord
java.lang.Object
org.apache.hadoop.record.compiler.JType
org.apache.hadoop.record.compiler.JRecord
public class JRecord
- extends JType
- Author:
- Milind Bhandarkar
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRecord
public JRecord(String name,
ArrayList flist)
- Creates a new instance of JRecord
getName
public String getName()
getJavaFQName
public String getJavaFQName()
getCppFQName
public String getCppFQName()
getJavaPackage
public String getJavaPackage()
getCppNameSpace
public String getCppNameSpace()
getFields
public ArrayList getFields()
getSignature
public String getSignature()
genCppDecl
public String genCppDecl(String fname)
genJavaReadMethod
public String genJavaReadMethod(String fname,
String tag)
genJavaReadWrapper
public String genJavaReadWrapper(String fname,
String tag,
boolean decl)
genJavaWriteWrapper
public String genJavaWriteWrapper(String fname,
String tag)
genCppCode
public void genCppCode(FileWriter hh,
FileWriter cc)
throws IOException
- Throws:
IOException
genJavaCode
public void genJavaCode()
throws IOException
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation