public interface Index
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears this index
|
boolean |
containsColumn(DataFrameColumn column)
Returns true if this index contains the specified column
|
Collection<Integer> |
find(Comparable... values)
Returns the row number for values used in this index
|
List<DataFrameColumn> |
getColumns()
Returns the columns used in this index
|
String |
getName()
Returns the name if this index
|
void |
remove(DataRow dataRow)
removes a
DataRow from this index |
void |
setUnique(boolean unique)
set true if only unique values are allowed for this index
|
void |
update(DataRow dataRow)
updates a
DataRow in this index |
void update(DataRow dataRow)
DataRow in this indexdataRow - data row to updatevoid remove(DataRow dataRow)
DataRow from this indexdataRow - data row to removeCollection<Integer> find(Comparable... values)
values - indexed row valuesString getName()
void setUnique(boolean unique)
unique - allow only unique valuesboolean containsColumn(DataFrameColumn column)
column - column to tes tList<DataFrameColumn> getColumns()
void clear()
Copyright © 2017. All rights reserved.