org.apache.hadoop.hive.ql.exec.tez
Class ObjectCache
java.lang.Object
org.apache.hadoop.hive.ql.exec.tez.ObjectCache
- All Implemented Interfaces:
- ObjectCache
public class ObjectCache
- extends Object
- implements ObjectCache
ObjectCache. Tez implementation based on the tez object registry.
ObjectCache
public ObjectCache()
cache
public void cache(String key,
Object value)
- Description copied from interface:
ObjectCache
- Add an object to the cache
- Specified by:
cache
in interface ObjectCache
retrieve
public Object retrieve(String key)
- Description copied from interface:
ObjectCache
- Retrieve object from cache.
- Specified by:
retrieve
in interface ObjectCache
- Returns:
- the last cached object with the key, null if none.
Copyright © 2014 The Apache Software Foundation. All rights reserved.