public class OrcFilterContextImpl extends Object implements OrcFilterContext
VectorizedRowBatch]] with schema.
 This offers a convenience method of finding the column vector from a given column name that the filters can invoke to get access to the column vector.
| Constructor and Description | 
|---|
| OrcFilterContextImpl(TypeDescription readSchema,
                    boolean isSchemaCaseAware) | 
| Modifier and Type | Method and Description | 
|---|---|
| ColumnVector[] | findColumnVector(String name)Retrieves the column vector that matches the specified name. | 
| ColumnVector[] | getCols() | 
| int[] | getSelected() | 
| int | getSelectedSize() | 
| boolean | isSelectedInUse() | 
| void | reset() | 
| OrcFilterContext | setBatch(@NotNull VectorizedRowBatch batch) | 
| void | setFilterContext(boolean selectedInUse,
                int[] selected,
                int selectedSize) | 
| void | setSelected(int[] ints) | 
| void | setSelectedInUse(boolean b) | 
| void | setSelectedSize(int i) | 
| int[] | updateSelected(int i) | 
| boolean | validateSelected() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisNull, noNullsimmutablepublic OrcFilterContextImpl(TypeDescription readSchema, boolean isSchemaCaseAware)
public OrcFilterContext setBatch(@NotNull @NotNull VectorizedRowBatch batch)
public void setFilterContext(boolean selectedInUse,
                             int[] selected,
                             int selectedSize)
setFilterContext in interface org.apache.hadoop.hive.ql.io.filter.MutableFilterContextpublic boolean validateSelected()
validateSelected in interface org.apache.hadoop.hive.ql.io.filter.MutableFilterContextpublic int[] updateSelected(int i)
updateSelected in interface org.apache.hadoop.hive.ql.io.filter.MutableFilterContextpublic void setSelectedInUse(boolean b)
setSelectedInUse in interface org.apache.hadoop.hive.ql.io.filter.MutableFilterContextpublic void setSelected(int[] ints)
setSelected in interface org.apache.hadoop.hive.ql.io.filter.MutableFilterContextpublic void setSelectedSize(int i)
setSelectedSize in interface org.apache.hadoop.hive.ql.io.filter.MutableFilterContextpublic void reset()
reset in interface org.apache.hadoop.hive.ql.io.filter.FilterContextpublic boolean isSelectedInUse()
isSelectedInUse in interface org.apache.hadoop.hive.ql.io.filter.FilterContextpublic int[] getSelected()
getSelected in interface org.apache.hadoop.hive.ql.io.filter.FilterContextpublic int getSelectedSize()
getSelectedSize in interface org.apache.hadoop.hive.ql.io.filter.FilterContextpublic ColumnVector[] getCols()
public ColumnVector[] findColumnVector(String name)
OrcFilterContextfindColumnVector in interface OrcFilterContextname - The column name whose vector should be retrievedCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.