public static GenericRecord subsetRecord(GenericRecord record,Schema subsetSchema){
  return subsetRecord(record,subsetSchema,null);
}

public static GenericRecord subsetRecord ( GenericRecord record , Schema subsetSchema ) { return subsetRecord ( record , subsetSchema , null ) ; }
the subset of the original record that contains the values for the given subset schema .
