Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database.querycache
Class EntityDescriptorQueryCacheStrategy

java.lang.Object
  extended by com.jivesoftware.forum.database.querycache.EntityDescriptorQueryCacheStrategy
All Implemented Interfaces:
QueryCacheStrategy

public class EntityDescriptorQueryCacheStrategy
extends java.lang.Object
implements QueryCacheStrategy


Constructor Summary
EntityDescriptorQueryCacheStrategy()
           
 
Method Summary
 java.lang.Object getQueryCacheObject(java.sql.ResultSet rs)
          Creates a QueryCacheObject given a result set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityDescriptorQueryCacheStrategy

public EntityDescriptorQueryCacheStrategy()
Method Detail

getQueryCacheObject

public java.lang.Object getQueryCacheObject(java.sql.ResultSet rs)
                                     throws java.sql.SQLException
Description copied from interface: QueryCacheStrategy
Creates a QueryCacheObject given a result set. This method is dependent on the CachedPreparedStatement and the strategy implementation being in sync (i.e. the sql returning the appropriate fields for the strategy to create the QueryCacheObject.

Specified by:
getQueryCacheObject in interface QueryCacheStrategy
Parameters:
rs - the result set to retrieve the data necessary to generate the QueryCacheObject From
Returns:
a QueryCacheObject encapsulating the query result data.
Throws:
java.sql.SQLException - if an error occurs retrieving data from the query

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.