public enum DruidResultFormat extends Enum<DruidResultFormat>
| Enum Constant and Description |
|---|
ARRAY |
ARRAY_LINES |
CSV |
OBJECT |
OBJECT_LINES |
| Modifier and Type | Method and Description |
|---|---|
String |
getResultFormat() |
static DruidResultFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DruidResultFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DruidResultFormat OBJECT
public static final DruidResultFormat ARRAY
public static final DruidResultFormat OBJECT_LINES
public static final DruidResultFormat ARRAY_LINES
public static final DruidResultFormat CSV
public static DruidResultFormat[] values()
for (DruidResultFormat c : DruidResultFormat.values()) System.out.println(c);
public static DruidResultFormat 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 String getResultFormat()
Copyright © 2012–2021. All rights reserved.