org.hibernate.engine.jdbc.batch.internal
Class BasicBatchKey
java.lang.Object
org.hibernate.engine.jdbc.batch.internal.BasicBatchKey
- All Implemented Interfaces:
- BatchKey
public class BasicBatchKey
- extends Object
- implements BatchKey
BasicBatchKey
public BasicBatchKey(String comparison,
Expectation expectation)
getExpectation
public Expectation getExpectation()
- Description copied from interface:
BatchKey
- Get the expectation pertaining to the outcome of the
Batch
associated with this key.
- Specified by:
getExpectation
in interface BatchKey
- Returns:
- The expectations
getBatchedStatementCount
public int getBatchedStatementCount()
- Description copied from interface:
BatchKey
- How many statements will be in this batch?
Note that this is distinctly different than the size of the batch.
- Specified by:
getBatchedStatementCount
in interface BatchKey
- Returns:
- The number of statements.
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.