org.apache.hadoop.hive.ql.exec.Utilities.constructVectorizedReduceRowOI()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(124)

本文整理了Java中org.apache.hadoop.hive.ql.exec.Utilities.constructVectorizedReduceRowOI()方法的一些代码示例,展示了Utilities.constructVectorizedReduceRowOI()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utilities.constructVectorizedReduceRowOI()方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.exec.Utilities
类名称:Utilities
方法名:constructVectorizedReduceRowOI

Utilities.constructVectorizedReduceRowOI介绍

[英]Create row key and value object inspectors for reduce vectorization. The row object inspector used by ReduceWork needs to be a standard struct object inspector, not just any struct object inspector.
[中]创建行键和值对象检查器以减少矢量化。ReduceWork使用的行对象检查器需要是
标准结构对象检查器,而不仅仅是任何结构对象检查器。

代码示例

代码示例来源:origin: apache/drill

.genVectorStructExpressionWritables(valueStructInspectors[tag])));
rowObjectInspector[tag] = Utilities.constructVectorizedReduceRowOI(keyStructInspector,
  valueStructInspectors[tag]);
batches[tag] = gWork.getVectorizedRowBatchCtx().createVectorizedRowBatch();

代码示例来源:origin: apache/drill

.genVectorStructExpressionWritables(valueStructInspectors)));
rowObjectInspector = Utilities.constructVectorizedReduceRowOI(keyStructInspector,
  valueStructInspectors);
batch = batchContext.createVectorizedRowBatch();

代码示例来源:origin: apache/hive

valueStructInspectors.getAllStructFieldRefs().size();
rowObjectInspector = Utilities.constructVectorizedReduceRowOI(keyStructInspector,
  valueStructInspectors);
batch = batchContext.createVectorizedRowBatch();

代码示例来源:origin: apache/hive

+ valueStructInspector.getAllStructFieldRefs().size();
rowObjectInspector[tag] = Utilities.constructVectorizedReduceRowOI(keyStructInspector,
  valueStructInspector);
batch = gWork.getVectorizedRowBatchCtx().createVectorizedRowBatch();

相关文章

Utilities类方法