void setFields ( Field [ ] fields ) { this . fields = fields ; this . resultSetColumnNameIndexMap = null ; this . cachedMaxResultRowSize = null ; this . needUpdateFieldFormats = fields != null ; this . hasBinaryFields = false ; // just in case }
Sets the fields that this query will return .