case JAVA: result = new LazySimpleStructObjectInspector(structFieldNames, structFieldObjectInspectors, structFieldComments, separator, lazyParams); break;
destinationOi = new LazySimpleStructObjectInspector( childNames, childOis, null, (byte)0, null); destinationBatch.setPartitionInfo(sourceIncludes.size(), 0);
public static LazySimpleStructObjectInspector getLazySimpleStructObjectInspector( List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, byte separator, Text nullSequence, boolean lastColumnTakesRest, boolean escaped, byte escapeChar) { ArrayList<Object> signature = new ArrayList<Object>(); signature.add(structFieldNames); signature.add(structFieldObjectInspectors); signature.add(Byte.valueOf(separator)); signature.add(nullSequence.toString()); signature.add(Boolean.valueOf(lastColumnTakesRest)); signature.add(Boolean.valueOf(escaped)); signature.add(Byte.valueOf(escapeChar)); LazySimpleStructObjectInspector result = cachedLazySimpleStructObjectInspector .get(signature); if (result == null) { result = new LazySimpleStructObjectInspector(structFieldNames, structFieldObjectInspectors, separator, nullSequence, lastColumnTakesRest, escaped, escapeChar); cachedLazySimpleStructObjectInspector.put(signature, result); } return result; }
case JAVA: result = new LazySimpleStructObjectInspector(structFieldNames, structFieldObjectInspectors, structFieldComments, separator, lazyParams); break;
case JAVA: result = new LazySimpleStructObjectInspector(structFieldNames, structFieldObjectInspectors, structFieldComments, separator, lazyParams); break;
case JAVA: result = new LazySimpleStructObjectInspector(structFieldNames, structFieldObjectInspectors, structFieldComments, separator, lazyParams); break;
case JAVA: result = new LazySimpleStructObjectInspector(structFieldNames, structFieldObjectInspectors, structFieldComments, separator, lazyParams); break;
destinationOi = new LazySimpleStructObjectInspector( childNames, childOis, null, (byte)0, null); destinationBatch.setPartitionInfo(sourceIncludes.size(), 0);