org.apache.hadoop.hive.ql.io
Class IOPrepareCache

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.IOPrepareCache

public class IOPrepareCache
extends Object

IOPrepareCache is used to cache pre-query io-related objects. It should be cleared every time a new query issued.


Constructor Summary
IOPrepareCache()
           
 
Method Summary
 Map<Map<String,PartitionDesc>,Map<String,PartitionDesc>> allocatePartitionDescMap()
           
 void clear()
           
static IOPrepareCache get()
           
 Map<Map<String,PartitionDesc>,Map<String,PartitionDesc>> getPartitionDescMap()
           
 void setPartitionDescMap(Map<Map<String,PartitionDesc>,Map<String,PartitionDesc>> partitionDescMap)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOPrepareCache

public IOPrepareCache()
Method Detail

get

public static IOPrepareCache get()

clear

public void clear()

allocatePartitionDescMap

public Map<Map<String,PartitionDesc>,Map<String,PartitionDesc>> allocatePartitionDescMap()

getPartitionDescMap

public Map<Map<String,PartitionDesc>,Map<String,PartitionDesc>> getPartitionDescMap()

setPartitionDescMap

public void setPartitionDescMap(Map<Map<String,PartitionDesc>,Map<String,PartitionDesc>> partitionDescMap)


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