public interface OrcFilterContext extends org.apache.hadoop.hive.ql.io.filter.MutableFilterContext
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.
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.ql.exec.vector.ColumnVector[] |
findColumnVector(String name)
Retrieves the column vector that matches the specified name.
|
static boolean |
isNull(org.apache.hadoop.hive.ql.exec.vector.ColumnVector[] vectorBranch,
int idx)
Utility method for determining if a particular row element in the vector branch is null.
|
static boolean |
noNulls(org.apache.hadoop.hive.ql.exec.vector.ColumnVector[] vectorBranch)
Utility method for determining if the leaf vector of the branch can be treated as having
noNulls.
|
immutable, setFilterContext, setSelected, setSelectedInUse, setSelectedSize, updateSelected, validateSelectedgetSelected, getSelectedSize, isSelectedInUse, resetorg.apache.hadoop.hive.ql.exec.vector.ColumnVector[] findColumnVector(String name)
name - The column name whose vector should be retrievedIllegalArgumentException - if the field is not found or if the nested field is not part
of a structstatic boolean noNulls(org.apache.hadoop.hive.ql.exec.vector.ColumnVector[] vectorBranch)
vectorBranch - The input vector branch from the root to the leafstatic boolean isNull(org.apache.hadoop.hive.ql.exec.vector.ColumnVector[] vectorBranch, int idx) throws IllegalArgumentException
vectorBranch - The input vector branch from the root to the leafidx - The row index being testedIllegalArgumentException - If a multivalued vector such as List or Map is encountered in
the branch.Copyright © 2013–2024 The Apache Software Foundation. All rights reserved.