Example usage for org.springframework.data.gemfire.repository.query QueryBuilder QueryBuilder

List of usage examples for org.springframework.data.gemfire.repository.query QueryBuilder QueryBuilder

Introduction

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

Prototype

public QueryBuilder(GemfirePersistentEntity<?> entity, PartTree tree) 

Source Link

Document

Constructs a new instance of QueryBuilder initialized with the given GemfirePersistentEntity and PartTree used to determine the Region to query and whether the query should capture unique results.

Usage

From source file:org.springframework.data.gemfire.repository.query.GemfireQueryCreator.java

/**
 * Creates a new {@link GemfireQueryCreator} using the given {@link PartTree} and domain class.
 * //from   www .j a  v a  2  s  .  c om
 * @param tree must not be {@literal null}.
 * @param entity must not be {@literal null}.
 */
public GemfireQueryCreator(PartTree tree, GemfirePersistentEntity<?> entity) {
    super(tree);

    this.query = new QueryBuilder(entity, tree);
    this.indexes = new IndexProvider();
}