@API.Internal
@API.NotThreadSafe
public interface MetaTable
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
long |
getAverageRowSize() |
java.util.List<ScanRange> |
getScanRanges() |
java.util.List<ScanRange> |
getScanRanges(int chunkSizeMBs) |
java.util.List<ScanRange> |
getScanRanges(org.ojai.store.QueryCondition condition) |
java.util.List<ScanRange> |
getScanRanges(org.ojai.store.QueryCondition condition,
int chunkSizeMBs)
Returns a list of
ScanRange s matching the specified condition |
ScanStats |
getScanStats() |
ScanStats |
getScanStats(org.ojai.store.QueryCondition condition) |
java.util.List<ScanRange> getScanRanges() throws DBException
ScanRange
s of the entire Table.DBException
java.util.List<ScanRange> getScanRanges(int chunkSizeMBs) throws DBException
chunkSizeMBs
- Approximate size of scan ranges to return. This is treated as hint
and the API may return larger or smaller scan ranges.ScanRange
s of the entire Table.DBException
java.util.List<ScanRange> getScanRanges(@API.NonNullable org.ojai.store.QueryCondition condition) throws DBException
condition
- a QueryCondition which should be used to, possibly, prune the scan rangesScanRange
s of the entire Table.DBException
java.util.List<ScanRange> getScanRanges(@API.NonNullable org.ojai.store.QueryCondition condition, int chunkSizeMBs) throws DBException
ScanRange
s matching the specified conditioncondition
- a QueryCondition which should be used to, possibly, prune the scan rangeschunkSizeMBs
- Approximate size of scan ranges to return. This is treated as hint
and the API may return larger or smaller scan ranges.ScanRange
over this Table matching the specified condition.DBException
ScanStats getScanStats() throws DBException
ScanStats
for the entire Table.DBException
ScanStats getScanStats(@API.NonNullable org.ojai.store.QueryCondition condition) throws DBException
condition
- a condition object provided by the user or applicationScanStats
over this Table matching the specified condition.DBException
long getAverageRowSize() throws DBException
long
Average row size of this table.DBException