public int getReplicaId() {
    return this.targetReplicaId;
  }
Returns region replica id where Query will fetch data from.
@return region replica id or -1 if not set.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Query.java