com.senseidb.search.node
Class SenseiZoieFactory<D>

java.lang.Object
  extended by com.senseidb.search.node.SenseiZoieFactory<D>
Direct Known Subclasses:
SenseiHourglassFactory, SenseiPairFactory, SenseiZoieSystemFactory

public abstract class SenseiZoieFactory<D>
extends Object


Field Summary
protected  proj.zoie.api.DirectoryManager.DIRECTORY_MODE _dirMode
           
protected  File _idxDir
           
protected  SenseiIndexReaderDecorator _indexReaderDecorator
           
protected  proj.zoie.api.indexing.ZoieIndexableInterpreter<D> _interpreter
           
protected  proj.zoie.impl.indexing.ZoieConfig _zoieConfig
           
 
Constructor Summary
SenseiZoieFactory(File idxDir, proj.zoie.api.DirectoryManager.DIRECTORY_MODE dirMode, proj.zoie.api.indexing.ZoieIndexableInterpreter<D> interpreter, SenseiIndexReaderDecorator indexReaderDecorator, proj.zoie.impl.indexing.ZoieConfig zoieConfig)
           
 
Method Summary
 SenseiIndexReaderDecorator getDecorator()
           
 proj.zoie.api.indexing.ZoieIndexableInterpreter<D> getInterpreter()
           
static File getPath(File idxDir, int nodeId, int partitionId)
           
abstract  File getPath(int nodeId, int partitionId)
           
 Comparator<String> getVersionComparator()
           
abstract  proj.zoie.api.Zoie<com.browseengine.bobo.api.BoboIndexReader,D> getZoieInstance(int nodeId, int partitionId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_idxDir

protected final File _idxDir

_interpreter

protected final proj.zoie.api.indexing.ZoieIndexableInterpreter<D> _interpreter

_indexReaderDecorator

protected final SenseiIndexReaderDecorator _indexReaderDecorator

_zoieConfig

protected final proj.zoie.impl.indexing.ZoieConfig _zoieConfig

_dirMode

protected final proj.zoie.api.DirectoryManager.DIRECTORY_MODE _dirMode
Constructor Detail

SenseiZoieFactory

public SenseiZoieFactory(File idxDir,
                         proj.zoie.api.DirectoryManager.DIRECTORY_MODE dirMode,
                         proj.zoie.api.indexing.ZoieIndexableInterpreter<D> interpreter,
                         SenseiIndexReaderDecorator indexReaderDecorator,
                         proj.zoie.impl.indexing.ZoieConfig zoieConfig)
Method Detail

getPath

public static File getPath(File idxDir,
                           int nodeId,
                           int partitionId)

getDecorator

public SenseiIndexReaderDecorator getDecorator()

getInterpreter

public proj.zoie.api.indexing.ZoieIndexableInterpreter<D> getInterpreter()

getVersionComparator

public Comparator<String> getVersionComparator()

getZoieInstance

public abstract proj.zoie.api.Zoie<com.browseengine.bobo.api.BoboIndexReader,D> getZoieInstance(int nodeId,
                                                                                                int partitionId)

getPath

public abstract File getPath(int nodeId,
                             int partitionId)


Copyright © 2010-2012. All Rights Reserved.