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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatasFloat()intasInt()longasLong()asSize()asString()intintprivate Size.UnitconvertToUnit(String unitSimpleName) booleaninthashCode()private SizeoptimizeSize(Size size) private FloatparsePercentString(String percentString) private SizeparseSizeString(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:
compareToin interfaceComparable<FieldValue>
-
equals
-
hashCode
-
plus
-
compareToIgnoreCase
-