org.axonframework.eventstore.jdbc.criteria
Class BinaryOperator
java.lang.Object
org.axonframework.eventstore.jdbc.criteria.JdbcCriteria
org.axonframework.eventstore.jdbc.criteria.BinaryOperator
- All Implemented Interfaces:
- Criteria
public class BinaryOperator
- extends JdbcCriteria
Implementation of a binary operator for the Jdbc Event Store.
- Since:
- 2.2
- Author:
- Allard Buijze, Kristian Rosenvold
Methods inherited from class org.axonframework.eventstore.jdbc.criteria.JdbcCriteria |
and, or |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinaryOperator
public BinaryOperator(JdbcCriteria criteria1,
String operator,
JdbcCriteria criteria2)
- Initializes a binary operator that matches against two criteria
- Parameters:
criteria1
- One of the criteria to matchoperator
- The binary operator to check the criteria withcriteria2
- One of the criteria to match
parse
public void parse(String entryKey,
StringBuilder whereClause,
ParameterRegistry parameters)
- Description copied from class:
JdbcCriteria
- Parses the criteria to a JPA compatible where clause and parameter values.
- Specified by:
parse
in class JdbcCriteria
- 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.