Annotation Interface View


Deprecated.
Annotation to support the use of Views with Couchbase.
Author:
David Harrigan., Simon Baslé
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
    The name of the Design Document to use.
    boolean
    Deprecated.
     
    Deprecated.
    The name of the View to use.
  • Element Details

    • designDocument

      String designDocument
      Deprecated.
      The name of the Design Document to use. If omitted, defaults to one derived from the entity class name.
      Returns:
      name of the Design Document.
      Default:
      ""
    • viewName

      String viewName
      Deprecated.
      The name of the View to use. If omitted, defaults to one derived from the method name (stripped of prefix "find" or "count"). This is mandatory to trigger a query derivation from the method name (ie. a View query with parameters like limit, startkey, etc...).
      Returns:
      name of the View
      Default:
      ""
    • reduce

      boolean reduce
      Deprecated.
      Default:
      false