protected void commonSetup() throws HiveException { super.commonSetup(); // Inner big-table only join specific. VectorMapJoinHashMultiSet baseHashMultiSet = (VectorMapJoinHashMultiSet) vectorMapJoinHashTable; hashMultiSetResults = new VectorMapJoinHashMultiSetResult[VectorizedRowBatch.DEFAULT_SIZE]; for (int i = 0; i < hashMultiSetResults.length; i++) { hashMultiSetResults[i] = baseHashMultiSet.createHashMultiSetResult(); } allMatchs = new int[VectorizedRowBatch.DEFAULT_SIZE]; equalKeySeriesValueCounts = new long[VectorizedRowBatch.DEFAULT_SIZE]; equalKeySeriesAllMatchIndices = new int[VectorizedRowBatch.DEFAULT_SIZE]; equalKeySeriesDuplicateCounts = new int[VectorizedRowBatch.DEFAULT_SIZE]; spills = new int[VectorizedRowBatch.DEFAULT_SIZE]; spillHashMapResultIndices = new int[VectorizedRowBatch.DEFAULT_SIZE]; }
protected void commonSetup(VectorizedRowBatch batch) throws HiveException { super.commonSetup(batch); // Inner big-table only join specific. VectorMapJoinHashMultiSet baseHashMultiSet = (VectorMapJoinHashMultiSet) vectorMapJoinHashTable; hashMultiSetResults = new VectorMapJoinHashMultiSetResult[batch.DEFAULT_SIZE]; for (int i = 0; i < hashMultiSetResults.length; i++) { hashMultiSetResults[i] = baseHashMultiSet.createHashMultiSetResult(); } allMatchs = new int[batch.DEFAULT_SIZE]; equalKeySeriesValueCounts = new long[batch.DEFAULT_SIZE]; equalKeySeriesAllMatchIndices = new int[batch.DEFAULT_SIZE]; equalKeySeriesDuplicateCounts = new int[batch.DEFAULT_SIZE]; spills = new int[batch.DEFAULT_SIZE]; spillHashMapResultIndices = new int[batch.DEFAULT_SIZE]; }
protected void commonSetup(VectorizedRowBatch batch) throws HiveException { super.commonSetup(batch); // Inner big-table only join specific. VectorMapJoinHashMultiSet baseHashMultiSet = (VectorMapJoinHashMultiSet) vectorMapJoinHashTable; hashMultiSetResults = new VectorMapJoinHashMultiSetResult[batch.DEFAULT_SIZE]; for (int i = 0; i < hashMultiSetResults.length; i++) { hashMultiSetResults[i] = baseHashMultiSet.createHashMultiSetResult(); } allMatchs = new int[batch.DEFAULT_SIZE]; equalKeySeriesValueCounts = new long[batch.DEFAULT_SIZE]; equalKeySeriesAllMatchIndices = new int[batch.DEFAULT_SIZE]; equalKeySeriesDuplicateCounts = new int[batch.DEFAULT_SIZE]; spills = new int[batch.DEFAULT_SIZE]; spillHashMapResultIndices = new int[batch.DEFAULT_SIZE]; }