public enum HiveServer2EndpointVersion extends Enum<HiveServer2EndpointVersion> implements EndpointVersion
HiveServer2EndpointVersion
and TProtocolVersion
in Hive.Modifier and Type | Method and Description |
---|---|
org.apache.hive.service.rpc.thrift.TProtocolVersion |
getVersion() |
static HiveServer2EndpointVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveServer2EndpointVersion |
valueOf(org.apache.hive.service.rpc.thrift.TProtocolVersion version) |
static HiveServer2EndpointVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V1
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V2
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V3
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V4
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V5
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V6
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V7
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V8
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V9
public static final HiveServer2EndpointVersion HIVE_CLI_SERVICE_PROTOCOL_V10
public static HiveServer2EndpointVersion[] values()
for (HiveServer2EndpointVersion c : HiveServer2EndpointVersion.values()) System.out.println(c);
public static HiveServer2EndpointVersion 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.apache.hive.service.rpc.thrift.TProtocolVersion getVersion()
public static HiveServer2EndpointVersion valueOf(org.apache.hive.service.rpc.thrift.TProtocolVersion version)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.