/** * Get raw data size of a give table * @return raw data size */ public static long getRawDataSize(Table table) { return getBasicStatForTable(table, StatsSetupConst.RAW_DATA_SIZE); }
/** * Get number of Erasure Coded files for a table * @return count of EC files */ public static long getErasureCodedFiles(Table table) { return getBasicStatForTable(table, StatsSetupConst.NUM_ERASURE_CODED_FILES); }
/** * Get total size of a give table * @return total size */ public static long getTotalSize(Table table) { return getBasicStatForTable(table, StatsSetupConst.TOTAL_SIZE); }
/** * Get number of rows of a give table * @return number of rows */ public static long getNumRows(Table table) { return getBasicStatForTable(table, StatsSetupConst.ROW_COUNT); }
/** * Get total size of a give table * @return total size */ public static long getTotalSize(Table table) { return getBasicStatForTable(table, StatsSetupConst.TOTAL_SIZE); }
/** * Get raw data size of a give table * @return raw data size */ public static long getRawDataSize(Table table) { return getBasicStatForTable(table, StatsSetupConst.RAW_DATA_SIZE); }
/** * Get number of rows of a give table * @return number of rows */ @Deprecated public static long getNumRows(Table table) { return getBasicStatForTable(table, StatsSetupConst.ROW_COUNT); }
/** * Get raw data size of a give table * @return raw data size */ public static long getRawDataSize(Table table) { return getBasicStatForTable(table, StatsSetupConst.RAW_DATA_SIZE); }
/** * Get number of rows of a give table * @return number of rows */ public static long getNumRows(Table table) { return getBasicStatForTable(table, StatsSetupConst.ROW_COUNT); }
/** * Get total size of a give table * @return total size */ public static long getTotalSize(Table table) { return getBasicStatForTable(table, StatsSetupConst.TOTAL_SIZE); }