Package org.teiid.internal.core.index
Class FileListBlock
- java.lang.Object
-
- org.teiid.internal.core.index.Block
-
- org.teiid.internal.core.index.FileListBlock
-
public class FileListBlock extends Block
-
-
Constructor Summary
Constructors Constructor Description FileListBlock(int blockSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addFile(IndexedFile indexedFile)
add the name of the indexedfile to the buffr of the field.IndexedFile
getFile(int fileNum)
protected String[]
getPaths()
Creates a vector of paths reading the buffer of the field.boolean
isEmpty()
void
reset()
-
-
-
Method Detail
-
addFile
public boolean addFile(IndexedFile indexedFile)
add the name of the indexedfile to the buffr of the field. The name is not the entire name of the indexedfile, but the difference between its name and the name of the previous indexedfile ...
-
getFile
public IndexedFile getFile(int fileNum) throws IOException
- Throws:
IOException
-
getPaths
protected String[] getPaths() throws IOException
Creates a vector of paths reading the buffer of the field.- Throws:
IOException
-
isEmpty
public boolean isEmpty()
-
reset
public void reset()
-
-