@Explain(displayName = "Path -> Alias", explainLevels = { Level.EXTENDED }) public LinkedHashMap<Path, ArrayList<String>> getPathToAliases() { // return pathToAliases; }
@Explain(displayName="If not exists", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }, displayOnlyOnTrue = true) public boolean getIfNotExists() { return ifNotExists; } }
/** * ORC fast file merge operator descriptor. */ @Explain(displayName = "ORC File Merge Operator", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) public class OrcFileMergeDesc extends FileMergeDesc { public OrcFileMergeDesc() { this(null, null); } public OrcFileMergeDesc(DynamicPartitionCtx dpCtx, Path outPath) { super(dpCtx, outPath); } }
/** * @return the tableName */ @Explain(displayName = "table", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) public String getTableName() { return tableName; }
/** * @return the createTblDesc */ @Explain(displayName = "Create View Operator", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) public CreateViewDesc getCreateViewDesc() { return createVwDesc; }
/** * @return the showFuncsDesc */ @Explain(displayName = "Show Function Operator", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) public ShowFunctionsDesc getShowFuncsDesc() { return showFuncsDesc; }
/** * @return the aliasToFetchWork */ @Explain(displayName = "Alias -> Map Local Tables", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) public LinkedHashMap<String, FetchWork> getAliasToFetchWork() { return aliasToFetchWork; }
/** * @return the old name of the table */ @Explain(displayName = "old name", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) public String getOldName() { return oldName; }
@Explain(vectorization = Vectorization.SUMMARY, displayName = "inputFormatFeatureSupport", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public String getInputFormatSupport() { Set<Support> inputFormatSupportSet = mapWork.getInputFormatSupportSet(); if (inputFormatSupportSet == null) { return null; } return inputFormatSupportSet.toString(); }
@Explain(vectorization = Vectorization.SUMMARY, displayName = "vectorizationSupportRemovedReasons", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public String getSupportRemovedReasons() { List<String> supportRemovedReasons = mapWork.getSupportRemovedReasons(); if (supportRemovedReasons == null || supportRemovedReasons.isEmpty()) { return null; } return supportRemovedReasons.toString(); }
@Explain(vectorization = Vectorization.EXPRESSION, displayName = "partitionExpressions", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public String getPartitionExpressions() { VectorExpression[] partitionExpressions = vectorPTFInfo.getPartitionExpressions(); if (partitionExpressions == null) { return null; } return Arrays.toString(partitionExpressions); }
@Explain(vectorization = Vectorization.EXPRESSION, displayName = "evaluatorClasses", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public String getEvaluatorClasses() { VectorPTFEvaluatorBase[] evaluators = VectorPTFDesc.getEvaluators(vectorPTFDesc, vectorPTFInfo); ArrayList<String> result = new ArrayList<String>(evaluators.length); for (VectorPTFEvaluatorBase evaluator : evaluators) { result.add(evaluator.getClass().getSimpleName()); } return result.toString(); }
@Explain(vectorization = Vectorization.EXPRESSION, displayName = "projectedOutputColumnNums", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public String getProjectedOutputColumnNums() { return Arrays.toString(vectorGroupByDesc.getProjectedOutputColumns()); } }
@Explain(displayName = "Bucket Mapjoin Context", explainLevels = { Level.EXTENDED }) public BucketMapJoinContext getBucketMapjoinContextExplain() { return bucketMapjoinContext != null && bucketMapjoinContext.getBucketFileNameMapping() != null ? bucketMapjoinContext : null; }
@Explain(vectorization = Vectorization.DETAIL, displayName = "dataColumnCount", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public int getDataColumnCount() { return vectorizedRowBatchCtx.getDataColumnCount(); }
@Explain(displayName = "nullSafes") @Signature public String getNullSafeString() { if (nullsafes == null) { return null; } boolean hasNS = false; for (boolean ns : nullsafes) { hasNS |= ns; } return hasNS ? Arrays.toString(nullsafes) : null; }
@Override @Explain(displayName = "keys", explainLevels = { Level.USER }) public Map<Byte, String> getUserLevelExplainKeysString() { Map<Byte, String> keyMap = new LinkedHashMap<Byte, String>(); for (Map.Entry<Byte, List<ExprNodeDesc>> k: getKeys().entrySet()) { keyMap.put(k.getKey(), PlanUtils.getExprListString(k.getValue(), true)); } return keyMap; }
@Explain(vectorization = Vectorization.EXPRESSION, displayName = "hashTableImplementationType", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public String hashTableImplementationType() { if (!isNative) { return null; } return vectorMapJoinDesc.getHashTableImplementationType().name(); }
@Explain(vectorization = Vectorization.DETAIL, displayName = "projectedOutput", explainLevels = { Level.DEFAULT, Level.EXTENDED }) public List<String> getProjectedOutputColumnNums() { if (!isNative) { return null; } return outputColumnsAndTypesToStringList(vectorMapJoinInfo.getProjectionMapping()); }
@Explain(displayName = "Lead/Lag information") public String getLlInfoExplain() { if (llInfo != null && llInfo.getLeadLagExprs() != null) { return PlanUtils.getExprListString(llInfo.getLeadLagExprs()); } return null; }