public final class ColumnProjectionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
READ_COLUMN_IDS_CONF_STR |
Modifier and Type | Method and Description |
---|---|
static void |
appendReadColumnIDs(org.apache.hadoop.conf.Configuration conf,
ArrayList<Integer> ids)
Sets read columns' ids(start from zero) for RCFile's Reader.
|
static ArrayList<Integer> |
getReadColumnIDs(org.apache.hadoop.conf.Configuration conf)
Returns an array of column ids(start from zero) which is set in the given
parameter conf.
|
static void |
setFullyReadColumns(org.apache.hadoop.conf.Configuration conf)
Clears the read column ids set in the conf, and will read all columns.
|
static void |
setReadColumnIDs(org.apache.hadoop.conf.Configuration conf,
ArrayList<Integer> ids)
Sets read columns' ids(start from zero) for RCFile's Reader.
|
public static final String READ_COLUMN_IDS_CONF_STR
public static void setReadColumnIDs(org.apache.hadoop.conf.Configuration conf, ArrayList<Integer> ids)
public static void appendReadColumnIDs(org.apache.hadoop.conf.Configuration conf, ArrayList<Integer> ids)
public static ArrayList<Integer> getReadColumnIDs(org.apache.hadoop.conf.Configuration conf)
public static void setFullyReadColumns(org.apache.hadoop.conf.Configuration conf)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.