类 BasicBatchKey

  • 所有已实现的接口:
    BatchKey

    public class BasicBatchKey
    extends Object
    implements BatchKey
    Normal implementation of BatchKey
    作者:
    Steve Ebersole
    • 构造器详细资料

      • 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()
        从接口复制的说明: BatchKey
        Get the expectation pertaining to the outcome of the Batch associated with this key.
        指定者:
        getExpectation 在接口中 BatchKey
        返回:
        The expectations
      • getBatchedStatementCount

        public int getBatchedStatementCount()
        从接口复制的说明: BatchKey
        How 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.
      • hashCode

        public int hashCode()
        覆盖:
        hashCode 在类中 Object