public class HiveLinkedService extends LinkedService
| Constructor and Description |
|---|
HiveLinkedService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
allowHostnameCNMismatch()
Get the allowHostnameCNMismatch property: Specifies whether to require a CA-issued SSL certificate name to match
the host name of the server when connecting over SSL.
|
Object |
allowSelfSignedServerCert()
Get the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.
|
HiveAuthenticationType |
authenticationType()
Get the authenticationType property: The authentication method used to access the Hive server.
|
Object |
enableSsl()
Get the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.
|
Object |
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.
|
Object |
host()
Get the host property: IP address or host name of the Hive server, separated by ';' for multiple hosts (only when
serviceDiscoveryMode is enable).
|
Object |
httpPath()
Get the httpPath property: The partial URL corresponding to the Hive server.
|
SecretBase |
password()
Get the password property: The password corresponding to the user name that you provided in the Username field.
|
Object |
port()
Get the port property: The TCP port that the Hive server uses to listen for client connections.
|
HiveServerType |
serverType()
Get the serverType property: The type of Hive server.
|
Object |
serviceDiscoveryMode()
Get the serviceDiscoveryMode property: true to indicate using the ZooKeeper service, false not.
|
HiveThriftTransportProtocol |
thriftTransportProtocol()
Get the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.
|
Object |
trustedCertPath()
Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying
the server when connecting over SSL.
|
Object |
useNativeQuery()
Get the useNativeQuery property: Specifies whether the driver uses native HiveQL queries,or converts them into an
equivalent form in HiveQL.
|
Object |
username()
Get the username property: The user name that you use to access Hive Server.
|
Object |
useSystemTrustStore()
Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or
from a specified PEM file.
|
void |
validate()
Validates the instance.
|
HiveLinkedService |
withAllowHostnameCNMismatch(Object allowHostnameCNMismatch)
Set the allowHostnameCNMismatch property: Specifies whether to require a CA-issued SSL certificate name to match
the host name of the server when connecting over SSL.
|
HiveLinkedService |
withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
Set the allowSelfSignedServerCert property: Specifies whether to allow self-signed certificates from the server.
|
HiveLinkedService |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.
|
HiveLinkedService |
withAuthenticationType(HiveAuthenticationType authenticationType)
Set the authenticationType property: The authentication method used to access the Hive server.
|
HiveLinkedService |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
|
HiveLinkedService |
withDescription(String description)
Set the description property: Linked service description.
|
HiveLinkedService |
withEnableSsl(Object enableSsl)
Set the enableSsl property: Specifies whether the connections to the server are encrypted using SSL.
|
HiveLinkedService |
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.
|
HiveLinkedService |
withHost(Object host)
Set the host property: IP address or host name of the Hive server, separated by ';' for multiple hosts (only when
serviceDiscoveryMode is enable).
|
HiveLinkedService |
withHttpPath(Object httpPath)
Set the httpPath property: The partial URL corresponding to the Hive server.
|
HiveLinkedService |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.
|
HiveLinkedService |
withPassword(SecretBase password)
Set the password property: The password corresponding to the user name that you provided in the Username field.
|
HiveLinkedService |
withPort(Object port)
Set the port property: The TCP port that the Hive server uses to listen for client connections.
|
HiveLinkedService |
withServerType(HiveServerType serverType)
Set the serverType property: The type of Hive server.
|
HiveLinkedService |
withServiceDiscoveryMode(Object serviceDiscoveryMode)
Set the serviceDiscoveryMode property: true to indicate using the ZooKeeper service, false not.
|
HiveLinkedService |
withThriftTransportProtocol(HiveThriftTransportProtocol thriftTransportProtocol)
Set the thriftTransportProtocol property: The transport protocol to use in the Thrift layer.
|
HiveLinkedService |
withTrustedCertPath(Object trustedCertPath)
Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying
the server when connecting over SSL.
|
HiveLinkedService |
withUseNativeQuery(Object useNativeQuery)
Set the useNativeQuery property: Specifies whether the driver uses native HiveQL queries,or converts them into an
equivalent form in HiveQL.
|
HiveLinkedService |
withUsername(Object username)
Set the username property: The user name that you use to access Hive Server.
|
HiveLinkedService |
withUseSystemTrustStore(Object useSystemTrustStore)
Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or
from a specified PEM file.
|
HiveLinkedService |
withZooKeeperNameSpace(Object zooKeeperNameSpace)
Set the zooKeeperNameSpace property: The namespace on ZooKeeper under which Hive Server 2 nodes are added.
|
Object |
zooKeeperNameSpace()
Get the zooKeeperNameSpace property: The namespace on ZooKeeper under which Hive Server 2 nodes are added.
|
additionalProperties, annotations, connectVia, description, parameters, withAdditionalPropertiespublic Object host()
public HiveLinkedService withHost(Object host)
host - the host value to set.public Object port()
public HiveLinkedService withPort(Object port)
port - the port value to set.public HiveServerType serverType()
public HiveLinkedService withServerType(HiveServerType serverType)
serverType - the serverType value to set.public HiveThriftTransportProtocol thriftTransportProtocol()
public HiveLinkedService withThriftTransportProtocol(HiveThriftTransportProtocol thriftTransportProtocol)
thriftTransportProtocol - the thriftTransportProtocol value to set.public HiveAuthenticationType authenticationType()
public HiveLinkedService withAuthenticationType(HiveAuthenticationType authenticationType)
authenticationType - the authenticationType value to set.public Object serviceDiscoveryMode()
public HiveLinkedService withServiceDiscoveryMode(Object serviceDiscoveryMode)
serviceDiscoveryMode - the serviceDiscoveryMode value to set.public Object zooKeeperNameSpace()
public HiveLinkedService withZooKeeperNameSpace(Object zooKeeperNameSpace)
zooKeeperNameSpace - the zooKeeperNameSpace value to set.public Object useNativeQuery()
public HiveLinkedService withUseNativeQuery(Object useNativeQuery)
useNativeQuery - the useNativeQuery value to set.public Object username()
public HiveLinkedService withUsername(Object username)
username - the username value to set.public SecretBase password()
public HiveLinkedService withPassword(SecretBase password)
password - the password value to set.public Object httpPath()
public HiveLinkedService withHttpPath(Object httpPath)
httpPath - the httpPath value to set.public Object enableSsl()
public HiveLinkedService withEnableSsl(Object enableSsl)
enableSsl - the enableSsl value to set.public Object trustedCertPath()
public HiveLinkedService withTrustedCertPath(Object trustedCertPath)
trustedCertPath - the trustedCertPath value to set.public Object useSystemTrustStore()
public HiveLinkedService withUseSystemTrustStore(Object useSystemTrustStore)
useSystemTrustStore - the useSystemTrustStore value to set.public Object allowHostnameCNMismatch()
public HiveLinkedService withAllowHostnameCNMismatch(Object allowHostnameCNMismatch)
allowHostnameCNMismatch - the allowHostnameCNMismatch value to set.public Object allowSelfSignedServerCert()
public HiveLinkedService withAllowSelfSignedServerCert(Object allowSelfSignedServerCert)
allowSelfSignedServerCert - the allowSelfSignedServerCert value to set.public Object encryptedCredential()
public HiveLinkedService withEncryptedCredential(Object encryptedCredential)
encryptedCredential - the encryptedCredential value to set.public HiveLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
withConnectVia in class LinkedServiceconnectVia - the connectVia value to set.public HiveLinkedService withDescription(String description)
withDescription in class LinkedServicedescription - the description value to set.public HiveLinkedService withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class LinkedServiceparameters - the parameters value to set.public HiveLinkedService withAnnotations(List<Object> annotations)
withAnnotations in class LinkedServiceannotations - the annotations value to set.public void validate()
validate in class LinkedServiceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.