File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed
scylla-cql/src/frame/response Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -838,16 +838,6 @@ impl DeserializedMetadataAndRawRows {
838838 }
839839}
840840
841- #[ derive( Debug ) ]
842- pub struct Rows {
843- pub metadata : ResultMetadataHolder ,
844- pub paging_state_response : PagingStateResponse ,
845- pub rows_count : usize ,
846- pub rows : Vec < Row > ,
847- /// Original size of the serialized rows.
848- pub serialized_size : usize ,
849- }
850-
851841#[ derive( Debug ) ]
852842pub enum Result {
853843 Void ,
@@ -1280,29 +1270,6 @@ impl RawMetadataAndRawRows {
12801270 raw_rows : frame_slice. to_bytes ( ) ,
12811271 } )
12821272 }
1283-
1284- pub fn into_legacy_rows (
1285- self ,
1286- paging_state_response : PagingStateResponse ,
1287- ) -> StdResult < Rows , RowsParseError > {
1288- let raw_rows_with_deserialized_metadata = self . deserialize_metadata ( ) ?;
1289-
1290- let rows_size = raw_rows_with_deserialized_metadata. rows_bytes_size ( ) ;
1291- let rows_count = raw_rows_with_deserialized_metadata. rows_count ( ) ;
1292- let rows = raw_rows_with_deserialized_metadata
1293- . rows_iter :: < Row > ( ) ?
1294- . collect :: < StdResult < _ , _ > > ( ) ?;
1295-
1296- let metadata = raw_rows_with_deserialized_metadata. into_metadata ( ) ;
1297-
1298- Ok ( Rows {
1299- metadata,
1300- paging_state_response,
1301- rows_count,
1302- rows,
1303- serialized_size : rows_size,
1304- } )
1305- }
13061273}
13071274
13081275fn deser_prepared_metadata (
You can’t perform that action at this time.
0 commit comments