class org.h2.expression.aggregate.AggregateDataSelectivity extends org.h2.expression.aggregate.AggregateData
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.h2.expression.aggregate.AggregateDataSelectivity
  super_class: org.h2.expression.aggregate.AggregateData
{
  private final boolean distinct;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long count;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private org.h2.util.IntIntHashMap distinctHashes;
    descriptor: Lorg/h2/util/IntIntHashMap;
    flags: (0x0002) ACC_PRIVATE

  private double m2;
    descriptor: D
    flags: (0x0002) ACC_PRIVATE

  void <init>(boolean);
    descriptor: (Z)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.h2.expression.aggregate.AggregateDataSelectivity this
        start local 1 // boolean distinct
         0: .line 30
            aload 0 /* this */
            invokespecial org.h2.expression.aggregate.AggregateData.<init>:()V
         1: .line 31
            aload 0 /* this */
            iload 1 /* distinct */
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.distinct:Z
         2: .line 32
            return
        end local 1 // boolean distinct
        end local 0 // org.h2.expression.aggregate.AggregateDataSelectivity this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lorg/h2/expression/aggregate/AggregateDataSelectivity;
            0    3     1  distinct  Z
    MethodParameters:
          Name  Flags
      distinct  

  void add(org.h2.engine.Database, org.h2.value.Value);
    descriptor: (Lorg/h2/engine/Database;Lorg/h2/value/Value;)V
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.h2.expression.aggregate.AggregateDataSelectivity this
        start local 1 // org.h2.engine.Database database
        start local 2 // org.h2.value.Value v
         0: .line 36
            aload 0 /* this */
            dup
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.count:J
            lconst_1
            ladd
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.count:J
         1: .line 37
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.distinctHashes:Lorg/h2/util/IntIntHashMap;
            ifnonnull 3
         2: .line 38
            aload 0 /* this */
            new org.h2.util.IntIntHashMap
            dup
            invokespecial org.h2.util.IntIntHashMap.<init>:()V
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.distinctHashes:Lorg/h2/util/IntIntHashMap;
         3: .line 40
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.distinctHashes:Lorg/h2/util/IntIntHashMap;
            invokevirtual org.h2.util.IntIntHashMap.size:()I
            istore 3 /* size */
        start local 3 // int size
         4: .line 41
            iload 3 /* size */
            sipush 10000
            if_icmple 7
         5: .line 42
            aload 0 /* this */
            new org.h2.util.IntIntHashMap
            dup
            invokespecial org.h2.util.IntIntHashMap.<init>:()V
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.distinctHashes:Lorg/h2/util/IntIntHashMap;
         6: .line 43
            aload 0 /* this */
            dup
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.m2:D
            iload 3 /* size */
            i2d
            dadd
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.m2:D
         7: .line 45
      StackMap locals: int
      StackMap stack:
            aload 2 /* v */
            invokevirtual org.h2.value.Value.hashCode:()I
            istore 4 /* hash */
        start local 4 // int hash
         8: .line 47
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.distinctHashes:Lorg/h2/util/IntIntHashMap;
            iload 4 /* hash */
            iconst_1
            invokevirtual org.h2.util.IntIntHashMap.put:(II)V
         9: .line 48
            return
        end local 4 // int hash
        end local 3 // int size
        end local 2 // org.h2.value.Value v
        end local 1 // org.h2.engine.Database database
        end local 0 // org.h2.expression.aggregate.AggregateDataSelectivity this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   10     0      this  Lorg/h2/expression/aggregate/AggregateDataSelectivity;
            0   10     1  database  Lorg/h2/engine/Database;
            0   10     2         v  Lorg/h2/value/Value;
            4   10     3      size  I
            8   10     4      hash  I
    MethodParameters:
          Name  Flags
      database  
      v         

  org.h2.value.Value getValue(org.h2.engine.Database, int);
    descriptor: (Lorg/h2/engine/Database;I)Lorg/h2/value/Value;
    flags: (0x0000) 
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // org.h2.expression.aggregate.AggregateDataSelectivity this
        start local 1 // org.h2.engine.Database database
        start local 2 // int dataType
         0: .line 52
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.distinct:Z
            ifeq 2
         1: .line 53
            aload 0 /* this */
            lconst_0
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.count:J
         2: .line 55
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3 /* v */
        start local 3 // org.h2.value.Value v
         3: .line 56
            iconst_0
            istore 4 /* s */
        start local 4 // int s
         4: .line 57
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.count:J
            lconst_0
            lcmp
            ifne 7
         5: .line 58
            iconst_0
            istore 4 /* s */
         6: .line 59
            goto 14
         7: .line 60
      StackMap locals: org.h2.value.Value int
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.m2:D
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.distinctHashes:Lorg/h2/util/IntIntHashMap;
            invokevirtual org.h2.util.IntIntHashMap.size:()I
            i2d
            dadd
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.m2:D
         8: .line 61
            aload 0 /* this */
            ldc 100.0
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.m2:D
            dmul
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.count:J
            l2d
            ddiv
            putfield org.h2.expression.aggregate.AggregateDataSelectivity.m2:D
         9: .line 62
            aload 0 /* this */
            getfield org.h2.expression.aggregate.AggregateDataSelectivity.m2:D
            d2i
            istore 4 /* s */
        10: .line 63
            iload 4 /* s */
            ifgt 11
            iconst_1
            goto 13
      StackMap locals:
      StackMap stack:
        11: iload 4 /* s */
            bipush 100
            if_icmple 12
            bipush 100
            goto 13
      StackMap locals:
      StackMap stack:
        12: iload 4 /* s */
      StackMap locals:
      StackMap stack: int
        13: istore 4 /* s */
        14: .line 65
      StackMap locals:
      StackMap stack:
            iload 4 /* s */
            invokestatic org.h2.value.ValueInt.get:(I)Lorg/h2/value/ValueInt;
            astore 3 /* v */
        15: .line 66
            aload 3 /* v */
            iload 2 /* dataType */
            invokevirtual org.h2.value.Value.convertTo:(I)Lorg/h2/value/Value;
            areturn
        end local 4 // int s
        end local 3 // org.h2.value.Value v
        end local 2 // int dataType
        end local 1 // org.h2.engine.Database database
        end local 0 // org.h2.expression.aggregate.AggregateDataSelectivity this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   16     0      this  Lorg/h2/expression/aggregate/AggregateDataSelectivity;
            0   16     1  database  Lorg/h2/engine/Database;
            0   16     2  dataType  I
            3   16     3         v  Lorg/h2/value/Value;
            4   16     4         s  I
    MethodParameters:
          Name  Flags
      database  
      dataType  
}
SourceFile: "AggregateDataSelectivity.java"