public ReaderContextBuilder withReaderType(ReaderType type) {
    this.type = type;
    return this;
  }
A builder that helps in building up the ReaderContext
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/ReaderContextBuilder.java