EMMA Coverage Report (generated Mon Jan 28 10:01:43 GMT 2013) |
---|
[all classes][org.springframework.data.elasticsearch.core.query] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
StringQuery.java | 100% (1/1) | 75% (3/4) | 60% (18/30) | 62% (8/13) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class StringQuery | 100% (1/1) | 75% (3/4) | 60% (18/30) | 62% (8/13) |
StringQuery (String, Pageable, Sort): void | 0% (0/1) | 0% (0/12) | 0% (0/5) | |
StringQuery (String): void | 100% (1/1) | 100% (6/6) | 100% (3/3) | |
StringQuery (String, Pageable): void | 100% (1/1) | 100% (9/9) | 100% (4/4) | |
getSource (): String | 100% (1/1) | 100% (3/3) | 100% (1/1) |
1 | package org.springframework.data.elasticsearch.core.query; |
2 | |
3 | |
4 | import org.springframework.data.domain.Pageable; |
5 | import org.springframework.data.domain.Sort; |
6 | |
7 | public class StringQuery extends AbstractQuery{ |
8 | |
9 | private String source; |
10 | |
11 | public StringQuery(String source) { |
12 | this.source = source; |
13 | } |
14 | |
15 | public StringQuery(String source, Pageable pageable) { |
16 | this.source = source; |
17 | this.pageable = pageable; |
18 | } |
19 | |
20 | public StringQuery(String source, Pageable pageable, Sort sort) { |
21 | this.pageable = pageable; |
22 | this.sort = sort; |
23 | this.source = source; |
24 | } |
25 | |
26 | |
27 | public String getSource() { |
28 | return source; |
29 | } |
30 | |
31 | } |
[all classes][org.springframework.data.elasticsearch.core.query] |
EMMA 2.0.5312 (C) Vladimir Roubtsov |