public static enum Indexer.DateHistogramInterval extends Enum<Indexer.DateHistogramInterval>
| Enum Constant and Description |
|---|
DAY |
HOUR |
MINUTE |
MONTH |
QUARTER |
WEEK |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.Period |
getPeriod() |
static Indexer.DateHistogramInterval |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Indexer.DateHistogramInterval[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Indexer.DateHistogramInterval YEAR
public static final Indexer.DateHistogramInterval QUARTER
public static final Indexer.DateHistogramInterval MONTH
public static final Indexer.DateHistogramInterval WEEK
public static final Indexer.DateHistogramInterval DAY
public static final Indexer.DateHistogramInterval HOUR
public static final Indexer.DateHistogramInterval MINUTE
public static Indexer.DateHistogramInterval[] values()
for (Indexer.DateHistogramInterval c : Indexer.DateHistogramInterval.values()) System.out.println(c);
public static Indexer.DateHistogramInterval valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic org.joda.time.Period getPeriod()
Copyright © 2012–2014 TORCH GmbH. All rights reserved.