@Test public void getIdTest() throws IOException { for (int k = 1; k < CommonConf.get().MAX_COLUMNS; k += CommonConf.get().MAX_COLUMNS / 5) { int fileId = mTfs.createRawTable("/table" + k, 1); RawTable table = mTfs.getRawTable(fileId); Assert.assertEquals(fileId, table.getId()); table = mTfs.getRawTable("/table" + k); Assert.assertEquals(fileId, table.getId()); fileId = mTfs.createRawTable("/tabl" + k, 1, TestUtils.getIncreasingByteBuffer(k % 10)); table = mTfs.getRawTable(fileId); Assert.assertEquals(fileId, table.getId()); table = mTfs.getRawTable("/tabl" + k); Assert.assertEquals(fileId, table.getId()); } }
public int getId() { return CLIENT_RAW_TABLE_INFO.getId(); }
RawTable { public int getId() { return CLIENT_RAW_TABLE_INFO.getId(); } }
RawTable { public int getId() { return CLIENT_RAW_TABLE_INFO.getId(); } RawTable(TachyonFS tachyonClient, ClientRawTableInfo clientRawTableInfo); }
RawTable { public int getId() { return CLIENT_RAW_TABLE_INFO.getId(); } RawTable(TachyonFS tachyonClient, ClientRawTableInfo clientRawTableInfo); int getColumns(); int getId(); ByteBuffer getMetadata(); String getName(); String getPath(); RawColumn getRawColumn(int columnIndex); void updateMetadata(ByteBuffer metadata); }
RawTable { public int getId() { return CLIENT_RAW_TABLE_INFO.getId(); } RawTable(TachyonFS tachyonClient, ClientRawTableInfo clientRawTableInfo); int getColumns(); int getId(); ByteBuffer getMetadata(); String getName(); String getPath(); RawColumn getRawColumn(int columnIndex); void updateMetadata(ByteBuffer metadata);  }