@Override
  public int findInMap(ColumnVector indexColumnVector, int indexBatchIndex,
      MapColumnVector mapColumnVector, int mapBatchIndex) {
    final int offset = (int) mapColumnVector.offsets[mapBatchIndex];
    final int count = (int) mapColumnVector.lengths[mapBatchIndex];
    long[] keys = ((LongColumnVector) mapColumnVector.keys).vector;
    final long index = ((LongColumnVector) indexColumnVector).vector[indexBatchIndex];
    for (int i = 0; i < count; i++) {
      if (index == keys[offset + i]) {
        return offset + i;
      }
    }
    return -1;
  }
Returns value of Map.
Extends {@link VectorUDFMapIndexBaseCol}
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/VectorUDFMapIndexLongCol.java