public class RawTable extends Object
Constructor and Description |
---|
RawTable(TachyonFS tachyonClient,
RawTableInfo rawTableInfo)
Creates a new
RawTable |
Modifier and Type | Method and Description |
---|---|
int |
getColumns() |
long |
getId() |
ByteBuffer |
getMetadata() |
String |
getName() |
String |
getPath() |
RawColumn |
getRawColumn(int columnIndex)
Get one column of the raw table.
|
void |
updateMetadata(ByteBuffer metadata)
Update the meta data of the raw table
|
public RawTable(TachyonFS tachyonClient, RawTableInfo rawTableInfo)
RawTable
tachyonClient
- the TachyonFS
clientrawTableInfo
- information describing the tablepublic int getColumns()
public long getId()
public ByteBuffer getMetadata()
public String getName()
public String getPath()
public RawColumn getRawColumn(int columnIndex)
columnIndex
- the index of the columnpublic void updateMetadata(ByteBuffer metadata) throws IOException
metadata
- the new meta dataIOException
- if an event that prevents the metadata from being updated is encountered.Copyright © 2015. All Rights Reserved.