public Row readStaticRow() throws IOException { return header.hasStatic() ? UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper) : Rows.EMPTY_STATIC_ROW; }
public Row readStaticRow() throws IOException { return header.hasStatic() ? UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper) : Rows.EMPTY_STATIC_ROW; }
public Row readStaticRow() throws IOException { return header.hasStatic() ? UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper) : Rows.EMPTY_STATIC_ROW; }
public Row readStaticRow() throws IOException { return header.hasStatic() ? UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper) : Rows.EMPTY_STATIC_ROW; }
public Row readStaticRow() throws IOException { if (header.hasStatic()) { Row staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper); if (!staticRow.deletion().isLive()) return BTreeRow.emptyDeletedRow(staticRow.clustering(), staticRow.deletion()); } return Rows.EMPTY_STATIC_ROW; }
public Row readStaticRow() throws IOException { if (header.hasStatic()) { Row staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper); if (!staticRow.deletion().isLive()) return BTreeRow.emptyDeletedRow(staticRow.clustering(), staticRow.deletion()); } return Rows.EMPTY_STATIC_ROW; }
public Row readStaticRow() throws IOException { if (header.hasStatic()) { Row staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper); if (!staticRow.deletion().isLive()) return BTreeRow.emptyDeletedRow(staticRow.clustering(), staticRow.deletion()); } return Rows.EMPTY_STATIC_ROW; }
public Row readStaticRow() throws IOException { if (header.hasStatic()) { Row staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, helper); if (!staticRow.deletion().isLive()) return BTreeRow.emptyDeletedRow(staticRow.clustering(), staticRow.deletion()); } return Rows.EMPTY_STATIC_ROW; }
public Header deserializeHeader(CFMetaData metadata, ColumnFilter selection, DataInputPlus in, int version, SerializationHelper.Flag flag) throws IOException { DecoratedKey key = metadata.decorateKey(ByteBufferUtil.readWithVIntLength(in)); int flags = in.readUnsignedByte(); boolean isReversed = (flags & IS_REVERSED) != 0; if ((flags & IS_EMPTY) != 0) { SerializationHeader sh = new SerializationHeader(false, metadata, PartitionColumns.NONE, EncodingStats.NO_STATS); return new Header(sh, key, isReversed, true, null, null, 0); } boolean hasPartitionDeletion = (flags & HAS_PARTITION_DELETION) != 0; boolean hasStatic = (flags & HAS_STATIC_ROW) != 0; boolean hasRowEstimate = (flags & HAS_ROW_ESTIMATE) != 0; SerializationHeader header = SerializationHeader.serializer.deserializeForMessaging(in, metadata, selection, hasStatic); DeletionTime partitionDeletion = hasPartitionDeletion ? header.readDeletionTime(in) : DeletionTime.LIVE; Row staticRow = Rows.EMPTY_STATIC_ROW; if (hasStatic) staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, new SerializationHelper(metadata, version, flag)); int rowEstimate = hasRowEstimate ? (int)in.readUnsignedVInt() : -1; return new Header(header, key, isReversed, false, partitionDeletion, staticRow, rowEstimate); }
public Header deserializeHeader(CFMetaData metadata, ColumnFilter selection, DataInputPlus in, int version, SerializationHelper.Flag flag) throws IOException { DecoratedKey key = metadata.decorateKey(ByteBufferUtil.readWithVIntLength(in)); int flags = in.readUnsignedByte(); boolean isReversed = (flags & IS_REVERSED) != 0; if ((flags & IS_EMPTY) != 0) { SerializationHeader sh = new SerializationHeader(false, metadata, PartitionColumns.NONE, EncodingStats.NO_STATS); return new Header(sh, key, isReversed, true, null, null, 0); } boolean hasPartitionDeletion = (flags & HAS_PARTITION_DELETION) != 0; boolean hasStatic = (flags & HAS_STATIC_ROW) != 0; boolean hasRowEstimate = (flags & HAS_ROW_ESTIMATE) != 0; SerializationHeader header = SerializationHeader.serializer.deserializeForMessaging(in, metadata, selection, hasStatic); DeletionTime partitionDeletion = hasPartitionDeletion ? header.readDeletionTime(in) : DeletionTime.LIVE; Row staticRow = Rows.EMPTY_STATIC_ROW; if (hasStatic) staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, new SerializationHelper(metadata, version, flag)); int rowEstimate = hasRowEstimate ? (int)in.readUnsignedVInt() : -1; return new Header(header, key, isReversed, false, partitionDeletion, staticRow, rowEstimate); }
public Header deserializeHeader(CFMetaData metadata, ColumnFilter selection, DataInputPlus in, int version, SerializationHelper.Flag flag) throws IOException { DecoratedKey key = metadata.decorateKey(ByteBufferUtil.readWithVIntLength(in)); int flags = in.readUnsignedByte(); boolean isReversed = (flags & IS_REVERSED) != 0; if ((flags & IS_EMPTY) != 0) { SerializationHeader sh = new SerializationHeader(false, metadata, PartitionColumns.NONE, EncodingStats.NO_STATS); return new Header(sh, key, isReversed, true, null, null, 0); } boolean hasPartitionDeletion = (flags & HAS_PARTITION_DELETION) != 0; boolean hasStatic = (flags & HAS_STATIC_ROW) != 0; boolean hasRowEstimate = (flags & HAS_ROW_ESTIMATE) != 0; SerializationHeader header = SerializationHeader.serializer.deserializeForMessaging(in, metadata, selection, hasStatic); DeletionTime partitionDeletion = hasPartitionDeletion ? header.readDeletionTime(in) : DeletionTime.LIVE; Row staticRow = Rows.EMPTY_STATIC_ROW; if (hasStatic) staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, new SerializationHelper(metadata, version, flag)); int rowEstimate = hasRowEstimate ? (int)in.readUnsignedVInt() : -1; return new Header(header, key, isReversed, false, partitionDeletion, staticRow, rowEstimate); }
public Header deserializeHeader(CFMetaData metadata, ColumnFilter selection, DataInputPlus in, int version, SerializationHelper.Flag flag) throws IOException { DecoratedKey key = metadata.decorateKey(ByteBufferUtil.readWithVIntLength(in)); int flags = in.readUnsignedByte(); boolean isReversed = (flags & IS_REVERSED) != 0; if ((flags & IS_EMPTY) != 0) { SerializationHeader sh = new SerializationHeader(false, metadata, PartitionColumns.NONE, EncodingStats.NO_STATS); return new Header(sh, key, isReversed, true, null, null, 0); } boolean hasPartitionDeletion = (flags & HAS_PARTITION_DELETION) != 0; boolean hasStatic = (flags & HAS_STATIC_ROW) != 0; boolean hasRowEstimate = (flags & HAS_ROW_ESTIMATE) != 0; SerializationHeader header = SerializationHeader.serializer.deserializeForMessaging(in, metadata, selection, hasStatic); DeletionTime partitionDeletion = hasPartitionDeletion ? header.readDeletionTime(in) : DeletionTime.LIVE; Row staticRow = Rows.EMPTY_STATIC_ROW; if (hasStatic) staticRow = UnfilteredSerializer.serializer.deserializeStaticRow(in, header, new SerializationHelper(metadata, version, flag)); int rowEstimate = hasRowEstimate ? (int)in.readUnsignedVInt() : -1; return new Header(header, key, isReversed, false, partitionDeletion, staticRow, rowEstimate); }
return UnfilteredSerializer.serializer.deserializeStaticRow(file, sstable.header, helper);
return UnfilteredSerializer.serializer.deserializeStaticRow(file, sstable.header, helper);
return UnfilteredSerializer.serializer.deserializeStaticRow(file, sstable.header, helper);
return UnfilteredSerializer.serializer.deserializeStaticRow(file, sstable.header, helper);