Spring Data Couchbase

org.springframework.data.couchbase.core.view
Annotation Type View


@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface View

Annotation to support the use of Views with Couchbase.

Author:
David Harrigan.

Required Element Summary
 String designDocument
          The name of the Design Document to use.
 String viewName
          The name of the View to use.
 

Element Detail

designDocument

public abstract String designDocument
The name of the Design Document to use.

This field is mandatory.

Returns:
name of the Design Document.

viewName

public abstract String viewName
The name of the View to use.

This field is mandatory.

Returns:
name of the View

Spring Data Couchbase

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.