HiveMetastore Class

public final class HiveMetastore
extends SubResource

The HiveMetastore model.

Constructor Summary

Constructor Description
HiveMetastore()

Creates an instance of HiveMetastore class.

Method Summary

Modifier and Type Method and Description
String databaseName()

Get the databaseName property: The databaseName for the Hive MetaStore.

static HiveMetastore fromJson(JsonReader jsonReader)

Reads an instance of HiveMetastore from the JsonReader.

String name()

Get the name property: The resource name.

NestedResourceProvisioningState nestedResourceProvisioningState()

Get the nestedResourceProvisioningState property: The current state of the NestedResource.

String password()

Get the password property: The password for the Hive MetaStore.

String runtimeVersion()

Get the runtimeVersion property: The runtimeVersion for the Hive MetaStore.

String serverUri()

Get the serverUri property: The serverUri for the Hive MetaStore.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

String username()

Get the username property: The userName for the Hive MetaStore.

void validate()

Validates the instance.

HiveMetastore withId(String id)

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

HiveMetastore

public HiveMetastore()

Creates an instance of HiveMetastore class.

Method Details

databaseName

public String databaseName()

Get the databaseName property: The databaseName for the Hive MetaStore.

Returns:

the databaseName value.

fromJson

public static HiveMetastore fromJson(JsonReader jsonReader)

Reads an instance of HiveMetastore from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HiveMetastore if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the HiveMetastore.

name

public String name()

Get the name property: The resource name.

Returns:

the name value.

nestedResourceProvisioningState

public NestedResourceProvisioningState nestedResourceProvisioningState()

Get the nestedResourceProvisioningState property: The current state of the NestedResource.

Returns:

the nestedResourceProvisioningState value.

password

public String password()

Get the password property: The password for the Hive MetaStore.

Returns:

the password value.

runtimeVersion

public String runtimeVersion()

Get the runtimeVersion property: The runtimeVersion for the Hive MetaStore.

Returns:

the runtimeVersion value.

serverUri

public String serverUri()

Get the serverUri property: The serverUri for the Hive MetaStore.

Returns:

the serverUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

HiveMetastore.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

username

public String username()

Get the username property: The userName for the Hive MetaStore.

Returns:

the username value.

validate

public void validate()

Validates the instance.

withId

public HiveMetastore withId(String id)

Overrides:

HiveMetastore.withId(String id)

Parameters:

id

Applies to