Class AbstractCoreKeyIteratorSettingsFactory

    • Constructor Detail

      • AbstractCoreKeyIteratorSettingsFactory

        public AbstractCoreKeyIteratorSettingsFactory()
    • Method Detail

      • getBloomFilterIteratorSetting

        public org.apache.accumulo.core.client.IteratorSetting getBloomFilterIteratorSetting​(org.apache.hadoop.util.bloom.BloomFilter filter)
                                                                                      throws IteratorSettingException
        Description copied from interface: IteratorSettingFactory
        Returns an IteratorSetting that can be used to apply an iterator that will filter elements based on their vertices membership in a given BloomFilter to a Scanner.
        Specified by:
        getBloomFilterIteratorSetting in interface IteratorSettingFactory
        Parameters:
        filter - the bloom filter
        Returns:
        A new IteratorSetting for an Iterator capable of filtering elements based on checking its serialised form for membership in a BloomFilter
        Throws:
        IteratorSettingException - if an iterator setting could not be created
      • getValidatorIteratorSetting

        public org.apache.accumulo.core.client.IteratorSetting getValidatorIteratorSetting​(AccumuloStore store)
        Description copied from interface: IteratorSettingFactory
        Returns an Iterator that will validate elements in the accumulo table based on the validator provided in the Schema this iterator will be applied to the table on creation
        Specified by:
        getValidatorIteratorSetting in interface IteratorSettingFactory
        Parameters:
        store - the accumulo store
        Returns:
        A new IteratorSetting for an Iterator that will validate elements
      • queryTimeAggregatorRequired

        public boolean queryTimeAggregatorRequired​(View view,
                                                   AccumuloStore store)
      • getIteratorSetting

        public org.apache.accumulo.core.client.IteratorSetting getIteratorSetting​(AccumuloStore store,
                                                                                  String iteratorName)
                                                                           throws IteratorSettingException
        Description copied from interface: IteratorSettingFactory
        Returns the iterator settings for a given iterator name. Allowed iterator names are: Aggregator, Validator and Bloom_Filter.
        Specified by:
        getIteratorSetting in interface IteratorSettingFactory
        Parameters:
        store - the accumulo store
        iteratorName - the name of the iterator to return the settings for
        Returns:
        the iterator settings for a given iterator name.
        Throws:
        IteratorSettingException - if an iterator setting could not be created