@Test
  public void testVectorLazySimpleDeserializeRow() throws Throwable {
    Random r = new Random(8732);
    testVectorDeserializeRow(r,
        SerializationType.LAZY_SIMPLE,
        /* testDecimal64 */ false,
        /* alternate1 = useLazySimpleEscapes */ false,
        /* alternate2 = unused */ false,
        /* useExternalBuffer */ false);

    testVectorDeserializeRow(r,
        SerializationType.LAZY_SIMPLE,
        /* testDecimal64 */ false,
        /* alternate1 = useLazySimpleEscapes */ false,
        /* alternate2 = unused */ false,
        /* useExternalBuffer */ true);

    testVectorDeserializeRow(r,
        SerializationType.LAZY_SIMPLE,
        /* testDecimal64 */ false,
        /* alternate1 = useLazySimpleEscapes */ true,
        /* alternate2 = unused */ false,
        /* useExternalBuffer */ false);

    testVectorDeserializeRow(r,
        SerializationType.LAZY_SIMPLE,
        /* testDecimal64 */ false,
        /* alternate1 = useLazySimpleEscapes */ true,
        /* alternate2 = unused */ false,
        /* useExternalBuffer */ true);

    testVectorDeserializeRow(r,
        SerializationType.LAZY_SIMPLE,
        /* testDecimal64 */ true,
        /* alternate1 = useLazySimpleEscapes */ false,
        /* alternate2 = unused */ false,
        /* useExternalBuffer */ false);

  }
Unit test for the vectorized serialize and deserialize row.
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/TestVectorSerDeRow.java