code: public static void skipIndex(DataInput in) throws IOException
      {
          /* read only the column index list */
          int columnIndexSize = in.readInt();
          /* skip the column index data */
          if (in instanceof FileDataInput)
          {
              FileUtils.skipBytesFully(in, columnIndexSize);
          }
          else
          {
              // skip bytes
              byte[] skip = new byte[columnIndexSize];
              in.readFully(skip);
          }
      }
docs: Skip the index
  @param in the data input from which the index should be skipped
  @throws IOException if an I/O error occurs.