private List < FieldSelector > getFieldSelectorsFromRequest ( HttpServletRequest request ) throws Exception { String [ ] fieldSelectorStrings = request . getParameterValues ( "select" ) ; if ( null == fieldSelectorStrings ) { return null ; } if ( 0 == fieldSelectorStrings . length ) { return null ; } List < FieldSelector > result = new Vector < FieldSelector > ( ) ; for ( String fieldSelectorString : fieldSelectorStrings ) { FieldSelector fieldSelector = parseFieldSelectorString ( fieldSelectorString ) ; result . add ( fieldSelector ) ; } return result ; }
Return a list of column names to be included in a select clause .