org.axonframework.eventstore.jpa.criteria
Class Equals
java.lang.Object
org.axonframework.eventstore.jpa.criteria.JpaCriteria
org.axonframework.eventstore.jpa.criteria.Equals
- All Implemented Interfaces:
- Criteria
public class Equals
- extends JpaCriteria
Implementation of the EQUALS operator for a JPA Event Store.
- Since:
- 2.0
- Author:
- Allard Buijze
Constructor Summary |
Equals(JpaProperty property,
Object expression)
Initializes an Equals operator matching the given property against the given
expression . |
Methods inherited from class org.axonframework.eventstore.jpa.criteria.JpaCriteria |
and, or |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Equals
public Equals(JpaProperty property,
Object expression)
- Initializes an Equals operator matching the given
property
against the given
expression
.
- Parameters:
property
- The property to matchexpression
- The expression to match against. May be null
.
parse
public void parse(String entryKey,
StringBuilder whereClause,
ParameterRegistry parameters)
- Description copied from class:
JpaCriteria
- Parses the criteria to a JPA compatible where clause and parameter values.
- Specified by:
parse
in class JpaCriteria
- Parameters:
entryKey
- The variable assigned to the entry in the whereClausewhereClause
- The buffer to write the where clause to.parameters
- The registry where parameters and assigned values can be registered.
Copyright © 2010-2016. All Rights Reserved.