Package elki.index

Class PagedIndexFactory<O>

  • Type Parameters:
    O - Object type
    All Implemented Interfaces:
    elki.index.IndexFactory<O>

    public abstract class PagedIndexFactory<O>
    extends java.lang.Object
    implements elki.index.IndexFactory<O>
    Abstract base class for tree-based indexes.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PagedIndexFactory.Par<O>
      Parameterization class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private elki.persistent.PageFileFactory<?> pageFileFactory
      Page file factory.
    • Constructor Summary

      Constructors 
      Constructor Description
      PagedIndexFactory​(elki.persistent.PageFileFactory<?> pageFileFactory)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <N extends elki.persistent.Page & java.io.Externalizable>
      elki.persistent.PageFile<N>
      makePageFile​(java.lang.Class<N> cls)
      Make the page file for this index.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface elki.index.IndexFactory

        getInputTypeRestriction, instantiate
    • Field Detail

      • pageFileFactory

        private elki.persistent.PageFileFactory<?> pageFileFactory
        Page file factory.
    • Constructor Detail

      • PagedIndexFactory

        public PagedIndexFactory​(elki.persistent.PageFileFactory<?> pageFileFactory)
        Constructor.
        Parameters:
        pageFileFactory - Page file factory
    • Method Detail

      • makePageFile

        protected <N extends elki.persistent.Page & java.io.Externalizable> elki.persistent.PageFile<N> makePageFile​(java.lang.Class<N> cls)
        Make the page file for this index.
        Type Parameters:
        N - page type
        Parameters:
        cls - Class information
        Returns:
        Page file