public class ListSchema extends Object implements RecordSchema
| Constructor and Description |
|---|
ListSchema() |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(Field field) |
Field |
getField(String fieldName,
int index) |
Iterable<? extends Field> |
getFields() |
boolean |
isSingleTyped() |
void |
removeField(Field field,
int index) |
Iterable<? extends Field> |
removeUnreadFields() |
void |
resetMarkedFields() |
String |
toSchemaString() |
public void addField(Field field)
addField in interface RecordSchemapublic Field getField(String fieldName, int index)
getField in interface RecordSchemapublic void removeField(Field field, int index)
removeField in interface RecordSchemapublic Iterable<? extends Field> getFields()
getFields in interface RecordSchemapublic boolean isSingleTyped()
public String toSchemaString()
toSchemaString in interface RecordSchemapublic void resetMarkedFields()
resetMarkedFields in interface RecordSchemapublic Iterable<? extends Field> removeUnreadFields()
removeUnreadFields in interface RecordSchemaCopyright © 2021 The Apache Software Foundation. All rights reserved.