org.apache.drill.exec.proto.UserProtos.QueryResultsMode to int