public Query setConsistency(Consistency consistency) {
    this.consistency = consistency;
    return this;
  }
Sets the consistency level for this operation
@param consistency the consistency level
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Query.java