public class IntegerIndexFileBuilder
extends java.lang.Object
Copyright 2009 Partner Software, Inc.
| Constructor and Description |
|---|
IntegerIndexFileBuilder(Path path) |
IntegerIndexFileBuilder(java.lang.String pathString) |
IntegerIndexFileBuilder(VfsFile file) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(int key,
long offset) |
void |
finish() |
int |
getBatchSize() |
int |
getBufferSize() |
void |
setBatchSize(int batchSize) |
void |
setBufferSize(int bufferSize) |
void |
start()
This should be called before addItem() is called, but after any parameters like bufferSize are set.
|
public IntegerIndexFileBuilder(java.lang.String pathString)
throws java.io.IOException
java.io.IOExceptionpublic IntegerIndexFileBuilder(Path path) throws java.io.IOException
java.io.IOExceptionpublic IntegerIndexFileBuilder(VfsFile file) throws java.io.IOException
java.io.IOExceptionpublic void start()
throws java.io.IOException
java.io.IOExceptionpublic void addRecord(int key,
long offset)
throws java.io.IOException
java.io.IOExceptionpublic void finish()
throws java.io.IOException
java.io.IOExceptionpublic int getBatchSize()
public void setBatchSize(int batchSize)
public int getBufferSize()
public void setBufferSize(int bufferSize)