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()
BatchKey
Batch
associated with this key.getExpectation
in interface BatchKey
public int getBatchedStatementCount()
BatchKey
getBatchedStatementCount
in interface BatchKey
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.