@InterfaceAudience.Private public final class Record extends Object implements Map<Field,FieldValue>
Modifier and Type | Class and Description |
---|---|
static class |
Record.Builder |
static class |
Record.Entry |
Modifier and Type | Field and Description |
---|---|
private org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field,FieldValue> |
values |
Modifier | Constructor and Description |
---|---|
private |
Record(org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field,FieldValue> values) |
Modifier and Type | Method and Description |
---|---|
static Record.Builder |
builder() |
void |
clear() |
Record |
combine(Record o) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
static Record.Entry |
entry(Field field,
FieldValue value) |
static Record.Entry |
entry(Field field,
Object value) |
Set<Map.Entry<Field,FieldValue>> |
entrySet() |
FieldValue |
get(Object key) |
boolean |
isEmpty() |
Set<Field> |
keySet() |
static Record |
ofEntries(Record.Entry... entries) |
static Record |
ofEntries(Stream<Record.Entry> entries) |
FieldValue |
put(Field key,
FieldValue value) |
void |
putAll(Map<? extends Field,? extends FieldValue> m) |
FieldValue |
remove(Object key) |
int |
size() |
Collection<FieldValue> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
private final org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field,FieldValue> values
private Record(org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field,FieldValue> values)
public static Record.Builder builder()
public static Record.Entry entry(Field field, Object value)
public static Record.Entry entry(Field field, FieldValue value)
public static Record ofEntries(Record.Entry... entries)
public static Record ofEntries(Stream<Record.Entry> entries)
public int size()
size
in interface Map<Field,FieldValue>
public boolean isEmpty()
isEmpty
in interface Map<Field,FieldValue>
public boolean containsKey(Object key)
containsKey
in interface Map<Field,FieldValue>
public boolean containsValue(Object value)
containsValue
in interface Map<Field,FieldValue>
public FieldValue get(Object key)
get
in interface Map<Field,FieldValue>
public FieldValue put(Field key, FieldValue value)
put
in interface Map<Field,FieldValue>
public FieldValue remove(Object key)
remove
in interface Map<Field,FieldValue>
public void putAll(@NonNull Map<? extends Field,? extends FieldValue> m)
putAll
in interface Map<Field,FieldValue>
public void clear()
clear
in interface Map<Field,FieldValue>
@NonNull public Collection<FieldValue> values()
values
in interface Map<Field,FieldValue>
@NonNull public Set<Map.Entry<Field,FieldValue>> entrySet()
entrySet
in interface Map<Field,FieldValue>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.