@Override public void skip() { try { in.skipFully(length); } catch (IOException | RuntimeException e) { throw new ParquetDecodingException("could not skip bytes at offset " + in.position(), e); } }
@Override public void skip() { int length = lengthReader.readInteger(); try { in.skipFully(length); } catch (IOException e) { throw new ParquetDecodingException("Failed to skip " + length + " bytes"); } } }
@Override public void skip(int n) { try { in.skipFully(n * length); } catch (IOException | RuntimeException e) { throw new ParquetDecodingException("could not skip bytes at offset " + in.position(), e); } }
@Override public void skip(int n) { int length = 0; for (int i = 0; i < n; ++i) { length += lengthReader.readInteger(); } try { in.skipFully(length); } catch (IOException e) { throw new ParquetDecodingException("Failed to skip " + length + " bytes"); } } }
@Override public void skip() { try { int length = BytesUtils.readIntLittleEndian(in); in.skipFully(length); } catch (IOException e) { throw new ParquetDecodingException("could not skip bytes at offset " + in.position(), e); } catch (RuntimeException e) { throw new ParquetDecodingException("could not skip bytes at offset " + in.position(), e); } }
@Override public void skip() { try { int length = BytesUtils.readIntLittleEndian(in); in.skipFully(length); } catch (IOException e) { throw new ParquetDecodingException("could not skip bytes at offset " + in.position(), e); } catch (RuntimeException e) { throw new ParquetDecodingException("could not skip bytes at offset " + in.position(), e); } }
default: LOG.debug("skipping page of type {} of size {}", pageHeader.getType(), compressedPageSize); stream.skipFully(compressedPageSize); break;
default: LOG.debug("skipping page of type {} of size {}", pageHeader.getType(), compressedPageSize); stream.skipFully(compressedPageSize); break;