org.gcube.indexmanagement.featureindexlibrary.vafile
Class VAFileParams

java.lang.Object
  extended by org.gcube.indexmanagement.featureindexlibrary.vafile.VAFileParams

public class VAFileParams
extends Object

VAFile Header info

Author:
UoA

Constructor Summary
VAFileParams()
          Creates a new instance
VAFileParams(String feature, FIEnums.DistanceTypes distance, String indexID, String storage, String indexName, short bits, int IDLength, int vectorLength, boolean weighted)
          Creates a new instance
 
Method Summary
 long getApproximationEntryLength()
          Property getter
 short getBits()
          Property getter
 int getBuckets()
          Property getter
 FIEnums.DistanceTypes getDistanceMeasure()
          Property getter
 long getElementCount()
          Property getter
 String getFeatureName()
          Property getter
 int getIDLength()
          Property getter
 String getIndexID()
          Property getter
 String getIndexName()
          Property getter
 float[][] getPartitionPoints()
          Property getter
 String getStorage()
          Property getter
 long getVectorEntryLength()
          Property getter
 int getVectorLength()
          Property getter
 boolean getWeighted()
          Property getter
 float[] getWeights()
          Property getter
 float[] getX2Sum()
          Property getter
 float[] getXSum()
          Property getter
 void setApproximationEntryLength(long approximationEntryLength)
          Property setter
 void setBits(short bits)
          Property setter
 void setBuckets(int buckets)
          Property setter
 void setDistanceMeasure(FIEnums.DistanceTypes distanceMeasure)
          Property setter
 void setElementCount(long elementCount)
          Property setter
 void setFeatureName(String featureName)
          Property setter
 void setIDLength(int length)
          Property setter
 void setIndexID(String indexID)
          Property setter
 void setIndexName(String indexName)
          Property setter
 void setPartitionPoints(float[][] partitionPoints)
          Property setter
 void setStorage(String storage)
          Property setter
 void setVectorEntryLength(long vectorEntryLength)
          Property setter
 void setVectorLength(int vectorLength)
          Property setter
 void setWeighted(boolean weighted)
          Property setter
 void setWeights(float[] weights)
          Property setter
 void setX2Sum(float[] x2sum)
          Property setter
 void setXSum(float[] xsum)
          Property setter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VAFileParams

public VAFileParams()
Creates a new instance


VAFileParams

public VAFileParams(String feature,
                    FIEnums.DistanceTypes distance,
                    String indexID,
                    String storage,
                    String indexName,
                    short bits,
                    int IDLength,
                    int vectorLength,
                    boolean weighted)
Creates a new instance

Parameters:
feature - The feature
distance - The default distance measure
indexID - the index id
storage - the storage location
indexName - The index name
bits - The bits
IDLength - The length of the ids
vectorLength - The length of the vectors
weighted - Default usage of weights
Method Detail

setApproximationEntryLength

public void setApproximationEntryLength(long approximationEntryLength)
Property setter

Parameters:
approximationEntryLength - the value to set

getApproximationEntryLength

public long getApproximationEntryLength()
Property getter

Returns:
Teh property value

setVectorEntryLength

public void setVectorEntryLength(long vectorEntryLength)
Property setter

Parameters:
vectorEntryLength - the value to set

getVectorEntryLength

public long getVectorEntryLength()
Property getter

Returns:
Teh property value

setXSum

public void setXSum(float[] xsum)
Property setter

Parameters:
xsum - the value to set

getXSum

public float[] getXSum()
Property getter

Returns:
Teh property value

setX2Sum

public void setX2Sum(float[] x2sum)
Property setter

Parameters:
x2sum - the value to set

getX2Sum

public float[] getX2Sum()
Property getter

Returns:
Teh property value

setWeights

public void setWeights(float[] weights)
Property setter

Parameters:
weights - the value to set

getWeights

public float[] getWeights()
Property getter

Returns:
Teh property value

setWeighted

public void setWeighted(boolean weighted)
Property setter

Parameters:
weighted - the value to set

getWeighted

public boolean getWeighted()
Property getter

Returns:
Teh property value

setPartitionPoints

public void setPartitionPoints(float[][] partitionPoints)
Property setter

Parameters:
partitionPoints - the value to set

getPartitionPoints

public float[][] getPartitionPoints()
Property getter

Returns:
Teh property value

setBuckets

public void setBuckets(int buckets)
Property setter

Parameters:
buckets - the value to set

getBuckets

public int getBuckets()
Property getter

Returns:
Teh property value

getBits

public short getBits()
Property getter

Returns:
Teh property value

setBits

public void setBits(short bits)
Property setter

Parameters:
bits - the value to set

getDistanceMeasure

public FIEnums.DistanceTypes getDistanceMeasure()
Property getter

Returns:
Teh property value

setDistanceMeasure

public void setDistanceMeasure(FIEnums.DistanceTypes distanceMeasure)
Property setter

Parameters:
distanceMeasure - the value to set

getElementCount

public long getElementCount()
Property getter

Returns:
Teh property value

setElementCount

public void setElementCount(long elementCount)
Property setter

Parameters:
elementCount - the value to set

getFeatureName

public String getFeatureName()
Property getter

Returns:
Teh property value

setFeatureName

public void setFeatureName(String featureName)
Property setter

Parameters:
featureName - the value to set

getIndexID

public String getIndexID()
Property getter

Returns:
Teh property value

setIndexID

public void setIndexID(String indexID)
Property setter

Parameters:
indexID - the value to set

getIndexName

public String getIndexName()
Property getter

Returns:
Teh property value

setIndexName

public void setIndexName(String indexName)
Property setter

Parameters:
indexName - the value to set

getStorage

public String getStorage()
Property getter

Returns:
Teh property value

setStorage

public void setStorage(String storage)
Property setter

Parameters:
storage - the value to set

getIDLength

public int getIDLength()
Property getter

Returns:
Teh property value

setIDLength

public void setIDLength(int length)
Property setter

Parameters:
length - the value to set

getVectorLength

public int getVectorLength()
Property getter

Returns:
Teh property value

setVectorLength

public void setVectorLength(int vectorLength)
Property setter

Parameters:
vectorLength - the value to set


Copyright © 2013. All Rights Reserved.