Example usage for org.springframework.data.repository.query.parser PartTree PartTree

List of usage examples for org.springframework.data.repository.query.parser PartTree PartTree

Introduction

In this page you can find the example usage for org.springframework.data.repository.query.parser PartTree PartTree.

Prototype

public PartTree(String source, Class<?> domainClass) 

Source Link

Document

Creates a new PartTree by parsing the given String .

Usage

From source file:com.frank.search.solr.repository.query.PartTreeSolrQuery.java

public PartTreeSolrQuery(SolrQueryMethod method, SolrOperations solrOperations) {
    super(solrOperations, method);
    this.tree = new PartTree(method.getName(), method.getEntityInformation().getJavaType());
    this.mappingContext = solrOperations.getConverter().getMappingContext();
}

From source file:org.socialsignin.spring.data.dynamodb.repository.query.PartTreeDynamoDBQuery.java

public PartTreeDynamoDBQuery(DynamoDBOperations dynamoDBOperations, DynamoDBQueryMethod<T, ID> method) {
    super(dynamoDBOperations, method);
    this.queryMethod = method;
    this.parameters = method.getParameters();
    this.tree = new PartTree(method.getName(), method.getEntityType());
}

From source file:com._4dconcept.springframework.data.marklogic.repository.query.PartTreeMarklogicQuery.java

public PartTreeMarklogicQuery(MarklogicQueryMethod method, MarklogicOperations marklogicOperations) {
    super(method, marklogicOperations);

    this.tree = new PartTree(method.getName(), method.getResultProcessor().getReturnedType().getDomainType());
    this.context = marklogicOperations.getConverter().getMappingContext();
}