public class HiveCommandBuilderImpl extends InvocationCallbackBase<CommandResponse> implements HiveCommandBuilder
Modifier and Type | Method and Description |
---|---|
HiveCommandBuilder |
approxAggregations(boolean approxAggregations) |
HiveCommandBuilder |
approxModeMaxRt(int approxModeMaxRt) |
HiveCommandBuilder |
approxModeMinRt(int approxModeMinRt) |
HiveCommandBuilder |
approxModeProgress(double approxModeProgress) |
BaseCommand |
build() |
HiveCommandBuilder |
clusterLabel(String clusterLabel) |
HiveCommandBuilder |
commandType(String commandType) |
protected BaseCommand.COMMAND_TYPE |
getCommandType() |
protected com.fasterxml.jackson.databind.node.ObjectNode |
getEntity() |
protected InvokeArguments<CommandResponse> |
getInvokeArguments() |
HiveCommandBuilder |
macro(String name,
String value) |
HiveCommandBuilder |
name(String queryName) |
HiveCommandBuilder |
query(String query) |
HiveCommandBuilder |
sampleSize(int sampleSize) |
HiveCommandBuilder |
scriptLocation(String scriptLocation) |
HiveCommandBuilder |
tags(String[] queryTags) |
getArgumentsInvocation, invoke, raw, withCallback
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
getArgumentsInvocation, invoke, raw, withCallback
public HiveCommandBuilder query(String query)
query
in interface HiveCommandBuilder
public HiveCommandBuilder scriptLocation(String scriptLocation)
scriptLocation
in interface HiveCommandBuilder
public HiveCommandBuilder commandType(String commandType)
commandType
in interface HiveCommandBuilder
public HiveCommandBuilder sampleSize(int sampleSize)
sampleSize
in interface HiveCommandBuilder
public HiveCommandBuilder approxModeProgress(double approxModeProgress)
approxModeProgress
in interface HiveCommandBuilder
public HiveCommandBuilder approxModeMaxRt(int approxModeMaxRt)
approxModeMaxRt
in interface HiveCommandBuilder
public HiveCommandBuilder approxModeMinRt(int approxModeMinRt)
approxModeMinRt
in interface HiveCommandBuilder
public HiveCommandBuilder approxAggregations(boolean approxAggregations)
approxAggregations
in interface HiveCommandBuilder
public HiveCommandBuilder macro(String name, String value)
macro
in interface HiveCommandBuilder
public HiveCommandBuilder clusterLabel(String clusterLabel)
clusterLabel
in interface HiveCommandBuilder
public HiveCommandBuilder name(String queryName)
name
in interface HiveCommandBuilder
public HiveCommandBuilder tags(String[] queryTags)
tags
in interface HiveCommandBuilder
protected BaseCommand.COMMAND_TYPE getCommandType()
protected com.fasterxml.jackson.databind.node.ObjectNode getEntity()
protected InvokeArguments<CommandResponse> getInvokeArguments()
getInvokeArguments
in class InvocationCallbackBase<CommandResponse>
public BaseCommand build()
Copyright © 2020. All rights reserved.