org.apache.hadoop.hive.ql.exec
Interface ObjectCache

All Known Implementing Classes:
ObjectCache, ObjectCache

public interface ObjectCache

ObjectCache. Interface for maintaining objects associated with a task.


Method Summary
 void cache(String key, Object value)
          Add an object to the cache
 Object retrieve(String key)
          Retrieve object from cache.
 

Method Detail

cache

void cache(String key,
           Object value)
Add an object to the cache

Parameters:
key -
value -

retrieve

Object retrieve(String key)
Retrieve object from cache.

Parameters:
key -
Returns:
the last cached object with the key, null if none.


Copyright © 2014 The Apache Software Foundation. All rights reserved.