| 限定符和类型 | 方法和说明 |
|---|---|
void |
addBlock(CCFBlock block)
添加块数据到当前列
|
CCFBlock |
getBlock(int blockIndex)
获取指定索引编号的块
|
long |
getBlockDataLength()
获取当前列的块数据总大小
|
int |
getBlockIndexByRecordIndex(long recordIndex,
int currentBlockIndex)
按照记录的索引获取所在的块对象索引
|
int |
getBlockNum()
获取当前列总块数
|
java.lang.String |
getFieldName()
获取当前列的列名
|
FieldType |
getFieldType()
获取当前列的数据类型
|
long |
getRecordNum()
获取当前列包含的记录条目数
|
java.util.Iterator<CCFBlock> |
iterator() |
CCFField<T> |
rename(java.lang.String newName)
列重命名
|
void |
saveTo(edu.sysu.pmglab.unifyIO.FileStream inputStream,
edu.sysu.pmglab.unifyIO.FileStream outputStream)
将该列的数据转存到另一个文件中
|
public CCFBlock getBlock(int blockIndex)
blockIndex - 块索引public FieldType getFieldType()
public java.lang.String getFieldName()
public void addBlock(CCFBlock block)
block - 块数据public int getBlockNum()
public long getBlockDataLength()
public long getRecordNum()
public int getBlockIndexByRecordIndex(long recordIndex,
int currentBlockIndex)
recordIndex - 记录索引currentBlockIndex - 先前已缓存的块索引信息public void saveTo(edu.sysu.pmglab.unifyIO.FileStream inputStream,
edu.sysu.pmglab.unifyIO.FileStream outputStream)
throws java.io.IOException
inputStream - 输入文件流, 该列所在的文件所建立的文件流outputStream - 输出文件流, 要求必须为 CHANNEL_WRITER 类型java.io.IOException - IO 异常