org.gcube.application.framework.contentmanagement.model
Class IndexInfo

java.lang.Object
  extended by org.gcube.application.framework.contentmanagement.model.IndexInfo
All Implemented Interfaces:
Serializable

public class IndexInfo
extends Object
implements Serializable

Author:
Valia Tsagkalidou (NKUA)
See Also:
Serialized Form

Field Summary
protected  boolean fts
           
protected  boolean geospatial
           
protected  boolean opensearch
           
protected  boolean similarity
           
 
Constructor Summary
IndexInfo()
          The constructor of the class
 
Method Summary
 String indexType()
           
 boolean isFts()
           
 boolean isGeospatial()
           
 boolean isOpenSearch()
           
 boolean isSimilarity()
           
 void setFts(boolean fts)
          Sets the value whether a full text index exists
 void setGeospatial(boolean geospatial)
          Sets the value whether a geo-spatial index exists
 void setOpenSearch(boolean openSearch)
           
 void setSimilarity(boolean similarity)
          Sets the value whether a similarity index exists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fts

protected boolean fts

geospatial

protected boolean geospatial

similarity

protected boolean similarity

opensearch

protected boolean opensearch
Constructor Detail

IndexInfo

public IndexInfo()
The constructor of the class

Method Detail

isFts

public boolean isFts()
Returns:
whether an FTS index exists for this collection

isOpenSearch

public boolean isOpenSearch()

isGeospatial

public boolean isGeospatial()
Returns:
whether a geospatial index exists for this collection

isSimilarity

public boolean isSimilarity()
Returns:
whether a similarity index exists for this collection

setFts

public void setFts(boolean fts)
Sets the value whether a full text index exists

Parameters:
fts - true or false

setGeospatial

public void setGeospatial(boolean geospatial)
Sets the value whether a geo-spatial index exists

Parameters:
geospatial - true or false

setSimilarity

public void setSimilarity(boolean similarity)
Sets the value whether a similarity index exists

Parameters:
similarity - true or false

setOpenSearch

public void setOpenSearch(boolean openSearch)

indexType

public String indexType()


Copyright © 2013. All Rights Reserved.