Package org.apache.flink.runtime.operators.util

Examples of org.apache.flink.runtime.operators.util.RecordReaderIterator


    this.inputTypeSerializerFactory = this.config.getInputSerializer(0, getUserCodeClassLoader());
   
    if (this.inputTypeSerializerFactory.getDataType() == Record.class) {
      // record specific deserialization
      MutableReader<Record> reader = (MutableReader<Record>) inputReader;
      this.reader = (MutableObjectIterator<IT>)new RecordReaderIterator(reader);
    } else {
      // generic data type serialization
      MutableReader<DeserializationDelegate<?>> reader = (MutableReader<DeserializationDelegate<?>>) inputReader;
      @SuppressWarnings({ "rawtypes" })
      final MutableObjectIterator<?> iter = new ReaderIterator(reader, this.inputTypeSerializerFactory.getSerializer());
View Full Code Here


    if (serializerFactory.getDataType().equals(Record.class)) {
      // record specific deserialization
      @SuppressWarnings("unchecked")
      MutableReader<Record> reader = (MutableReader<Record>) inputReader;
      return new RecordReaderIterator(reader);
    } else {
      // generic data type serialization
      @SuppressWarnings("unchecked")
      MutableReader<DeserializationDelegate<?>> reader = (MutableReader<DeserializationDelegate<?>>) inputReader;
      @SuppressWarnings({ "unchecked", "rawtypes" })
View Full Code Here

TOP

Related Classes of org.apache.flink.runtime.operators.util.RecordReaderIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.