public class VAFileParams extends Object
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public VAFileParams()
public VAFileParams(String feature, FIEnums.DistanceTypes distance, String indexID, String storage, String indexName, short bits, int IDLength, int vectorLength, boolean weighted)
feature - The featuredistance - The default distance measureindexID - the index idstorage - the storage locationindexName - The index namebits - The bitsIDLength - The length of the idsvectorLength - The length of the vectorsweighted - Default usage of weightspublic void setApproximationEntryLength(long approximationEntryLength)
approximationEntryLength - the value to setpublic long getApproximationEntryLength()
public void setVectorEntryLength(long vectorEntryLength)
vectorEntryLength - the value to setpublic long getVectorEntryLength()
public void setXSum(float[] xsum)
xsum - the value to setpublic float[] getXSum()
public void setX2Sum(float[] x2sum)
x2sum - the value to setpublic float[] getX2Sum()
public void setWeights(float[] weights)
weights - the value to setpublic float[] getWeights()
public void setWeighted(boolean weighted)
weighted - the value to setpublic boolean getWeighted()
public void setPartitionPoints(float[][] partitionPoints)
partitionPoints - the value to setpublic float[][] getPartitionPoints()
public void setBuckets(int buckets)
buckets - the value to setpublic int getBuckets()
public short getBits()
public void setBits(short bits)
bits - the value to setpublic FIEnums.DistanceTypes getDistanceMeasure()
public void setDistanceMeasure(FIEnums.DistanceTypes distanceMeasure)
distanceMeasure - the value to setpublic long getElementCount()
public void setElementCount(long elementCount)
elementCount - the value to setpublic String getFeatureName()
public void setFeatureName(String featureName)
featureName - the value to setpublic String getIndexID()
public void setIndexID(String indexID)
indexID - the value to setpublic String getIndexName()
public void setIndexName(String indexName)
indexName - the value to setpublic String getStorage()
public void setStorage(String storage)
storage - the value to setpublic int getIDLength()
public void setIDLength(int length)
length - the value to setpublic int getVectorLength()
public void setVectorLength(int vectorLength)
vectorLength - the value to setCopyright © 2014. All Rights Reserved.