Interface IKeyExtractor<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MATCH_ALWAYS
      Match any value constant for values.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Boolean getKeyMatchingMode​(java.lang.String keytype, T value)
      Extracts the matching mode from a multivalued term.
      java.lang.String[] getKeyNames()
      Get the key names for this type of extractor.
      java.util.Set<java.lang.String> getKeyValues​(java.lang.String keytype, T value)
      Extracts key value from an object.
    • Field Detail

      • MATCH_ALWAYS

        static final java.lang.String MATCH_ALWAYS
        Match any value constant for values. Indexer checks if value is ANY and then it always matches.
        See Also:
        Constant Field Values
    • Method Detail

      • getKeyValues

        java.util.Set<java.lang.String> getKeyValues​(java.lang.String keytype,
                                                     T value)
        Extracts key value from an object.
        Parameters:
        keytype - The type of key being extracted.
        value - The value.
        Returns:
        The keys matching the type.
      • getKeyMatchingMode

        java.lang.Boolean getKeyMatchingMode​(java.lang.String keytype,
                                             T value)
        Extracts the matching mode from a multivalued term. true = AND, false = OR
        Parameters:
        keytype - The type of key being extracted.
        value - The value.
        Returns:
        The key matching mode.
      • getKeyNames

        java.lang.String[] getKeyNames()
        Get the key names for this type of extractor.
        Returns:
        The key names.