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