public class Schema extends Object
| Modifier and Type | Method and Description |
|---|---|
static Schema |
convertSchema(Schema schema) |
boolean |
equals(Object obj) |
static Field |
findField(List<Field> fields,
String name) |
Field |
findField(String name) |
static Schema |
fromJSON(String json) |
List<Field> |
getFields() |
int |
getSchema(com.google.flatbuffers.FlatBufferBuilder builder) |
int |
hashCode() |
String |
toJson() |
String |
toString() |
public static Field findField(List<Field> fields, String name)
the - list of the fieldsname - the name of the field to returnIllegalArgumentException - if the field was not foundpublic static Schema fromJSON(String json) throws IOException
IOExceptionpublic Field findField(String name)
name - the name of the field to returnpublic String toJson()
public int getSchema(com.google.flatbuffers.FlatBufferBuilder builder)
Copyright © 2016 The Apache Software Foundation. All rights reserved.