Package alluxio.job

Class ProtoUtils


  • public class ProtoUtils
    extends java.lang.Object
    Utility for converting proto job representation to java job representation.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static JobInfo fromProto​(alluxio.grpc.JobInfo jobInfo)  
      • Methods inherited from class java.lang.Object

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

      • fromProto

        public static JobInfo fromProto​(alluxio.grpc.JobInfo jobInfo)
                                 throws java.io.IOException
        Parameters:
        jobInfo - the proto representation of JobInfo to convert
        Returns:
        JobInfo representation
        Throws:
        java.io.IOException - if result can't be deserialized