|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.specific.SpecificCompiler
public class SpecificCompiler
Generate specific Java interfaces and classes for protocols and schemas.
| Method Summary | |
|---|---|
static SpecificCompiler |
compileProtocol(File file)
Returns generated Java interface for a protocol. |
static SpecificCompiler |
compileSchema(File file)
Returns generated Java class for a schema. |
String |
getCode()
Return generated code. |
String |
getNamespace()
Return namespace for compiled code. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SpecificCompiler compileProtocol(File file)
throws IOException
IOException
public static SpecificCompiler compileSchema(File file)
throws IOException
IOExceptionpublic String getNamespace()
public String getCode()
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 | |||||||||