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,
                 String filePath,
                 Configuration conf)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, String filePath, Configuration conf)
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 notfilePath - that is fully qualified to determine plugin filter(s)conf - configuration shared when determining Plugin filter(s)public static VectorFilter createSArgFilter(ExpressionTree expr, Set<String> colIds, List<PredicateLeaf> leaves, TypeDescription readSchema, boolean isSchemaCaseAware, OrcFile.Version version) throws FilterFactory.UnSupportedSArgException
Copyright © 2013–2023 The Apache Software Foundation. All rights reserved.