Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 0.7.0
-
Fix Version/s: 0.9.0
-
Component/s: HBase Module
-
Labels:None
Description
Incrementable fields should have a special annotation. This will help us to do validation at schema creation time that a field really can be incremented.
Fields that can't be incremented include fields that are part of a schema that has an occVersion field. This is because get/update/put operations won't be protected from an atomic increment that doesn't increment the special version field protecting the get/update/put operation.
Also, only integer or long fields should be incrementable.
When accumulo support is included, validation that a column is an aggregator would be an additional validation that should be done at schema creation time.