|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.ColumnProjectionUtils
public final class ColumnProjectionUtils
ColumnProjectionUtils.
Field Summary | |
---|---|
static String |
READ_COLUMN_IDS_CONF_STR
|
Method Summary | |
---|---|
static void |
appendReadColumnIDs(org.apache.hadoop.conf.Configuration conf,
List<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,
List<Integer> ids)
Sets read columns' ids(start from zero) for RCFile's Reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String READ_COLUMN_IDS_CONF_STR
Method Detail |
---|
public static void setReadColumnIDs(org.apache.hadoop.conf.Configuration conf, List<Integer> ids)
public static void appendReadColumnIDs(org.apache.hadoop.conf.Configuration conf, List<Integer> ids)
public static ArrayList<Integer> getReadColumnIDs(org.apache.hadoop.conf.Configuration conf)
public static void setFullyReadColumns(org.apache.hadoop.conf.Configuration conf)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |