|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.common.IndexField
public class IndexField
Represent the characteristics of a single field in a RowSet.
FullTextIndexType| Field Summary | |
|---|---|
float |
boost
The boost value to use for this field during ranking |
ArrayList |
childrenFields
The child fields of this field |
boolean |
index
An indicator of whether to index the field |
String |
name
The name of the field |
boolean |
returned
An indicator of whether to return the field (in the results from a query) |
boolean |
sort
An indicator of whether to sort the field |
boolean |
store
An indicator of whether to store the field |
boolean |
tokenize
An indicator of whether to tokenize the field |
| Constructor Summary | |
|---|---|
IndexField()
Empty constructor. |
|
IndexField(String name,
boolean index,
boolean tokenize,
boolean store,
boolean returned,
boolean sort,
float boost)
Constructor setting all field attributes. |
|
| Method Summary | |
|---|---|
void |
addChildField(IndexField field)
Adds a IndexField sub field to this field |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String name
public boolean index
public boolean tokenize
public boolean store
public boolean returned
public boolean sort
public float boost
public ArrayList childrenFields
| Constructor Detail |
|---|
public IndexField()
public IndexField(String name,
boolean index,
boolean tokenize,
boolean store,
boolean returned,
boolean sort,
float boost)
name - -
The name of the new fieldindex - -
An indicator of whether to index the new fieldtokenize - -
An indicator of whether to tokenize the new fieldstore - -
An indicator of whether to store the new fieldreturned - -
An indicator of whether to return the new field (in the
results from a query)sort - -
An indicator of whether to sort the new fieldboost - -
The boost value to use for the new field during ranking| Method Detail |
|---|
public void addChildField(IndexField field)
IndexField sub field to this field
field - IndexField - the sub field to be addedpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||