Class SchemaUtil


  • public class SchemaUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.apache.pig.ResourceSchema convert​(Schema icebergSchema)  
      static Schema project​(Schema schema, java.util.List<java.lang.String> requiredFields)  
      • Methods inherited from class java.lang.Object

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

      • convert

        public static org.apache.pig.ResourceSchema convert​(Schema icebergSchema)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • project

        public static Schema project​(Schema schema,
                                     java.util.List<java.lang.String> requiredFields)