|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface provides the API for getting and setting the name of a query index, and getting and setting the fields being used by this query index.
| Method Summary | |
java.lang.String |
getName()
Returns the name of this query index. |
java.lang.String[] |
getSortFields()
Returns the fields that are being used for this index. |
boolean[] |
getSortOrders()
Returns the sort order for each field being used for this index. |
void |
setName(java.lang.String name)
Sets the name of this query index to the specified name. |
void |
setSortInfo(java.lang.String[] strFields,
boolean[] ascending)
Takes an array of fields that should be indexed, and an array of booleans indicating whether the fields should be sorted ascending or descending. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
throws F1Exception
name - The new name to give this index.
public void setSortInfo(java.lang.String[] strFields,
boolean[] ascending)
throws InvalidArgumentException
strFields - Fields that are to be indexed.ascending - Sort order for the fields.public java.lang.String[] getSortFields()
public boolean[] getSortOrders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||