org.gcube.indexmanagement.featureindexlibrary.fullscan
Class FullScanParams

java.lang.Object
  extended by org.gcube.indexmanagement.featureindexlibrary.fullscan.FullScanParams

public class FullScanParams
extends Object

Parameters for creating a full scan index

Author:
UoA

Constructor Summary
FullScanParams(String feature, FIEnums.DistanceTypes distance)
          Creates a new instance
 
Method Summary
 FIEnums.DistanceTypes getDistanceMeasure()
          Retrieves the distance measure
 long getElementCount()
          The number of elements
 String getFeatureName()
          Retrieves the feature name
 String getIndexID()
          Retrieves the index id
 String getIndexName()
          Retrieves the index name
 String getStorage()
          Retireves the storage location
 void setDistanceMeasure(FIEnums.DistanceTypes distanceMeasure)
          Sets the distance measure
 void setElementCount(long elementCount)
          Sets the number of elements
 void setFeatureName(String featureName)
          Sets the feature name
 void setIndexID(String indexID)
          Sets the index id
 void setIndexName(String indexName)
          Sets the index name
 void setStorage(String storage)
          Sets the storage directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullScanParams

public FullScanParams(String feature,
                      FIEnums.DistanceTypes distance)
Creates a new instance

Parameters:
feature - The feature
distance - The distance
Method Detail

getElementCount

public long getElementCount()
The number of elements

Returns:
The number of elements

setElementCount

public void setElementCount(long elementCount)
Sets the number of elements

Parameters:
elementCount - The number of elements

getIndexID

public String getIndexID()
Retrieves the index id

Returns:
The index id

setIndexID

public void setIndexID(String indexID)
Sets the index id

Parameters:
indexID - The index id

getStorage

public String getStorage()
Retireves the storage location

Returns:
The storage location

setStorage

public void setStorage(String storage)
Sets the storage directory

Parameters:
storage - The storage directory

getIndexName

public String getIndexName()
Retrieves the index name

Returns:
The index name

setIndexName

public void setIndexName(String indexName)
Sets the index name

Parameters:
indexName - the index name

getDistanceMeasure

public FIEnums.DistanceTypes getDistanceMeasure()
Retrieves the distance measure

Returns:
The distance measure

setDistanceMeasure

public void setDistanceMeasure(FIEnums.DistanceTypes distanceMeasure)
Sets the distance measure

Parameters:
distanceMeasure - The distance measure

getFeatureName

public String getFeatureName()
Retrieves the feature name

Returns:
The feature name

setFeatureName

public void setFeatureName(String featureName)
Sets the feature name

Parameters:
featureName - The feature name


Copyright © 2012. All Rights Reserved.