public long getEntries() { return reader.getEntries(); }
public long getEntries() { return reader.getEntries(); }
@Override public long keyCount() { return reader.getEntries(); }
@Override public long getEntryCount() { return reader.getEntries(); }
/** * The number of Bloom filter entries in this store file, or an estimate * thereof, if the Bloom filter is not loaded. This always returns an upper * bound of the number of Bloom filter entries. * * @return an estimate of the number of Bloom filter entries in this file */ public long getFilterEntries() { return generalBloomFilter != null ? generalBloomFilter.getKeyCount() : reader.getEntries(); }
@Override public float getProgress() throws IOException, InterruptedException { // This would be inaccurate if KVs are not uniformly-sized or we have performed a seek to // the start row, but better than nothing anyway. return 1.0f * count / in.getEntries(); }
@Override public long getEntryCount() { return reader.getEntries(); }
/** * The number of Bloom filter entries in this store file, or an estimate * thereof, if the Bloom filter is not loaded. This always returns an upper * bound of the number of Bloom filter entries. * * @return an estimate of the number of Bloom filter entries in this file */ public long getFilterEntries() { return generalBloomFilter != null ? generalBloomFilter.getKeyCount() : reader.getEntries(); }
@Override public float getProgress() throws IOException, InterruptedException { // This would be inaccurate if KVs are not uniformly-sized or we have performed a seek to // the start row, but better than nothing anyway. return 1.0f * count / in.getEntries(); }
@Override public float getProgress() throws IOException, InterruptedException { // This would be inaccurate if KVs are not uniformly-sized or we have performed a seek to // the start row, but better than nothing anyway. return 1.0f * count / in.getEntries(); }
@Override public float getProgress() throws IOException, InterruptedException { // This would be inaccurate if KVs are not uniformly-sized or we have performed a seek to // the start row, but better than nothing anyway. return 1.0f * count / in.getEntries(); }
public long getEntries() { return reader.getEntries(); }
@Override public float getProgress() throws IOException, InterruptedException { // This would be inaccurate if KVs are not uniformly-sized or we have performed a seek to // the start row, but better than nothing anyway. return 1.0f * count / in.getEntries(); }
/** * The number of Bloom filter entries in this store file, or an estimate * thereof, if the Bloom filter is not loaded. This always returns an upper * bound of the number of Bloom filter entries. * * @return an estimate of the number of Bloom filter entries in this file */ public long getFilterEntries() { return generalBloomFilter != null ? generalBloomFilter.getKeyCount() : reader.getEntries(); }