Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 10-28-2004
felixcollins felixcollins is offline
Registered User
 
 
Join Date: Oct 2004
Location: Christchurch, New Zealand
Posts: 2
Question Querying Frozen Objects

I'm thinking about using Freeze Evictors to store the domain objects in my system. (domain objects in the context of 4 layer archutecture). I want to be able to provide general purpose searching of these objects.

For instance the user has a "find tool" and runs a search for all objects with:
3 < memberX < 10 and
100 < memberY < 105 or
5 < memberX < 20 and
200 < memberY < 205

Could I query the database directly to do this search, return the object ids then instantiate them and pass references to them to the user?

If I had indexes (section 26.5.6 of Ice doc) for various members I could get the objects that satisfied one of the query terms and then search through them one by one to find the ones that met the other requirements, this seems like a slow way to do it though.

Wouldn't it be cool if ICE provided a way to search through a freeze evictor by suppling an ideal object that you are looking for. There would be a way to specify the ranges for each member in the object and don't care members. This would be mapped to a database query by the freeze evictor and the return set of objects handed back.

Comments?

Cheers,
Felix
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
No sequences of objects in Ice-E? bartley Help Center 5 05-30-2006 06:44 PM
Querying the Object Adapter endpoints aroan Help Center 6 12-27-2004 01:46 PM
Registry and Querying moatas Help Center 8 10-25-2004 06:31 PM
Objects and Proxies ganzuoni Help Center 1 06-18-2003 03:49 PM


All times are GMT -4. The time now is 04:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.