org.compass.gps.device.support.parallel
Class GenericIndexEntity

java.lang.Object
  extended by org.compass.gps.device.support.parallel.GenericIndexEntity
All Implemented Interfaces:
IndexEntity
Direct Known Subclasses:
SqlMapIndexEntity

public class GenericIndexEntity
extends Object
implements IndexEntity

A generic implementation of index entity.

Author:
kimchy

Constructor Summary
GenericIndexEntity(String name, String[] subIndexes)
           
 
Method Summary
 String getName()
          Returns the name of the index entity.
 String[] getSubIndexes()
          Returns a list of the sub indexes this indexable content the index entity represents is going to be indexed into.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericIndexEntity

public GenericIndexEntity(String name,
                          String[] subIndexes)
Method Detail

getName

public String getName()
Description copied from interface: IndexEntity
Returns the name of the index entity.

Specified by:
getName in interface IndexEntity

getSubIndexes

public String[] getSubIndexes()
Description copied from interface: IndexEntity
Returns a list of the sub indexes this indexable content the index entity represents is going to be indexed into. Used for parallel indexing.

Specified by:
getSubIndexes in interface IndexEntity


Copyright (c) 2004-2009 The Compass Project.