protected void internalForward(Object row, ObjectInspector outputOI) throws HiveException { forward(row, outputOI); }
protected void internalForward(Object row, ObjectInspector outputOI) throws HiveException { forward(row, outputOI); }
protected void internalForward(Object row, ObjectInspector outputOI) throws HiveException { forward(row, outputOI); }
private void genAllOneUniqueJoinObject() throws HiveException { int p = 0; for (int i = 0; i < numAliases; i++) { int sz = joinValues.get(order[i]).size(); ArrayList<Object> obj = storage.get(order[i]).first(); for (int j = 0; j < sz; j++) { forwardCache[p++] = obj.get(j); } } forward(forwardCache, outputObjInspector); countAfterReport = 0; }
private void createForwardJoinObject(IntermediateObject intObj, boolean[] nullsArr) throws HiveException { int p = 0; for (int i = 0; i < numAliases; i++) { Byte alias = order[i]; int sz = joinValues.get(alias).size(); if (nullsArr[i]) { for (int j = 0; j < sz; j++) { forwardCache[p++] = null; } } else { ArrayList<Object> obj = intObj.getObjs()[i]; for (int j = 0; j < sz; j++) { forwardCache[p++] = obj.get(j); } } } forward(forwardCache, outputObjInspector); countAfterReport = 0; }
private void genUniqueJoinObject(int aliasNum, int forwardCachePos) throws HiveException { AbstractRowContainer<ArrayList<Object>> alias = storage.get(order[aliasNum]); for (ArrayList<Object> row = alias.first(); row != null; row = alias.next()) { int sz = joinValues.get(order[aliasNum]).size(); int p = forwardCachePos; for (int j = 0; j < sz; j++) { forwardCache[p++] = row.get(j); } if (aliasNum == numAliases - 1) { forward(forwardCache, outputObjInspector); countAfterReport = 0; } else { genUniqueJoinObject(aliasNum + 1, p); } } }