org.apache.hadoop.hive.ql.exec.vector
Class VectorUtilBatchObjectPool<T>

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.vector.VectorUtilBatchObjectPool<T>

public class VectorUtilBatchObjectPool<T>
extends Object


Nested Class Summary
static interface VectorUtilBatchObjectPool.IAllocator<T>
           
 
Constructor Summary
VectorUtilBatchObjectPool(int size, VectorUtilBatchObjectPool.IAllocator<T> allocator)
           
 
Method Summary
 T getFromPool()
           
 void putInPool(T object)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorUtilBatchObjectPool

public VectorUtilBatchObjectPool(int size,
                                 VectorUtilBatchObjectPool.IAllocator<T> allocator)
Method Detail

getFromPool

public T getFromPool()
              throws HiveException
Throws:
HiveException

putInPool

public void putInPool(T object)


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