@InterfaceAudience.Private @InterfaceStability.Unstable public class HiveActionBuilder extends NodeBuilderBaseImpl<HiveActionBuilder> implements Builder<HiveAction>
HiveAction.
The properties of the builder can only be set once, an attempt to set them a second time will trigger
an IllegalStateException. The properties that are lists are an exception to this rule, of course multiple
elements can be added / removed.
Builder instances can be used to build several elements, although properties already set cannot be changed after
a call to build() either.| Modifier and Type | Field and Description |
|---|---|
protected ModifyOnce<String> |
query |
addAsChildToAllParents, clearCredentials, clearParents, withCredential, withErrorHandler, withName, withoutCredential, withoutErrorHandler, withoutParent, withParent, withParentDefaultConditional, withParentWithCondition, withRetryInterval, withRetryMax, withRetryPolicyprotected final ModifyOnce<String> query
public static HiveActionBuilder create()
public static HiveActionBuilder createFromExistingAction(HiveAction action)
public static HiveActionBuilder createFromExistingAction(Node action)
public HiveActionBuilder withResourceManager(String resourceManager)
public HiveActionBuilder withNameNode(String nameNode)
public HiveActionBuilder withPrepare(Prepare prepare)
public HiveActionBuilder withLauncher(Launcher launcher)
public HiveActionBuilder withJobXml(String jobXml)
public HiveActionBuilder withoutJobXml(String jobXml)
public HiveActionBuilder clearJobXmls()
public HiveActionBuilder withConfigProperty(String key, String value)
public HiveActionBuilder withScript(String script)
public HiveActionBuilder withQuery(String query)
public HiveActionBuilder withParam(String param)
public HiveActionBuilder withoutParam(String param)
public HiveActionBuilder clearParams()
public HiveActionBuilder withArg(String arg)
public HiveActionBuilder withoutArg(String arg)
public HiveActionBuilder clearArgs()
public HiveActionBuilder withFile(String file)
public HiveActionBuilder withoutFile(String file)
public HiveActionBuilder clearFiles()
public HiveActionBuilder withArchive(String archive)
public HiveActionBuilder withoutArchive(String archive)
public HiveActionBuilder clearArchives()
public HiveAction build()
Builderbuild in interface Builder<HiveAction>protected HiveActionBuilder getRuntimeSelfReference()
getRuntimeSelfReference in class NodeBuilderBaseImpl<HiveActionBuilder>Copyright © 2021 Apache Software Foundation. All rights reserved.