Class View


  • @Volatile
    public class View
    extends Object
    A view index specification consisting of a 'map' function and optionally a 'reduce' function.
    • Constructor Detail

      • View

        public View​(String map)
        Create a new view with the given map function and no reduce function.
        Parameters:
        map - map function for this view
      • View

        public View​(String map,
                    String reduce)
        Creates a new view with a map function and a reduce function.
        Parameters:
        map - map function for this view
        reduce - reduce function for this view (may be null)