public void setOrder(String orderStr) {
   keySerializeInfo
       .getProperties()
       .setProperty(org.apache.hadoop.hive.serde.Constants.SERIALIZATION_SORT_ORDER, orderStr);
 }
 /**
  * Returns the sort order of the key columns.
  *
  * @return null, which means ascending order for all key columns, or a String of the same length
  *     as key columns, that consists of only "+" (ascending order) and "-" (descending order).
  */
 @Explain(displayName = "sort order")
 public String getOrder() {
   return keySerializeInfo
       .getProperties()
       .getProperty(org.apache.hadoop.hive.serde.Constants.SERIALIZATION_SORT_ORDER);
 }