ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Equivalent of CARDINALITY in java APIs ?

Post new topic  Reply to topic
 Equivalent of CARDINALITY in java APIs ? « View previous topic :: View next topic » 
Author Message
mmksri
PostPosted: Wed Sep 13, 2006 11:00 pm    Post subject: Equivalent of CARDINALITY in java APIs ? Reply with quote

Newbie

Joined: 07 Jun 2006
Posts: 7

Hi All,
Apologies If I am posting a silly question.

Would like to know whether we have something equivalent to CARDINALITY ESQL function in Java Plugin API. I did browse thro' the API documentation for classes MbElement and MbMessage without luck . Would really appreciate if somebody can direct me in achieving this functionality within JCN.

Thanks.
Back to top
View user's profile Send private message
Mercury
PostPosted: Wed Sep 13, 2006 11:16 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Jun 2006
Posts: 32
Location: Hyderabad

I guess u want to find the cardinality of particular complex element in Input message
Try using SQL statements in java like select count() from InputRoot.XML.Emp[]
(I am not sure .. this idea may work)

Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu Sep 14, 2006 1:39 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I guess Merecury means that you can use MBSQLStatement to run a cardinality statement.

You can also use XPath to run this count, I think. You might have to use it to get a node list, and then ask the List object for it's count.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Equivalent of CARDINALITY in java APIs ?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.