org.compass.gps
Class DefaultIndexPlan

java.lang.Object
  extended by org.compass.gps.DefaultIndexPlan
All Implemented Interfaces:
IndexPlan

public class DefaultIndexPlan
extends Object
implements IndexPlan

Author:
kimchy

Constructor Summary
DefaultIndexPlan()
           
 
Method Summary
 String[] getAliases()
          Returns the given aliases that will be indexed.
 String[] getSubIndexes()
          Returns the given sub indexes that will be indexed.
 Class[] getTypes()
          Returns the given classes that will be indexed.
 IndexPlan setAliases(String... aliases)
          Sets the given aliases that will be indexed.
 IndexPlan setSubIndexes(String... subIndexes)
          Sets the given sub indexes that will be indexed.
 IndexPlan setTypes(Class... types)
          Sets the given classes that will be indexed.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultIndexPlan

public DefaultIndexPlan()
Method Detail

getTypes

public Class[] getTypes()
Description copied from interface: IndexPlan
Returns the given classes that will be indexed. null value means that it will not be taken into account.

Specified by:
getTypes in interface IndexPlan

setTypes

public IndexPlan setTypes(Class... types)
Description copied from interface: IndexPlan
Sets the given classes that will be indexed. null value means that it will not be taken into account.

Specified by:
setTypes in interface IndexPlan

getAliases

public String[] getAliases()
Description copied from interface: IndexPlan
Returns the given aliases that will be indexed. null value means that it will not be taken into account.

Specified by:
getAliases in interface IndexPlan

setAliases

public IndexPlan setAliases(String... aliases)
Description copied from interface: IndexPlan
Sets the given aliases that will be indexed. null value means that it will not be taken into account.

Specified by:
setAliases in interface IndexPlan

getSubIndexes

public String[] getSubIndexes()
Description copied from interface: IndexPlan
Returns the given sub indexes that will be indexed. null value means that it will not be taken into account.

Specified by:
getSubIndexes in interface IndexPlan

setSubIndexes

public IndexPlan setSubIndexes(String... subIndexes)
Description copied from interface: IndexPlan
Sets the given sub indexes that will be indexed. null value means that it will not be taken into account.

Specified by:
setSubIndexes in interface IndexPlan

toString

public String toString()
Overrides:
toString in class Object


Copyright (c) 2004-2008 The Compass Project.