public final class ArrayFieldMapEx<T> extends Object implements FieldMapEx<T>
HashFieldMapEx should be used.HashFieldMapExMIN_TAG_FOR_HASH_FIELD_MAP| Constructor and Description |
|---|
ArrayFieldMapEx(Collection<FieldSchema<T>> fields,
int lastFieldNumber) |
| Modifier and Type | Method and Description |
|---|---|
FieldSchema<T> |
getFieldByName(String fieldName) |
FieldSchema<T> |
getFieldByNumber(int n) |
int |
getFieldCount()
Returns the message's total number of fields.
|
List<FieldSchema<T>> |
getFields() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateFieldMap, preferHashFieldMappublic ArrayFieldMapEx(Collection<FieldSchema<T>> fields, int lastFieldNumber)
public FieldSchema<T> getFieldByNumber(int n)
getFieldByNumber in interface FieldMapEx<T>public FieldSchema<T> getFieldByName(String fieldName)
getFieldByName in interface FieldMapEx<T>public int getFieldCount()
getFieldCount in interface FieldMapEx<T>public List<FieldSchema<T>> getFields()
getFields in interface FieldMapEx<T>Copyright © 2017–2019 The Apache Software Foundation. All rights reserved.