public static void setSchemaTypeInfo ( Configuration conf , StructTypeInfo schemaTypeInfo ) { if ( schemaTypeInfo != null ) { conf . set ( SCHEMA_TYPE_INFO , schemaTypeInfo . getTypeName ( ) ) ; LOG . debug ( "Set schema typeInfo on conf: {}" , schemaTypeInfo ) ; } }
Sets the StructTypeInfo that declares the total schema of the file in the configuration