类 BasicBatchKey
- java.lang.Object
-
- org.hibernate.engine.jdbc.batch.internal.BasicBatchKey
-
-
构造器概要
构造器 构造器 说明 BasicBatchKey(String comparison, Expectation expectation)Constructs a BasicBatchKey
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)intgetBatchedStatementCount()How many statements will be in this batch?ExpectationgetExpectation()Get the expectation pertaining to the outcome of theBatchassociated with this key.inthashCode()
-
-
-
构造器详细资料
-
BasicBatchKey
public BasicBatchKey(String comparison, Expectation expectation)
Constructs a BasicBatchKey- 参数:
comparison- A string used to compare batch keys.expectation- The expectation for the batch
-
-
方法详细资料
-
getExpectation
public Expectation getExpectation()
从接口复制的说明:BatchKeyGet the expectation pertaining to the outcome of theBatchassociated with this key.- 指定者:
getExpectation在接口中BatchKey- 返回:
- The expectations
-
getBatchedStatementCount
public int getBatchedStatementCount()
从接口复制的说明:BatchKeyHow many statements will be in this batch? Note that this is distinctly different than the size of the batch.- 指定者:
getBatchedStatementCount在接口中BatchKey- 返回:
- The number of statements.
-
-