Package org.terrier.realtime.memory
Class MemoryIndex.Loader
- java.lang.Object
-
- org.terrier.realtime.memory.MemoryIndex.Loader
-
- All Implemented Interfaces:
IndexFactory.IndexLoader
- Enclosing class:
- MemoryIndex
public static class MemoryIndex.Loader extends java.lang.Object implements IndexFactory.IndexLoader
-
-
Constructor Summary
Constructors Constructor Description Loader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends Index>indexImplementor(IndexRef ref)Returns the class that will implement the Index for the passed referenceIndexload(IndexRef ref)Returns the Index for this IndexRefbooleansupports(IndexRef ref)Does this IndexLoader support this IndexRef
-
-
-
Method Detail
-
supports
public boolean supports(IndexRef ref)
Description copied from interface:IndexFactory.IndexLoaderDoes this IndexLoader support this IndexRef- Specified by:
supportsin interfaceIndexFactory.IndexLoader
-
load
public Index load(IndexRef ref)
Description copied from interface:IndexFactory.IndexLoaderReturns the Index for this IndexRef- Specified by:
loadin interfaceIndexFactory.IndexLoader
-
indexImplementor
public java.lang.Class<? extends Index> indexImplementor(IndexRef ref)
Description copied from interface:IndexFactory.IndexLoaderReturns the class that will implement the Index for the passed reference- Specified by:
indexImplementorin interfaceIndexFactory.IndexLoader
-
-