public class OrcUtils extends Object
| Constructor and Description |
|---|
OrcUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getFlattenedColumnsCount(ObjectInspector inspector)
Returns the number of columns after flatting complex types.
|
static boolean[] |
includeColumns(String selectedColumns,
String allColumns,
ObjectInspector inspector)
Returns selected columns as a boolean array with true value set for specified column names.
|
public static boolean[] includeColumns(String selectedColumns, String allColumns, ObjectInspector inspector)
selectedColumns - - comma separated list of selected column namesallColumns - - comma separated list of all column namesinspector - - object inspectorpublic static int getFlattenedColumnsCount(ObjectInspector inspector)
inspector - - object inspectorCopyright © 2017 The Apache Software Foundation. All rights reserved.