org.apache.lucene.store.db
public class DbIndexOutput extends IndexOutput
| Field Summary | |
|---|---|
| protected Block | block |
| static int | BLOCK_LEN |
| static int | BLOCK_MASK |
| static int | BLOCK_SHIFT
The size of data blocks, currently 16k (2^14), is determined by this
constant. |
| protected DbDirectory | directory |
| protected File | file |
| protected long | length |
| protected long | position |
| Constructor Summary | |
|---|---|
| protected | DbIndexOutput(DbDirectory directory, String name, boolean create) |
| Method Summary | |
|---|---|
| void | close() |
| void | flush() |
| long | getFilePointer() |
| long | length() |
| void | seek(long pos) |
| void | writeByte(byte b) |
| void | writeBytes(byte[] b, int offset, int len) |