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 ) ; } }
Skip the index