public enum ClickHouseFormat extends Enum<ClickHouseFormat>
Note that the sole existence of a format in this enumeration does not mean that its use is supported for any operation with this JDBC driver. When in doubt, just omit any specific format and let the driver take care of it.
| Enum Constant and Description |
|---|
CapnProto |
CSV |
CSVWithNames |
JSON |
JSONCompact |
JSONEachRow |
Native |
Null |
Pretty |
PrettyCompact |
PrettyCompactMonoBlock |
PrettyNoEscapes |
PrettySpace |
Protobuf |
RowBinary |
TabSeparated |
TabSeparatedRaw |
TabSeparatedWithNames |
TabSeparatedWithNamesAndTypes |
TSKV |
TSV |
Values |
Vertical |
XML |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsFormat(String statement) |
static ClickHouseFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClickHouseFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClickHouseFormat TabSeparated
public static final ClickHouseFormat TabSeparatedRaw
public static final ClickHouseFormat TabSeparatedWithNames
public static final ClickHouseFormat TabSeparatedWithNamesAndTypes
public static final ClickHouseFormat CSV
public static final ClickHouseFormat CSVWithNames
public static final ClickHouseFormat Values
public static final ClickHouseFormat Vertical
public static final ClickHouseFormat JSON
public static final ClickHouseFormat JSONCompact
public static final ClickHouseFormat JSONEachRow
public static final ClickHouseFormat TSKV
public static final ClickHouseFormat TSV
public static final ClickHouseFormat Pretty
public static final ClickHouseFormat PrettyCompact
public static final ClickHouseFormat PrettyCompactMonoBlock
public static final ClickHouseFormat PrettyNoEscapes
public static final ClickHouseFormat PrettySpace
public static final ClickHouseFormat Protobuf
public static final ClickHouseFormat RowBinary
public static final ClickHouseFormat Native
public static final ClickHouseFormat Null
public static final ClickHouseFormat XML
public static final ClickHouseFormat CapnProto
public static ClickHouseFormat[] values()
for (ClickHouseFormat c : ClickHouseFormat.values()) System.out.println(c);
public static ClickHouseFormat 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 static boolean containsFormat(String statement)
Copyright © 2020. All rights reserved.