IdIndexMapping
instead.@Deprecated public interface Index extends Serializable
Modifier and Type | Method and Description |
---|---|
MutableSparseVector |
convertArrayToVector(double[] values)
Deprecated.
This method is used to convert arrays to sparse arrays.
|
long |
getId(int idx)
Deprecated.
Get the id for an index.
|
LongList |
getIds()
Deprecated.
Get the list of IDs.
|
int |
getIndex(long id)
Deprecated.
Get the index of an id.
|
int |
getObjectCount()
Deprecated.
Get the number of IDs in the index.
|
int getIndex(long id)
id
- The id to query.long getId(int idx)
idx
- The index of the ID to retrieve.int getObjectCount()
LongList getIds()
MutableSparseVector convertArrayToVector(double[] values)
values
- A array of double value.