public final class RecordScheme extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addField(@NotNull String field,
@NotNull Type type) |
void |
addFields(Map<String,Class<?>> types) |
static RecordScheme |
create() |
String |
getField(int index) |
int |
getFieldIndex(String field) |
List<String> |
getFields() |
Type |
getFieldType(String field) |
RecordScheme |
withField(@NotNull String field,
@NotNull Type type) |
public static RecordScheme create()
public RecordScheme withField(@NotNull @NotNull String field, @NotNull @NotNull Type type)
public String getField(int index)
public int getFieldIndex(String field)
Copyright © 2019. All rights reserved.