public static TreeRule parseFromStorage(final KeyValue column) {
    if (column.value() == null) {
      throw new IllegalArgumentException("Tree rule column value was null");
    }
    
    final TreeRule rule = JSON.parseToObject(column.value(), TreeRule.class);
    rule.initializeChangedMap();
    return rule;
  }
public static TreeRule parseFromStorage ( final KeyValue column ) { if ( column . value ( ) == null ) { throw new IllegalArgumentException ( "Tree rule column value was null" ) ; } final TreeRule rule = JSON . parseToObject ( column . value ( ) , TreeRule . class ) ; rule . initializeChangedMap ( ) ; return rule ; }
Parses a rule from the given column. Used by the Tree class when scanning
a row for rules.
@param column The column to parse
@return A valid TreeRule object if parsed successfully
@throws IllegalArgumentException if the column was empty
@throws JSONException if the object could not be serialized