int function ( String arg0 ) { assert arg0 != null ; GroupSpec [ ] loc0 = baseQuery . getGrouping ( ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { GroupSpec loc2 = loc0 [ loc1 ] ; if ( arg0 . equals ( loc2 . getName ( ) ) || arg0 . equals ( loc2 . getKeyColumn ( ) ) ) { return loc1 + 1 ; } } return - 1 ; }
return the index of group according to the given group text . concode_field_sep BaseQuery baseQuery concode_elem_sep List groupDefns concode_elem_sep int PREPARED_QUERY concode_elem_sep int BASE_QUERY concode_elem_sep int runStates concode_elem_sep boolean isDetailedRow concode_elem_sep String TOTAL_COUNT_FUNC concode_elem_sep int groupCount concode_elem_sep ScriptContext cx concode_elem_sep int calculationLevel concode_elem_sep List aggrExprInfoList concode_elem_sep Scriptable scope concode_elem_sep Logger logger concode_elem_sep int groupLevel concode_elem_sep String TOTAL_RUNNINGCOUNT_FUNC concode_field_sep boolean containsGroupLevel concode_elem_sep void prepare concode_elem_sep int getOptionalArgNum concode_elem_sep int getGroupIndexFromPreparedQuery concode_elem_sep boolean isTotalCountOrRunningCount concode_elem_sep boolean containsFilter concode_elem_sep int registerExpression concode_elem_sep AggrExprInfo newAggrExprInfo concode_elem_sep int register concode_elem_sep boolean isValidArgumentNum