EMMA Coverage Report (generated Mon Jan 28 16:15:17 GMT 2013)
[all classes][org.springframework.data.elasticsearch.repository.query]

COVERAGE SUMMARY FOR SOURCE FILE [AbstractElasticsearchRepositoryQuery.java]

nameclass, %method, %block, %line, %
AbstractElasticsearchRepositoryQuery.java100% (1/1)100% (2/2)100% (12/12)100% (5/5)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class AbstractElasticsearchRepositoryQuery100% (1/1)100% (2/2)100% (12/12)100% (5/5)
AbstractElasticsearchRepositoryQuery (ElasticsearchQueryMethod, Elasticsearch... 100% (1/1)100% (9/9)100% (4/4)
getQueryMethod (): QueryMethod 100% (1/1)100% (3/3)100% (1/1)

1/*
2 * Copyright 2012 the original author or authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.springframework.data.elasticsearch.repository.query;
17 
18import org.springframework.data.elasticsearch.core.ElasticsearchOperations;
19import org.springframework.data.repository.query.QueryMethod;
20import org.springframework.data.repository.query.RepositoryQuery;
21 
22 
23public abstract class AbstractElasticsearchRepositoryQuery implements RepositoryQuery {
24 
25    protected ElasticsearchQueryMethod queryMethod;
26    protected ElasticsearchOperations elasticsearchOperations;
27 
28    public AbstractElasticsearchRepositoryQuery(ElasticsearchQueryMethod queryMethod, ElasticsearchOperations elasticsearchOperations) {
29        this.queryMethod = queryMethod;
30        this.elasticsearchOperations = elasticsearchOperations;
31    }
32 
33    @Override
34    public QueryMethod getQueryMethod() {
35        return queryMethod;
36    }
37 
38}

[all classes][org.springframework.data.elasticsearch.repository.query]
EMMA 2.0.5312 (C) Vladimir Roubtsov