@Test public void testUnknownTodo() { TestUtils.assertEquals("unknown", TableUtils.getTodoText(7879797987L)); }
static String getTodoText(long code) { switch ((int) (code & 0xff)) { case TODO_TRUNCATE: return "truncate"; case TODO_RESTORE_META: return "restore meta"; default: return "unknown"; } }
TableUtils { static String getTodoText(long code) { switch ((int) (code & 0xff)) { case TODO_TRUNCATE: return "truncate"; case TODO_RESTORE_META: return "restore meta"; default: return "unknown"; } } }
TableUtils { static String getTodoText(long code) { switch ((int) (code & 0xff)) { case TODO_TRUNCATE: return "truncate"; case TODO_RESTORE_META: return "restore meta"; default: return "unknown"; } } private  TableUtils(); }
TableUtils { static String getTodoText(long code) { switch ((int) (code & 0xff)) { case TODO_TRUNCATE: return "truncate"; case TODO_RESTORE_META: return "restore meta"; default: return "unknown"; } } private  TableUtils(); static void createTable(
            FilesFacade ff,
            AppendMemory memory,
            Path path,
            @Transient CharSequence root,
            TableStructure structure,
            int mkDirMode
    ); static void createTable(
            FilesFacade ff,
            AppendMemory memory,
            Path path,
            @Transient CharSequence root,
            TableStructure structure,
            int mkDirMode,
            int tableVersion
    ); static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name); static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name, int lo, int hi); static long getColumnNameOffset(int columnCount); static long getPartitionTableIndexOffset(int symbolWriterCount, int index); static long getPartitionTableSizeOffset(int symbolWriterCount); static long getSymbolWriterIndexOffset(int index); static long getTxMemSize(int symbolWriterCount, int removedPartitionsCount); static long lock(FilesFacade ff, Path path); static void lockName(Path path); static void resetTxn(VirtualMemory txMem, int symbolMapCount, long txn, long dataVersion); static int toIndexKey(int symbolKey); static void validate(FilesFacade ff, ReadOnlyColumn metaMem, CharSequenceIntHashMap nameIndex); static void validateIndexValueBlockSize(int position, int indexValueBlockSize); static void validateSymbolCapacity(int position, int symbolCapacity); static void validateSymbolCapacityCached(boolean cache, int symbolCapacity, int cacheKeywordPosition); }
TableUtils { static String getTodoText(long code) { switch ((int) (code & 0xff)) { case TODO_TRUNCATE: return "truncate"; case TODO_RESTORE_META: return "restore meta"; default: return "unknown"; } } private  TableUtils(); static void createTable(
            FilesFacade ff,
            AppendMemory memory,
            Path path,
            @Transient CharSequence root,
            TableStructure structure,
            int mkDirMode
    ); static void createTable(
            FilesFacade ff,
            AppendMemory memory,
            Path path,
            @Transient CharSequence root,
            TableStructure structure,
            int mkDirMode,
            int tableVersion
    ); static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name); static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name, int lo, int hi); static long getColumnNameOffset(int columnCount); static long getPartitionTableIndexOffset(int symbolWriterCount, int index); static long getPartitionTableSizeOffset(int symbolWriterCount); static long getSymbolWriterIndexOffset(int index); static long getTxMemSize(int symbolWriterCount, int removedPartitionsCount); static long lock(FilesFacade ff, Path path); static void lockName(Path path); static void resetTxn(VirtualMemory txMem, int symbolMapCount, long txn, long dataVersion); static int toIndexKey(int symbolKey); static void validate(FilesFacade ff, ReadOnlyColumn metaMem, CharSequenceIntHashMap nameIndex); static void validateIndexValueBlockSize(int position, int indexValueBlockSize); static void validateSymbolCapacity(int position, int symbolCapacity); static void validateSymbolCapacityCached(boolean cache, int symbolCapacity, int cacheKeywordPosition); static final int TABLE_EXISTS; static final int TABLE_DOES_NOT_EXIST; static final int TABLE_RESERVED; static final String META_FILE_NAME; static final String TXN_FILE_NAME; static final int INITIAL_TXN; static final int NULL_LEN; static final int ANY_TABLE_VERSION; }