@Override public void skipString() throws IOException { parser.advance(Symbol.STRING); in.skipString(); }
@Override public void skipString() throws IOException { parser.advance(Symbol.STRING); in.skipString(); }
@Override public void skipBytes() throws IOException { Symbol actual = parser.advance(Symbol.BYTES); if (actual == Symbol.STRING) { in.skipString(); } else { assert actual == Symbol.BYTES; in.skipBytes(); } }
@Override public void skipString() throws IOException { Symbol actual = parser.advance(Symbol.STRING); if (actual == Symbol.BYTES) { in.skipBytes(); } else { assert actual == Symbol.STRING; in.skipString(); } }
@Override public void skipString() throws IOException { Symbol actual = parser.advance(Symbol.STRING); if (actual == Symbol.BYTES) { in.skipBytes(); } else { assert actual == Symbol.STRING; in.skipString(); } }
@Override public void skipBytes() throws IOException { Symbol actual = parser.advance(Symbol.BYTES); if (actual == Symbol.STRING) { in.skipString(); } else { assert actual == Symbol.BYTES; in.skipBytes(); } }
for (long l = in.skipMap(); l > 0; l = in.skipMap()) { for (long i = 0; i < l; i++) { in.skipString(); skip(value, in); break; case STRING: in.skipString(); break; case BYTES:
for (long l = in.skipMap(); l > 0; l = in.skipMap()) { for (long i = 0; i < l; i++) { in.skipString(); skip(value, in); break; case STRING: in.skipString(); break; case BYTES:
private void skipGenerated(Decoder bd) throws IOException { for (int i = 0; i < records.size(); i++) { bd.readInt(); bd.skipBytes(); bd.skipFixed(1); bd.skipString(); bd.skipFixed(4); bd.skipFixed(8); long leftover = bd.skipArray(); // booleans are one byte, array trailer is one byte bd.skipFixed((int)leftover + 1); bd.skipFixed(0); bd.readLong(); } EOFException eof = null; try { bd.skipFixed(4); } catch (EOFException e) { eof = e; } Assert.assertTrue(null != eof); }
extractInt(cs); if (level == skipLevel) { vi.skipString(); p++; } else { extractInt(cs); if (level == skipLevel) { vi.skipString(); p++; } else {
@Override public void skipString() throws IOException { parser.advance(Symbol.STRING); in.skipString(); }
@Override public void skipString() throws IOException { parser.advance(Symbol.STRING); in.skipString(); }
@Override public void skipString() throws IOException { parser.advance(Symbol.STRING); in.skipString(); }
@Override public void skipString() throws IOException { parser.advance(Symbol.STRING); in.skipString(); }
@Override public void skipBytes() throws IOException { Symbol actual = parser.advance(Symbol.BYTES); if (actual == Symbol.STRING) { in.skipString(); } else { assert actual == Symbol.BYTES; in.skipBytes(); } }
@Override public void skipString() throws IOException { Symbol actual = parser.advance(Symbol.STRING); if (actual == Symbol.BYTES) { in.skipBytes(); } else { assert actual == Symbol.STRING; in.skipString(); } }
/** * Skips a map from the given decoder according to the given map schema. */ private void skipMap(Schema schema, Decoder decoder) throws IOException { for (long count = decoder.skipMap(); count != 0; count = decoder.skipMap()) { while (count-- > 0) { // Skip key decoder.skipString(); skipDatum(schema.getValueType(), decoder); } } }
for (long l = in.skipMap(); l > 0; l = in.skipMap()) { for (long i = 0; i < l; i++) { in.skipString(); skip(value, in); break; case STRING: in.skipString(); break; case BYTES:
for (long l = in.skipMap(); l > 0; l = in.skipMap()) { for (long i = 0; i < l; i++) { in.skipString(); skip(value, in); break; case STRING: in.skipString(); break; case BYTES:
break; case STRING: decoder.skipString(); break; case BYTES: