public class ArrayWritableReadSupport extends Object implements CarbonReadSupport<org.apache.hadoop.io.ArrayWritable>
| Constructor and Description |
|---|
ArrayWritableReadSupport() |
| 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 can use [
CarbonColumn] array to create its own schema to create its row. |
org.apache.hadoop.io.ArrayWritable |
readRow(Object[] data) |
public void intialize(CarbonColumn[] carbonColumns, AbsoluteTableIdentifier absoluteTableIdentifier)
CarbonReadSupportCarbonColumn] array to create its own schema to create its row.intialize in interface CarbonReadSupport<org.apache.hadoop.io.ArrayWritable>public org.apache.hadoop.io.ArrayWritable readRow(Object[] data)
readRow in interface CarbonReadSupport<org.apache.hadoop.io.ArrayWritable>public void close()
close in interface CarbonReadSupport<org.apache.hadoop.io.ArrayWritable>Copyright © 2016 The Apache Software Foundation. All rights reserved.