private boolean isCountQuery()
    {
        if (getKunderaQuery().getSelectStatement() != null)
        {
            final Expression selectClause = getKunderaQuery().getSelectStatement().getSelectClause();

            if (selectClause instanceof SelectClause)
            {
                final Expression expression = ((SelectClause) selectClause).getSelectExpression();

                return expression instanceof CountFunction;
            }
        }

        return false;
    }
private boolean isCountQuery ( ) { if ( getKunderaQuery ( ) . getSelectStatement ( ) != null ) { final Expression selectClause = getKunderaQuery ( ) . getSelectStatement ( ) . getSelectClause ( ) ; if ( selectClause instanceof SelectClause ) { final Expression expression = ( ( SelectClause ) selectClause ) . getSelectExpression ( ) ; return expression instanceof CountFunction ; } } return false ; }
Checks if is count query.

@return true, if is count query