Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 5935 invoked from network); 14 Oct 2005 11:03:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2005 11:03:05 -0000 Received: (qmail 79949 invoked by uid 500); 14 Oct 2005 11:03:04 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 79930 invoked by uid 500); 14 Oct 2005 11:03:04 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 79919 invoked by uid 99); 14 Oct 2005 11:03:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2005 04:03:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [216.12.200.84] (HELO smtp.itanets.com) (216.12.200.84) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Oct 2005 04:03:02 -0700 Received: (qmail 13394 invoked by uid 0); 14 Oct 2005 11:02:33 -0000 Received: from unknown (HELO ?192.168.0.242?) (imirish@alldunne.com@82.153.158.113) by smtp.itanets.com with SMTP; 14 Oct 2005 11:02:33 -0000 Message-ID: <434F9047.7040202@dbamsystems.com> Date: Fri, 14 Oct 2005 12:02:31 +0100 From: John Dunne User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050912) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Torque Users List Subject: Count records Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, Is there a 'light' way to retrieve the number of records that would be returned by a query without actually making the query via doSelect() and then calling the size() method on the returned object? I've got records that contain thousands of entries and it seems a waste to have to make the system create a load of objects that might never be used! John. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org