Class FieldValue
java.lang.Object
org.apache.hadoop.hbase.hbtop.field.FieldValue
- All Implemented Interfaces:
Comparable<FieldValue>
Represents a value of a field. The type of a value is defined by
FieldValue
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
asFloat()
int
asInt()
long
asLong()
asSize()
asString()
int
int
private Size.Unit
convertToUnit
(String unitSimpleName) boolean
int
hashCode()
private Size
optimizeSize
(Size size) private Float
parsePercentString
(String percentString) private Size
parseSizeString
(String sizeString) plus
(FieldValue o) toString()
-
Field Details
-
value
-
type
-
-
Constructor Details
-
FieldValue
FieldValue(Object value, FieldValueType type)
-
-
Method Details
-
optimizeSize
-
parseSizeString
-
convertToUnit
-
parsePercentString
-
asString
-
asInt
-
asLong
-
asFloat
-
asSize
-
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<FieldValue>
-
equals
-
hashCode
-
plus
-
compareToIgnoreCase
-