@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); } }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); } }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); rowList = new ArrayList<Object>(); maxSize = conf.getBufferSize().intValue(); }
@Override public void initializeOp(Configuration conf) throws HiveException { super.initializeOp(conf); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); rowList = new ArrayList<Object>(); maxSize = conf.getBufferSize().intValue(); }
@Override public void initializeOp(Configuration conf) throws HiveException { super.initializeOp(conf); rows = new ArrayList<Object>(); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); try { fetcher = initializeFetcher(hconf); } catch (Exception e) { throw new HiveException(e); } }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); try { fetcher = initializeFetcher(hconf); } catch (Exception e) { throw new HiveException(e); } }
@Override @SuppressWarnings("deprecation") public void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); serializer = (Serializer) ReflectionUtils.newInstance( conf.getTable().getDeserializerClass(), null); buffer = new DataOutputBuffer(); }
@Override @SuppressWarnings("deprecation") public void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); serializer = (Serializer) ReflectionUtils.newInstance( conf.getTable().getDeserializerClass(), null); buffer = new DataOutputBuffer(); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); limit = conf.getLimit(); leastRow = conf.getLeastRows(); offset = (conf.getOffset() == null) ? 0 : conf.getOffset(); currCount = 0; isMap = hconf.getBoolean("mapred.task.is.map", true); }
@Override public void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); MAX_SIZE = HiveConf.getLongVar(hconf, ConfVars.TEZ_DYNAMIC_PARTITION_PRUNING_MAX_EVENT_SIZE); serializer = (Serializer) ReflectionUtils.newInstance(conf.getTable().getDeserializerClass(), null); initDataBuffer(false); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); TableDesc tbl = this.getConf().getTbl(); try { Deserializer serde = tbl.getDeserializerClass().newInstance(); SerDeUtils.initializeSerDe(serde, hconf, tbl.getProperties(), null); this.outputObjInspector = serde.getObjectInspector(); } catch (Exception e) { LOG.error("Generating output obj inspector from dummy object error", e); e.printStackTrace(); } }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); limit = conf.getLimit(); leastRow = conf.getLeastRows(); offset = (conf.getOffset() == null) ? 0 : conf.getOffset(); currCount = 0; isMap = hconf.getBoolean("mapred.task.is.map", true); }
@Override public void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); MAX_SIZE = HiveConf.getLongVar(hconf, ConfVars.TEZ_DYNAMIC_PARTITION_PRUNING_MAX_EVENT_SIZE); serializer = (Serializer) ReflectionUtils.newInstance(conf.getTable().getDeserializerClass(), null); initDataBuffer(false); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); TableDesc tbl = this.getConf().getTbl(); try { Deserializer serde = tbl.getDeserializerClass().newInstance(); SerDeUtils.initializeSerDe(serde, hconf, tbl.getProperties(), null); this.outputObjInspector = serde.getObjectInspector(); } catch (Exception e) { LOG.error("Generating output obj inspector from dummy object error", e); e.printStackTrace(); } }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); // Just forward the row as is if (conf.isSelStarNoCompute()) { return; } VectorExpression.doTransientInit(vExpressions); List<ObjectInspector> objectInspectors = new ArrayList<ObjectInspector>(); List<ExprNodeDesc> colList = conf.getColList(); valueWriters = VectorExpressionWriterFactory.getExpressionWriters(colList); for (VectorExpressionWriter vew : valueWriters) { objectInspectors.add(vew.getObjectInspector()); } List<String> outputFieldNames = conf.getOutputColumnNames(); outputObjInspector = ObjectInspectorFactory.getStandardStructObjectInspector( outputFieldNames, objectInspectors); }
@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); try { heartbeatInterval = HiveConf.getIntVar(hconf, HiveConf.ConfVars.HIVESENDHEARTBEAT); conditionEvaluator = ExprNodeEvaluatorFactory.get(conf.getPredicate(), hconf); if (HiveConf.getBoolVar(hconf, HiveConf.ConfVars.HIVEEXPREVALUATIONCACHE)) { conditionEvaluator = ExprNodeEvaluatorFactory.toCachedEval(conditionEvaluator); } conditionInspector = null; ioContext = IOContextMap.get(hconf); } catch (Throwable e) { throw new HiveException(e); } }