for(int loop=0; loop<selectArray.length(); ++loop) {
String select = selectArray.getString(loop);
if( null == select ) {
throw new Exception("Invalid query : field selector must be a string");
}
FieldSelector fieldSelector = parseFieldSelectorString(select);
fieldSelectors.add(fieldSelector);
}
query.setFieldSelectors(fieldSelectors);