|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.featureindexlibrary.vafile.VAFileParams
public class VAFileParams
VAFile Header info
| 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 |
|---|
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 weights| Method Detail |
|---|
public 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 set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||