org.axonframework.eventstore.jpa.criteria
Class JpaCriteriaBuilder

java.lang.Object
  extended by org.axonframework.eventstore.jpa.criteria.JpaCriteriaBuilder
All Implemented Interfaces:
CriteriaBuilder

public class JpaCriteriaBuilder
extends Object
implements CriteriaBuilder

CriteriaBuilder implementation for the Jpa Event Store

Since:
2.0
Author:
Allard Buijze

Constructor Summary
JpaCriteriaBuilder()
           
 
Method Summary
 Property property(String propertyName)
          Returns a property instance that can be used to build criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JpaCriteriaBuilder

public JpaCriteriaBuilder()
Method Detail

property

public Property property(String propertyName)
Description copied from interface: CriteriaBuilder
Returns a property instance that can be used to build criteria. The given propertyName must hold a valid value for the Event Store that returns that value. Typically, it requires the "indexed" values to be used, such as event identifier, aggregate identifier, timestamp, etc.

Specified by:
property in interface CriteriaBuilder
Parameters:
propertyName - The name of the property to evaluate
Returns:
a property instance that can be used to build expressions


Copyright © 2010-2016. All Rights Reserved.