public class SparkHqlCmd extends SparkSQLCmd
AbstractSyntaxTree.LogCounter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
HIVE_CONTEXT_NAME |
static java.lang.String |
HIVE_CONTEXT_TYPE |
PROP_KEY_NEED_FORMAT_OUTPUT, PROPKEY_ALLOW_FILTERING, PROPKEY_INDENT, PROPKEY_JDBC_DRIVER, PROPKEY_JDBC_URL, PROPKEY_JDBC_USER, PROPKEY_LOWER_BOUND, PROPKEY_NB_PARTITIONS, PROPKEY_OUTPUT_SCHEMA_DEF, PROPKEY_OUTPUT_SCHEMA_DEF_DF, PROPKEY_PARTITION_COLUMN, PROPKEY_PREDICATES, PROPKEY_SERVER_NAME, PROPKEY_SQL_STATEMENT, PROPKEY_SRC_SCHEMA, PROPKEY_UPPER_BOUND, PROPKEY_USE_PARTITION_COL, PROPKEY_USE_PREDICATES, PROPKEY_USE_QUERY_ALIAS, SQL_CONTEXT_NAME, SQL_CONTEXT_TYPE| Constructor and Description |
|---|
SparkHqlCmd(TemplateUtils templateUtils,
MapPhysicalNode physicalNode,
SqlQuery sqlToCall) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSparkContextName()
Get the Hive context name.
|
java.lang.String |
getSparkContextType()
Get the Hive context type.
|
getAPNodeAttributes, getJdbcDriver, getJdbcUrl, getLowerBound, getNumPartitions, getOutputSchemaConnectedFields, getOutputSchemaDefinition, getOutputSchemaDefinitionRow, getOutputSchemaFields, getOutputSchemaFieldsDF, getPartitionColumn, getPartitionPredicates, getServerName, getSQLStatement, getSrcSchemaName, getTypeEnum, getUpperBound, getUser, isFilteringAllowed, needFormatOutput, needPartitionColumn, needPartitionPredicates, useQueryAliasconvertExprs, convertExprsDF, getChildren, getCommandIndex, getExprText, getExprTextDF, getFlexField, getModulePaths, getOptionValue, getParentScript, getPhysicalNode, getScriptLevelCommonContext, getSourceAlias, getSourceAliases, getStrctType, getStreamEnableWindowing, getStreamSlideInterval, getStreamWindowLength, getTargetAlias, getTemplateSubstitutionMap, getText, getType, isStreamingMode, setSourceAliases, toString, useSQLExpressionsgetCodeGenerationTemplate, getCodeGenerationTemplateName, getCustomTemplate, getKMName, getLeafLevelChildren, getMapPhysicalNode, getOrder, getParentAST, getParentOfType, getPropertyValue, getSourceLanguage, getSourceLocation, getSourceTechnology, getSourceText, getTargetLanguage, getTargetLocation, getTargetTechnology, getTargetText, hasCustomTemplate, hasSourceAndTargetText, isLeafLevelNode, isPushFromSourcepublic static final java.lang.String HIVE_CONTEXT_TYPE
public static final java.lang.String HIVE_CONTEXT_NAME
public SparkHqlCmd(TemplateUtils templateUtils, MapPhysicalNode physicalNode, SqlQuery sqlToCall)
public java.lang.String getSparkContextType()
getSparkContextType in class SparkSQLCmdpublic java.lang.String getSparkContextName()
getSparkContextName in class SparkSQLCmd