public abstract class AbstractDictionaryDecodedReadSupport<T> extends Object implements CarbonReadSupport<T>
| Modifier and Type | Field and Description |
|---|---|
protected CarbonColumn[] |
carbonColumns
carbon columns
|
protected DataType[] |
dataTypes |
protected Dictionary[] |
dictionaries |
| Constructor and Description |
|---|
AbstractDictionaryDecodedReadSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method iwll be used to clear the dictionary cache and update access count for each
column involved which will be used during eviction of columns from LRU cache if memory
reaches threshold
|
void |
intialize(CarbonColumn[] carbonColumns,
AbsoluteTableIdentifier absoluteTableIdentifier)
It would be instantiated in side the task so the dictionary would be loaded inside every mapper
instead of driver.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadRowprotected Dictionary[] dictionaries
protected DataType[] dataTypes
protected CarbonColumn[] carbonColumns
public AbstractDictionaryDecodedReadSupport()
public void intialize(CarbonColumn[] carbonColumns, AbsoluteTableIdentifier absoluteTableIdentifier)
intialize in interface CarbonReadSupport<T>carbonColumns - absoluteTableIdentifier - public void close()
close in interface CarbonReadSupport<T>Copyright © 2016 The Apache Software Foundation. All rights reserved.