Class ReductionCheckedDataReader<A>

    • Constructor Detail

      • ReductionCheckedDataReader

        public ReductionCheckedDataReader​(DataInput inputStream,
                                          A applier)
    • Method Detail

      • checkedRead

        protected abstract void checkedRead()
                                     throws IOException
        Read a piece of data from the input stream and feed it to the applier.
        This piece of data is guaranteed to be there.
        Throws:
        IOException - if an exception occurs while reading from the input stream