public class FilterFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FilterFactory.UnSupportedSArgException |
Constructor and Description |
---|
FilterFactory() |
Modifier and Type | Method and Description |
---|---|
static BatchFilter |
createBatchFilter(Reader.Options opts,
TypeDescription readSchema,
boolean isSchemaCaseAware,
OrcFile.Version version,
boolean normalize)
Create a BatchFilter.
|
static VectorFilter |
createSArgFilter(ExpressionTree expr,
Set<String> colIds,
List<PredicateLeaf> leaves,
TypeDescription readSchema,
boolean isSchemaCaseAware,
OrcFile.Version version) |
public static BatchFilter createBatchFilter(Reader.Options opts, TypeDescription readSchema, boolean isSchemaCaseAware, OrcFile.Version version, boolean normalize)
opts
- for reading the filereadSchema
- that should be usedisSchemaCaseAware
- identifies if the schema is case-sensitiveversion
- provides the ORC file versionnormalize
- identifies if the SArg should be normalized or notpublic static VectorFilter createSArgFilter(ExpressionTree expr, Set<String> colIds, List<PredicateLeaf> leaves, TypeDescription readSchema, boolean isSchemaCaseAware, OrcFile.Version version) throws FilterFactory.UnSupportedSArgException
Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.