Class DocumentAdapter.Identity

    • Constructor Detail

      • Identity

        public Identity()
    • Method Detail

      • adapt

        public Object adapt​(Object value)
        Description copied from interface: DocumentAdapter
        Takes an input value and returns an output value. The returned value(s) are scanned for properties to index. The value itself is not indexed.
        Specified by:
        adapt in interface DocumentAdapter<Object>
        Parameters:
        value - the value to adapt
        Returns:
        the values to work with later on. May be any Object, arrays and collections are dived into