public String getCountStatement ( ) { StringBuilder stmt = new StringBuilder ( ) ; stmt . append ( _SELECT_COUNT_ ) . append ( _fromClause ) . append ( _whereClause ) ; return stmt . toString ( ) ; }
Returns the OQL statement to count the objects .