public interface FieldMapEx<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_TAG_FOR_HASH_FIELD_MAP |
| Modifier and Type | Method and Description |
|---|---|
static <T> FieldMapEx<T> |
createFieldMap(Collection<FieldSchema<T>> fields) |
FieldSchema<T> |
getFieldByName(String fieldName) |
FieldSchema<T> |
getFieldByNumber(int n) |
int |
getFieldCount() |
List<FieldSchema<T>> |
getFields() |
static boolean |
preferHashFieldMap(int fieldCount,
int lastFieldNumber) |
static final int MIN_TAG_FOR_HASH_FIELD_MAP
static boolean preferHashFieldMap(int fieldCount,
int lastFieldNumber)
static <T> FieldMapEx<T> createFieldMap(Collection<FieldSchema<T>> fields)
FieldSchema<T> getFieldByNumber(int n)
FieldSchema<T> getFieldByName(String fieldName)
int getFieldCount()
List<FieldSchema<T>> getFields()
Copyright © 2017–2019 The Apache Software Foundation. All rights reserved.