String은 ENCODING STRING으로
숫자는 ENCODING BINARY로 하는 게 속도가 빠름.
CREATE HBASE TABLE enc_str (
ti TINYINT, si SMALLINT, i INT,
bi BIGINT, b BOOLEAN, f FLOAT,
d DOUBLE, s1 STRING, s2 STRING,
s3 STRING, s4 STRING, s5 STRING
)
COLUMN MAPPING (
KEY MAPPED BY (s1,ti,bi,i) ENCODING STRING,
f1:a MAPPED BY (si,s2,f) ENCODING STRING,
f1:b MAPPED BY (d,b,s3) ENCODING STRING,
f1:c MAPPED BY (s4,s5) ENCODING STRING
);