|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.gora.compiler.GoraCompiler
public class GoraCompiler
Generate specific Java interfaces and classes for protocols and schemas.
Method Summary | |
---|---|
static void |
compileProtocol(File src,
File dest)
Generates Java interface and classes for a protocol. |
static void |
compileSchema(File src,
File dest)
Generates Java classes for a schema. |
static void |
main(String[] args)
|
static String |
type(org.apache.avro.Schema schema)
|
static String |
unbox(org.apache.avro.Schema schema)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void compileProtocol(File src, File dest) throws IOException
src
- the source Avro protocol filedest
- the directory to place generated files in
IOException
public static void compileSchema(File src, File dest) throws IOException
IOException
public static String type(org.apache.avro.Schema schema)
public static String unbox(org.apache.avro.Schema schema)
public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |