| Constructor and Description |
|---|
BasicBatchKey(java.lang.String comparison,
Expectation expectation)
Constructs a BasicBatchKey
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getBatchedStatementCount()
How many statements will be in this batch?
Note that this is distinctly different than the size of the batch.
|
Expectation |
getExpectation()
Get the expectation pertaining to the outcome of the
Batch associated with this key. |
int |
hashCode() |
public BasicBatchKey(java.lang.String comparison,
Expectation expectation)
comparison - A string used to compare batch keys.expectation - The expectation for the batchpublic Expectation getExpectation()
BatchKeyBatch associated with this key.getExpectation in interface BatchKeypublic int getBatchedStatementCount()
BatchKeygetBatchedStatementCount in interface BatchKeypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.