org.apache.hadoop.record.compiler
Class JFile
java.lang.Object
org.apache.hadoop.record.compiler.JFile
Deprecated. Replaced by Avro.
@Deprecated
@InterfaceAudience.Public
@InterfaceStability.Stable
public class JFile
- extends Object
Container for the Hadoop Record DDL.
The main components of the file are filename, list of included files,
and records defined in that file.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JFile
public JFile(String name,
ArrayList<JFile> inclFiles,
ArrayList<JRecord> recList)
- Deprecated.
- Creates a new instance of JFile
- Parameters:
name
- possibly full pathname to the fileinclFiles
- included files (as JFile)recList
- List of records defined within this file
genCode
public int genCode(String language,
String destDir,
ArrayList<String> options)
throws IOException
- Deprecated.
- Generate record code in given language. Language should be all
lowercase.
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.