@Test public void testForeignDirectory() { try (Path path = new Path()) { Assert.assertEquals(TABLE_RESERVED, TableUtils.exists(FF, path, temp.getRoot().getAbsolutePath(), "")); } }
public static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name) { return exists(ff, path, root, name, 0, name.length()); }
TableUtils { public static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name) { return exists(ff, path, root, name, 0, name.length()); } }
TableUtils { public static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name) { return exists(ff, path, root, name, 0, name.length()); } private  TableUtils(); }
TableUtils { public static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name) { return exists(ff, path, root, name, 0, name.length()); } 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 { public static int exists(FilesFacade ff, Path path, CharSequence root, CharSequence name) { return exists(ff, path, root, name, 0, name.length()); } 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; }