org.axonframework.eventstore.mongo.criteria
Class MongoCriteriaBuilder

java.lang.Object
  extended by org.axonframework.eventstore.mongo.criteria.MongoCriteriaBuilder
All Implemented Interfaces:
CriteriaBuilder

public class MongoCriteriaBuilder
extends Object
implements CriteriaBuilder

The CriteriaBuilder implementation for use with the Mongo event store.

Since:
2.0
Author:
Allard Buijze

Constructor Summary
MongoCriteriaBuilder()
           
 
Method Summary
 MongoProperty 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

MongoCriteriaBuilder

public MongoCriteriaBuilder()
Method Detail

property

public MongoProperty 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.