Configure columns to store MOBs
You can configure a column to store MOBs using the HBase Shell or the Java API.
Use the following options in the HBase Shell or Java API to configure a column to store MOBs:
-
IS_MOB
specifies whether or not the column can store MOBs. This is a Boolean option where you can set it totrue
orfalse
. -
MOB_THRESHOLD
configures the number of bytes at which an object is considered to be a MOB. If you do not specify a value for MOB_THRESHOLD, the default is 100 KB. If you write a value larger than this threshold, it is treated as a MOB.