Cell midkey = dataBlockIndexReader.midkey(); assertNotNull("Midkey should not be null", midkey);
/** * @return Midkey for this file. We work with block boundaries only so * returned midkey is an approximation only. * * @throws IOException */ @Override public byte[] midkey() throws IOException { Preconditions.checkState(isFileInfoLoaded(), "File info is not loaded"); Preconditions.checkState(!dataBlockIndexReader.isEmpty(), "Data block index is not loaded or is empty"); return dataBlockIndexReader.midkey(); }
Cell midkey = dataBlockIndexReader.midkey(); assertNotNull("Midkey should not be null", midkey);
/** * @return Midkey for this file. We work with block boundaries only so * returned midkey is an approximation only. * @throws IOException */ @Override public byte[] midkey() throws IOException { return dataBlockIndexReader.midkey(); }
/** * @return Midkey for this file. We work with block boundaries only so * returned midkey is an approximation only. * @throws IOException */ @Override public byte[] midkey() throws IOException { return dataBlockIndexReader.midkey(); }