public long countView ( final String viewName ) { final OView cls = getMetadata ( ) . getImmutableSchemaSnapshot ( ) . getView ( viewName ) ; if ( cls == null ) throw new IllegalArgumentException ( "View '" + cls + "' not found in database" ) ; return countClass ( cls , false ) ; }
Returns the number of the records of the class iClassName .