Package com.google.cloud.dataproc.v1
Interface HiveJobOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HiveJob
,HiveJob.Builder
public interface HiveJobOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsProperties(String key)
Optional.boolean
containsScriptVariables(String key)
Optional.boolean
getContinueOnFailure()
Optional.String
getJarFileUris(int index)
Optional.com.google.protobuf.ByteString
getJarFileUrisBytes(int index)
Optional.int
getJarFileUrisCount()
Optional.List<String>
getJarFileUrisList()
Optional.Map<String,String>
getProperties()
Deprecated.int
getPropertiesCount()
Optional.Map<String,String>
getPropertiesMap()
Optional.String
getPropertiesOrDefault(String key, String defaultValue)
Optional.String
getPropertiesOrThrow(String key)
Optional.HiveJob.QueriesCase
getQueriesCase()
String
getQueryFileUri()
The HCFS URI of the script that contains Hive queries.com.google.protobuf.ByteString
getQueryFileUriBytes()
The HCFS URI of the script that contains Hive queries.QueryList
getQueryList()
A list of queries.QueryListOrBuilder
getQueryListOrBuilder()
A list of queries.Map<String,String>
getScriptVariables()
Deprecated.int
getScriptVariablesCount()
Optional.Map<String,String>
getScriptVariablesMap()
Optional.String
getScriptVariablesOrDefault(String key, String defaultValue)
Optional.String
getScriptVariablesOrThrow(String key)
Optional.boolean
hasQueryFileUri()
The HCFS URI of the script that contains Hive queries.boolean
hasQueryList()
A list of queries.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasQueryFileUri
boolean hasQueryFileUri()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
- Returns:
- Whether the queryFileUri field is set.
-
getQueryFileUri
String getQueryFileUri()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
- Returns:
- The queryFileUri.
-
getQueryFileUriBytes
com.google.protobuf.ByteString getQueryFileUriBytes()
The HCFS URI of the script that contains Hive queries.
string query_file_uri = 1;
- Returns:
- The bytes for queryFileUri.
-
hasQueryList
boolean hasQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
- Returns:
- Whether the queryList field is set.
-
getQueryList
QueryList getQueryList()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
- Returns:
- The queryList.
-
getQueryListOrBuilder
QueryListOrBuilder getQueryListOrBuilder()
A list of queries.
.google.cloud.dataproc.v1.QueryList query_list = 2;
-
getContinueOnFailure
boolean getContinueOnFailure()
Optional. Whether to continue executing queries if a query fails. The default value is `false`. Setting to `true` can be useful when executing independent parallel queries.
bool continue_on_failure = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The continueOnFailure.
-
getScriptVariablesCount
int getScriptVariablesCount()
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL];
-
containsScriptVariables
boolean containsScriptVariables(String key)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getScriptVariables
@Deprecated Map<String,String> getScriptVariables()
Deprecated.UsegetScriptVariablesMap()
instead.
-
getScriptVariablesMap
Map<String,String> getScriptVariablesMap()
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getScriptVariablesOrDefault
String getScriptVariablesOrDefault(String key, String defaultValue)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getScriptVariablesOrThrow
String getScriptVariablesOrThrow(String key)
Optional. Mapping of query variable names to values (equivalent to the Hive command: `SET name="value";`).
map<string, string> script_variables = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getPropertiesCount
int getPropertiesCount()
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL];
-
containsProperties
boolean containsProperties(String key)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getProperties
@Deprecated Map<String,String> getProperties()
Deprecated.UsegetPropertiesMap()
instead.
-
getPropertiesMap
Map<String,String> getPropertiesMap()
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getPropertiesOrDefault
String getPropertiesOrDefault(String key, String defaultValue)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getPropertiesOrThrow
String getPropertiesOrThrow(String key)
Optional. A mapping of property names and values, used to configure Hive. Properties that conflict with values set by the Dataproc API may be overwritten. Can include properties set in `/etc/hadoop/conf/*-site.xml`, /etc/hive/conf/hive-site.xml, and classes in user code.
map<string, string> properties = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getJarFileUrisList
List<String> getJarFileUrisList()
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- A list containing the jarFileUris.
-
getJarFileUrisCount
int getJarFileUrisCount()
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The count of jarFileUris.
-
getJarFileUris
String getJarFileUris(int index)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the element to return.- Returns:
- The jarFileUris at the given index.
-
getJarFileUrisBytes
com.google.protobuf.ByteString getJarFileUrisBytes(int index)
Optional. HCFS URIs of jar files to add to the CLASSPATH of the Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes and UDFs.
repeated string jar_file_uris = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the jarFileUris at the given index.
-
getQueriesCase
HiveJob.QueriesCase getQueriesCase()
-
-