public static enum DateHistogramFacet.ComparatorType extends Enum<DateHistogramFacet.ComparatorType>
Modifier and Type | Method and Description |
---|---|
Comparator<DateHistogramFacet.Entry> |
comparator() |
String |
description() |
static DateHistogramFacet.ComparatorType |
fromId(byte id) |
static DateHistogramFacet.ComparatorType |
fromString(String type) |
byte |
id() |
static DateHistogramFacet.ComparatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateHistogramFacet.ComparatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateHistogramFacet.ComparatorType TIME
public static final DateHistogramFacet.ComparatorType COUNT
public static final DateHistogramFacet.ComparatorType TOTAL
public static DateHistogramFacet.ComparatorType[] values()
for (DateHistogramFacet.ComparatorType c : DateHistogramFacet.ComparatorType.values()) System.out.println(c);
public static DateHistogramFacet.ComparatorType 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 byte id()
public String description()
public Comparator<DateHistogramFacet.Entry> comparator()
public static DateHistogramFacet.ComparatorType fromId(byte id)
public static DateHistogramFacet.ComparatorType fromString(String type)
Copyright © 2009–2015. All rights reserved.