|
||||||||||
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_ALL_COLUMNS
|
static String |
READ_COLUMN_IDS_CONF_STR
|
static String |
READ_COLUMN_NAMES_CONF_STR
|
Method Summary | |
---|---|
static void |
appendReadColumnIDs(org.apache.hadoop.conf.Configuration conf,
List<Integer> ids)
Deprecated. for backwards compatibility with <= 0.12, use appendReadColumns |
static void |
appendReadColumns(org.apache.hadoop.conf.Configuration conf,
List<Integer> ids)
Appends read columns' ids (start from zero). |
static void |
appendReadColumns(org.apache.hadoop.conf.Configuration conf,
List<Integer> ids,
List<String> names)
|
static List<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 boolean |
isReadAllColumns(org.apache.hadoop.conf.Configuration conf)
Returns the READ_ALL_COLUMNS columns flag. |
static void |
setFullyReadColumns(org.apache.hadoop.conf.Configuration conf)
Deprecated. for backwards compatibility with <= 0.12, use setReadAllColumns |
static void |
setReadAllColumns(org.apache.hadoop.conf.Configuration conf)
Sets the READ_ALL_COLUMNS flag and removes any previously set column ids. |
static void |
setReadColumnIDs(org.apache.hadoop.conf.Configuration conf,
List<Integer> ids)
Deprecated. for backwards compatibility with <= 0.12, use setReadAllColumns and appendReadColumns |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String READ_COLUMN_IDS_CONF_STR
public static final String READ_ALL_COLUMNS
public static final String READ_COLUMN_NAMES_CONF_STR
Method Detail |
---|
@Deprecated public static void setFullyReadColumns(org.apache.hadoop.conf.Configuration conf)
@Deprecated public static void setReadColumnIDs(org.apache.hadoop.conf.Configuration conf, List<Integer> ids)
@Deprecated public static void appendReadColumnIDs(org.apache.hadoop.conf.Configuration conf, List<Integer> ids)
public static void setReadAllColumns(org.apache.hadoop.conf.Configuration conf)
public static boolean isReadAllColumns(org.apache.hadoop.conf.Configuration conf)
public static void appendReadColumns(org.apache.hadoop.conf.Configuration conf, List<Integer> ids)
public static void appendReadColumns(org.apache.hadoop.conf.Configuration conf, List<Integer> ids, List<String> names)
public static List<Integer> getReadColumnIDs(org.apache.hadoop.conf.Configuration conf)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |