| Constructor and Description |
|---|
DateRangeCondition(String field)
Returns a new
DateRangeCondition with the specified field reference point. |
| Modifier and Type | Method and Description |
|---|---|
DateRangeCondition |
from(Object from)
Sets the lower accepted date.
|
DateRangeCondition |
operation(String operation)
Sets the operation to be performed.
|
DateRangeCondition |
to(Object to)
Sets the upper accepted date.
|
boost, boostall, bigDecimalMapper, bigIntegerMapper, bitemporal, bitemporalMapper, blobMapper, bool, booleanMapper, build, classpathAnalyzer, contains, dateMapper, dateRange, dateRangeMapper, doubleMapper, field, floatMapper, fuzzy, geoBBox, geoDistance, geoDistanceSortField, geoPointMapper, index, index, inetMapper, integerMapper, longMapper, lucene, match, none, phrase, prefix, range, regexp, schema, search, snowballAnalyzer, stringMapper, textMapper, toString, uuidMapper, wildcardpublic DateRangeCondition(String field)
DateRangeCondition with the specified field reference point.field - The name of the field to be matched.public DateRangeCondition from(Object from)
from - The lower accepted date. Maybe null meaning no lower limit.public DateRangeCondition to(Object to)
to - The upper accepted date. Maybe null meaning no lower limit.public DateRangeCondition operation(String operation)
operation - The operation to be performed.Copyright © 2016. All rights reserved.