Package | Description |
---|---|
sirius.db.es | |
sirius.db.mixing |
Modifier and Type | Method and Description |
---|---|
ElasticQuery<E> |
ElasticQuery.addDateAggregation(String name,
Mapping field,
List<DateRange> ranges)
Adds a date (bucket) aggregation.
|
Modifier and Type | Method and Description |
---|---|
static DateRange |
DateRange.beforeLastYear()
Creates a date range filtering on everything before the last year.
|
static DateRange |
DateRange.beforeThisYear()
Creates a date range filtering on everything before this year.
|
static DateRange |
DateRange.lastFiveMinutes()
Creates a date range filtering on the last five minutes.
|
static DateRange |
DateRange.lastFiveteenMinutes()
Creates a date range filtering on the last 15 minutes.
|
static DateRange |
DateRange.lastHour()
Creates a date range filtering on the last hour.
|
static DateRange |
DateRange.lastMonth()
Creates a date range filtering on the last month.
|
static DateRange |
DateRange.lastTwoHours()
Creates a date range filtering on the last two hours.
|
static DateRange |
DateRange.lastWeek()
Creates a date range filtering on the last week.
|
static DateRange |
DateRange.lastYear()
Creates a date range filtering on the last year.
|
static DateRange |
DateRange.thisMonth()
Creates a date range filtering on the current month.
|
static DateRange |
DateRange.thisWeek()
Creates a date range filtering on this week.
|
static DateRange |
DateRange.thisYear()
Creates a date range filtering on the current year.
|
static DateRange |
DateRange.today()
Creates a date range filtering on "today".
|
DateRange |
DateRange.useLocalDate()
Can be used if the
DateRange should be used on a database field of type LocalDate and not LocalDateTime . |
static DateRange |
DateRange.yesterday()
Creates a date range filtering on "yesterday".
|
Copyright © 2018. All rights reserved.