Class TSFMRReadExample


  • public class TSFMRReadExample
    extends java.lang.Object
    One example for reading TsFile with MapReduce. This MR Job is used to get the result of sum("device_1.sensor_3") in the tsfile. The source of tsfile can be generated by TsFileHelper.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TSFMRReadExample

        public TSFMRReadExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException,
                                org.apache.iotdb.hadoop.tsfile.TSFHadoopException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
        org.apache.iotdb.hadoop.tsfile.TSFHadoopException