|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface ViewAnnotation for defining views embedded in repositories.
| Required Element Summary | |
|---|---|
String |
name
The name of the view |
| Optional Element Summary | |
|---|---|
String |
file
Non-trivial views are best stored in a separate files. |
String |
map
Map function or path to function. |
String |
reduce
Reduce function or path to function. |
| Element Detail |
|---|
public abstract String name
public abstract String map
This value may be a string of code to use for the function. Alternatively, the string may specify a file to load for the function by starting the string with classpath:. The rest of the string then represents a relative path to the function.
public abstract String reduce
This value may be a string of code to use for the function. Alternatively, the string may specify a file to load for the function by starting the string with classpath:. The rest of the string then represents a relative path to the function.
public abstract String file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||