|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.conquiris.lucene.search.SortBuilder
public final class SortBuilder
Sort building class.
| Method Summary | |
|---|---|
SortBuilder |
add(BooleanSchemaItem field)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(BooleanSchemaItem field,
boolean reverse)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(DoubleSchemaItem field)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(DoubleSchemaItem field,
boolean reverse)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(FloatSchemaItem field)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(FloatSchemaItem field,
boolean reverse)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(InstantSchemaItem field)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(InstantSchemaItem field,
boolean reverse)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(IntegerSchemaItem field)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(IntegerSchemaItem field,
boolean reverse)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(Iterable<? extends SortField> fields)
Adds some sort fields. |
SortBuilder |
add(LongSchemaItem field)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(LongSchemaItem field,
boolean reverse)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(SortField... fields)
Adds some sort fields. |
SortBuilder |
add(SortField field)
Adds a sort field. |
SortBuilder |
add(TextSchemaItem field)
Adds a sort by terms in the field specified by the provided schema item. |
SortBuilder |
add(TextSchemaItem field,
boolean reverse)
Adds a sort by terms in the field specified by the provided schema item. |
Sort |
build()
Creates the sort specification. |
static SortField |
field(BooleanSchemaItem field)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(BooleanSchemaItem field,
boolean reverse)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(DoubleSchemaItem field)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(DoubleSchemaItem field,
boolean reverse)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(FloatSchemaItem field)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(FloatSchemaItem field,
boolean reverse)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(InstantSchemaItem field)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(InstantSchemaItem field,
boolean reverse)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(IntegerSchemaItem field)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(IntegerSchemaItem field,
boolean reverse)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(LongSchemaItem field)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(LongSchemaItem field,
boolean reverse)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(TextSchemaItem field)
Creates a sort by terms in the field specified by the provided schema item. |
static SortField |
field(TextSchemaItem field,
boolean reverse)
Creates a sort by terms in the field specified by the provided schema item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SortField field(TextSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public static SortField field(TextSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public static SortField field(IntegerSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public static SortField field(IntegerSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public static SortField field(LongSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public static SortField field(LongSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public static SortField field(FloatSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public static SortField field(FloatSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public static SortField field(DoubleSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public static SortField field(DoubleSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public static SortField field(BooleanSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public static SortField field(BooleanSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public static SortField field(InstantSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public static SortField field(InstantSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.public Sort build()
build in interface net.derquinse.common.base.Builder<Sort>public SortBuilder add(SortField field)
public SortBuilder add(Iterable<? extends SortField> fields)
public SortBuilder add(SortField... fields)
public SortBuilder add(TextSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public SortBuilder add(TextSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public SortBuilder add(IntegerSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public SortBuilder add(IntegerSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public SortBuilder add(LongSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public SortBuilder add(LongSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public SortBuilder add(FloatSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public SortBuilder add(FloatSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public SortBuilder add(DoubleSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public SortBuilder add(DoubleSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public SortBuilder add(BooleanSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public SortBuilder add(BooleanSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
public SortBuilder add(InstantSchemaItem field,
boolean reverse)
field - Field identified by an schema item.reverse - True if natural order should be reversed.
IllegalArgumentException - if the provided schema item is not indexed.public SortBuilder add(InstantSchemaItem field)
field - Field identified by an schema item.
IllegalArgumentException - if the provided schema item is not indexed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||