@Override
  public boolean matches(String name, ColumnVector.Type inputColVectorType,
      ColumnVector.Type outputColVectorType, Mode mode) {

    /*
     * Bloom filter *any* input and output is BYTES.
     *
     * Just modes (PARTIAL1, COMPLETE).
     */
    return
        name.equals(BLOOM_FILTER_FUNCTION) &&
        outputColVectorType == ColumnVector.Type.BYTES &&
        (mode == Mode.PARTIAL1 || mode == Mode.COMPLETE);
  }
class for storing the current aggregate value.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/aggregates/VectorUDAFBloomFilter.java