@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
ScanRanges matching the specified condition |
ScanStats |
getScanStats() |
ScanStats |
getScanStats(org.ojai.store.QueryCondition condition) |
java.util.List<ScanRange> getScanRanges() throws DBException
ScanRanges of the entire Table.DBExceptionjava.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.ScanRanges of the entire Table.DBExceptionjava.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 rangesScanRanges of the entire Table.DBExceptionjava.util.List<ScanRange> getScanRanges(@API.NonNullable org.ojai.store.QueryCondition condition, int chunkSizeMBs) throws DBException
ScanRanges 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.DBExceptionScanStats getScanStats() throws DBException
ScanStats for the entire Table.DBExceptionScanStats 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.DBExceptionlong getAverageRowSize()
throws DBException
long Average row size of this table.DBException