Class ContainsFunction<K,​V>

    • Field Detail

      • EXTERNALIZER

        public static final org.infinispan.commons.marshall.AdvancedExternalizer<ContainsFunction> EXTERNALIZER
    • Constructor Detail

      • ContainsFunction

        public ContainsFunction()
      • ContainsFunction

        public ContainsFunction​(V value)
        Call this constructor to create a function that checks if a key/value pair exists
        • if the key is null, the value will be searched in any key
        • if the value is null, the key will be searched
        • key-value pair are not null, the entry will be searched
        • key-value pair are null, a NullPointerException will be raised
        Parameters:
        value - value to be checked on the key
    • Method Detail

      • apply

        public Boolean apply​(org.infinispan.functional.EntryView.ReadWriteEntryView<K,​Bucket<V>> entryView)
        Specified by:
        apply in interface Function<K,​V>