public class ChainFilterFactory extends Object implements FilterFactory
Filter that is implemented as a chain of other filters.
The chain of filters are created as a result of
getInstance(org.apache.hadoop.conf.Configuration)
method call. The resulting object filters out all users that don't pass all
chained filters. The filters will be applied in the order they are mentioned in the factory
constructor.| Constructor and Description |
|---|
ChainFilterFactory(FilterFactory... factories)
Constructs a factory for a chain of filters.
|
| Modifier and Type | Method and Description |
|---|---|
Filter |
getInstance(org.apache.hadoop.conf.Configuration conf)
Returns an instance of the corresponding filter.
|
public ChainFilterFactory(FilterFactory... factories)
factories - The array of factories that will be used to construct a chain of filters.public Filter getInstance(org.apache.hadoop.conf.Configuration conf)
getInstance in interface FilterFactoryconf - Hive properties used to configure the filter.null if this filter doesn't support provided set of propertiesCopyright © 2024 The Apache Software Foundation. All rights reserved.