public int skipBytes(int n) throws IOException { return dataReader.skipBytes(n); }
public int skipBytes(int n) throws IOException { return dataReader.skipBytes(n); }
public int skipBytes(int n) throws IOException { return dataReader.skipBytes(n); }
public int skipBytes(int n) throws IOException { return dataReader.skipBytes(n); }
public default void skipBytesFully(int n) throws IOException { int skipped = skipBytes(n); if (skipped != n) throw new EOFException("EOF after " + skipped + " bytes out of " + n); }
public default void skipBytesFully(int n) throws IOException { int skipped = skipBytes(n); if (skipped != n) throw new EOFException("EOF after " + skipped + " bytes out of " + n); }
public default void skipBytesFully(int n) throws IOException { int skipped = skipBytes(n); if (skipped != n) throw new EOFException("EOF after " + skipped + " bytes out of " + n); }
public default void skipBytesFully(int n) throws IOException { int skipped = skipBytes(n); if (skipped != n) throw new EOFException("EOF after " + skipped + " bytes out of " + n); }
public void skip(DataInputPlus in) throws IOException { clusteringSerializer.skip(in); clusteringSerializer.skip(in); if (version.storeRows()) { in.readUnsignedVInt(); in.readVInt(); if (in.readBoolean()) DeletionTime.serializer.skip(in); } else { in.skipBytes(TypeSizes.sizeof(0L)); in.skipBytes(TypeSizes.sizeof(0L)); } }
public void skip(DataInputPlus in) throws IOException { clusteringSerializer.skip(in); clusteringSerializer.skip(in); if (version.storeRows()) { in.readUnsignedVInt(); in.readVInt(); if (in.readBoolean()) DeletionTime.serializer.skip(in); } else { in.skipBytes(TypeSizes.sizeof(0L)); in.skipBytes(TypeSizes.sizeof(0L)); } }
public void skip(DataInputPlus in) throws IOException { clusteringSerializer.skip(in); clusteringSerializer.skip(in); if (version.storeRows()) { in.readUnsignedVInt(); in.readVInt(); if (in.readBoolean()) DeletionTime.serializer.skip(in); } else { in.skipBytes(TypeSizes.sizeof(0L)); in.skipBytes(TypeSizes.sizeof(0L)); } }
public void skip(DataInputPlus in) throws IOException { clusteringSerializer.skip(in); clusteringSerializer.skip(in); if (version.storeRows()) { in.readUnsignedVInt(); in.readVInt(); if (in.readBoolean()) DeletionTime.serializer.skip(in); } else { in.skipBytes(TypeSizes.sizeof(0L)); in.skipBytes(TypeSizes.sizeof(0L)); } }
public HintMessage deserialize(DataInputPlus in, int version) throws IOException { UUID hostId = UUIDSerializer.serializer.deserialize(in, version); long hintSize = in.readUnsignedVInt(); TrackedDataInputPlus countingIn = new TrackedDataInputPlus(in); try { return new HintMessage(hostId, Hint.serializer.deserialize(countingIn, version)); } catch (UnknownColumnFamilyException e) { in.skipBytes(Ints.checkedCast(hintSize - countingIn.getBytesRead())); return new HintMessage(hostId, e.cfId); } } }
public HintMessage deserialize(DataInputPlus in, int version) throws IOException { UUID hostId = UUIDSerializer.serializer.deserialize(in, version); long hintSize = in.readUnsignedVInt(); TrackedDataInputPlus countingIn = new TrackedDataInputPlus(in); try { return new HintMessage(hostId, Hint.serializer.deserialize(countingIn, version)); } catch (UnknownColumnFamilyException e) { in.skipBytes(Ints.checkedCast(hintSize - countingIn.getBytesRead())); return new HintMessage(hostId, e.cfId); } } }
public CompactionMetadata deserialize(Version version, DataInputPlus in) throws IOException { if (version.hasCompactionAncestors()) { // skip ancestors int nbAncestors = in.readInt(); in.skipBytes(nbAncestors * TypeSizes.sizeof(nbAncestors)); } ICardinality cardinality = HyperLogLogPlus.Builder.build(ByteBufferUtil.readBytes(in, in.readInt())); return new CompactionMetadata(cardinality); } }
public CompactionMetadata deserialize(Version version, DataInputPlus in) throws IOException { if (version.hasCompactionAncestors()) { // skip ancestors int nbAncestors = in.readInt(); in.skipBytes(nbAncestors * TypeSizes.sizeof(nbAncestors)); } ICardinality cardinality = HyperLogLogPlus.Builder.build(ByteBufferUtil.readBytes(in, in.readInt())); return new CompactionMetadata(cardinality); } }
public CompactionMetadata deserialize(Version version, DataInputPlus in) throws IOException { if (version.hasCompactionAncestors()) { // skip ancestors int nbAncestors = in.readInt(); in.skipBytes(nbAncestors * TypeSizes.sizeof(nbAncestors)); } ICardinality cardinality = HyperLogLogPlus.Builder.build(ByteBufferUtil.readBytes(in, in.readInt())); return new CompactionMetadata(cardinality); } }
public CompactionMetadata deserialize(Version version, DataInputPlus in) throws IOException { if (version.hasCompactionAncestors()) { // skip ancestors int nbAncestors = in.readInt(); in.skipBytes(nbAncestors * TypeSizes.sizeof(nbAncestors)); } ICardinality cardinality = HyperLogLogPlus.Builder.build(ByteBufferUtil.readBytes(in, in.readInt())); return new CompactionMetadata(cardinality); } }
public HintMessage deserialize(DataInputPlus in, int version) throws IOException { UUID hostId = UUIDSerializer.serializer.deserialize(in, version); long hintSize = in.readUnsignedVInt(); TrackedDataInputPlus countingIn = new TrackedDataInputPlus(in); try { return new HintMessage(hostId, Hint.serializer.deserialize(countingIn, version)); } catch (UnknownColumnFamilyException e) { in.skipBytes(Ints.checkedCast(hintSize - countingIn.getBytesRead())); return new HintMessage(hostId, e.cfId); } } }
in.skipBytes(indexedPartSize);