public void setLongValue(VectorHashKeyWrapperBase kw, int keyIndex, Long value)
    throws HiveException {

    if (columnVectorTypes[keyIndex] != Type.LONG) {
      throw new HiveException("Consistency error: expected LONG type; found: " + columnVectorTypes[keyIndex]);
    }
    int columnTypeSpecificIndex = columnTypeSpecificIndices[keyIndex];

    if (value == null) {
      kw.assignNullLong(keyIndex, columnTypeSpecificIndex);
      return;
    }
    kw.assignLong(keyIndex, columnTypeSpecificIndex, value);
  }
Get the row-mode writable object value of a key from a key wrapper
@param keyOutputWriter
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/wrapper/VectorHashKeyWrapperBatch.java