public class FieldValueList extends AbstractList<FieldValue> implements Serializable
FieldValueList)
may or may not contain related schema. If schema is not provided, the individual cells of the row
will still be accessible by index but not by name.modCount| Modifier and Type | Method and Description |
|---|---|
FieldValue |
get(int index)
Gets field value by index.
|
FieldValue |
get(String name)
Gets field value by index.
|
boolean |
hasSchema()
Returns
true if schema is provided, false otherwise. |
int |
size()
Returns the total number of field values in the row.
|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic FieldValue get(int index)
get in interface List<FieldValue>get in class AbstractList<FieldValue>index - field value indexpublic FieldValue get(String name)
name - field name (defined in schema)IllegalArgumentException - if schema is not provided or if name was not found
in the schemapublic boolean hasSchema()
true if schema is provided, false otherwise.public int size()
size in interface Collection<FieldValue>size in interface List<FieldValue>size in class AbstractCollection<FieldValue>Copyright © 2017 Google. All rights reserved.