Package org.apache.hadoop.hbase.hbtop
Class Record
java.lang.Object
org.apache.hadoop.hbase.hbtop.Record
- All Implemented Interfaces:
Map<Field,
FieldValue>
Represents a record of the metrics in the top screen.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field,
FieldValue> -
Constructor Summary
ModifierConstructorDescriptionprivate
Record
(org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field, FieldValue> values) -
Method Summary
Modifier and TypeMethodDescriptionstatic Record.Builder
builder()
void
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) static Record.Entry
static Record.Entry
entry
(Field field, FieldValue value) entrySet()
boolean
isEmpty()
keySet()
static Record
ofEntries
(Stream<Record.Entry> entries) static Record
ofEntries
(Record.Entry... entries) put
(Field key, FieldValue value) void
putAll
(Map<? extends Field, ? extends FieldValue> m) int
size()
values()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
values
private final org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field,FieldValue> values
-
-
Constructor Details
-
Record
private Record(org.apache.hbase.thirdparty.com.google.common.collect.ImmutableMap<Field, FieldValue> values)
-
-
Method Details
-
builder
-
entry
-
entry
-
ofEntries
-
ofEntries
-
size
- Specified by:
size
in interfaceMap<Field,
FieldValue>
-
isEmpty
- Specified by:
isEmpty
in interfaceMap<Field,
FieldValue>
-
containsKey
- Specified by:
containsKey
in interfaceMap<Field,
FieldValue>
-
containsValue
- Specified by:
containsValue
in interfaceMap<Field,
FieldValue>
-
get
- Specified by:
get
in interfaceMap<Field,
FieldValue>
-
put
- Specified by:
put
in interfaceMap<Field,
FieldValue>
-
remove
- Specified by:
remove
in interfaceMap<Field,
FieldValue>
-
putAll
- Specified by:
putAll
in interfaceMap<Field,
FieldValue>
-
clear
- Specified by:
clear
in interfaceMap<Field,
FieldValue>
-
keySet
- Specified by:
keySet
in interfaceMap<Field,
FieldValue>
-
values
- Specified by:
values
in interfaceMap<Field,
FieldValue>
-
entrySet
- Specified by:
entrySet
in interfaceMap<Field,
FieldValue>
-
combine
-