hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vamshi Krishna <vamshi2...@gmail.com>
Subject Integrity constraints
Date Wed, 25 Apr 2012 04:35:53 GMT
Hi all ,  here i am having one basic doubt about constraints on hbase
table, after knowing there is no concept of data types in hbase and
everything is stored in the bytes.
 Suppose a table in hbase has 3 columns,(under same column family)
1st column is 'Name' which accepts only character strings not numbers and
special symbols.
2nd column 'phoneNumber', which is numerals that too exactly 10 digits, and
3rd column 'city' which should accept only upper case character strings. If
such is the situation, how to enforce the constraints on each of the
columns of hbase table?

Also Can anybody please tell how to write the equivalent  query in hbase
shell and Java to do so?
Vamshi Krishna

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message