Package org.terrier.realtime
Interface WritableIndex
-
- All Known Implementing Classes:
MemoryFields,MemoryFieldsIndex,MemoryIndex
public interface WritableIndexInterface that defines the methods that an index should have if it has the ability to write itself to disk once it has been loaded/altered.- Since:
- 4.0
- Author:
- Richard McCreadie
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Indexwrite(java.lang.String path, java.lang.String prefix)Write all of the index structures to disk at the specified location
-
-
-
Method Detail
-
write
Index write(java.lang.String path, java.lang.String prefix) throws java.io.IOException
Write all of the index structures to disk at the specified location- Throws:
java.io.IOException
-
-