Package org.terrier.structures
Class IndexOnDisk.DiskIndexLoader
- java.lang.Object
-
- org.terrier.structures.IndexOnDisk.DiskIndexLoader
-
- All Implemented Interfaces:
IndexFactory.IndexLoader
- Enclosing class:
- IndexOnDisk
public static class IndexOnDisk.DiskIndexLoader extends java.lang.Object implements IndexFactory.IndexLoader
-
-
Constructor Summary
Constructors Constructor Description DiskIndexLoader()
-
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 referenceIndex
load(IndexRef ref)
Returns the Index for this IndexRefboolean
supports(IndexRef ref)
Does this IndexLoader support this IndexRef
-
-
-
Method Detail
-
supports
public boolean supports(IndexRef ref)
Description copied from interface:IndexFactory.IndexLoader
Does this IndexLoader support this IndexRef- Specified by:
supports
in interfaceIndexFactory.IndexLoader
-
load
public Index load(IndexRef ref)
Description copied from interface:IndexFactory.IndexLoader
Returns the Index for this IndexRef- Specified by:
load
in interfaceIndexFactory.IndexLoader
-
indexImplementor
public java.lang.Class<? extends Index> indexImplementor(IndexRef ref)
Description copied from interface:IndexFactory.IndexLoader
Returns the class that will implement the Index for the passed reference- Specified by:
indexImplementor
in interfaceIndexFactory.IndexLoader
-
-