Package org.apache.hadoop.hbase.util
Class RegionSplitter.HexStringSplit
java.lang.Object
org.apache.hadoop.hbase.util.RegionSplitter.NumberStringSplit
org.apache.hadoop.hbase.util.RegionSplitter.HexStringSplit
- All Implemented Interfaces:
RegionSplitter.SplitAlgorithm
- Enclosing class:
- RegionSplitter
HexStringSplit is a well-known
RegionSplitter.SplitAlgorithm
for choosing region boundaries. The
format of a HexStringSplit region boundary is the ASCII representation of an MD5 checksum, or
any other uniformly distributed hexadecimal value. Row are hex-encoded long values in the range
"00000000" => "FFFFFFFF" and are left-padded with zeros to keep the same order
lexicographically as if they were binary. Since this split algorithm uses hex strings as keys,
it is easy to read & write in the shell but takes up more space and may be non-intuitive.-
Field Summary
Modifier and TypeFieldDescription(package private) static final String
(package private) static final String
(package private) static final int
Fields inherited from class org.apache.hadoop.hbase.util.RegionSplitter.NumberStringSplit
firstRow, firstRowInt, lastRow, lastRowInt, radix, rowComparisonLength
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.util.RegionSplitter.NumberStringSplit
convertToBigInteger, convertToByte, convertToByte, convertToBytes, firstRow, lastRow, rowToStr, separator, setFirstRow, setFirstRow, setLastRow, setLastRow, split, split, split, split2, strToRow, toString
-
Field Details
-
DEFAULT_MIN_HEX
- See Also:
-
DEFAULT_MAX_HEX
- See Also:
-
RADIX_HEX
- See Also:
-
-
Constructor Details
-
HexStringSplit
public HexStringSplit()
-