org.apache.drill.exec.proto.UserBitShared.QueryResult.QueryState to int