[
https://issues.apache.org/jira/browse/IGNITE-20356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-20356:
--------------------------------------
Description:
In IGNITE-19791, a wrapper over {{BinaryTuple}} was added.
This wrapper ({{BinaryTupleRowWrapper}}) does not support the "{{set()}}" method
Instead of using {{set(int, RowT, Object)}} method, we can use the
{{append(RowT, Object)}} method to add field values sequentially.
We need:
* Add a new RowFactory method that will return a builder that allows you to
append values to row and build the row.
* Remove the {{RowHandler#set()}} method and rework all related code/tests to
use the builder.
was:
In IGNITE-19791, a wrapper over {{BinaryTuple}} was added.
This wrapper ({{BinaryTupleRowWrapper}}) does not support the "{{set()}}" method
Instead of using {{set(int, RowT, Object)}} method, we can use the
{{append(RowT, Object)}} method to add field values sequentially.
To add this method we need:
* Implement an efficient addition of field values to BinaryTuple if it is not
implemented yet.
* Remove the {{RowHandler#set()}} method and rework all related code/tests to
use the {{RowHandler#append()}} method.
> Sql. Replace the RowHandler "set" operation with "append".
> ----------------------------------------------------------
>
> Key: IGNITE-20356
> URL: https://issues.apache.org/jira/browse/IGNITE-20356
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> In IGNITE-19791, a wrapper over {{BinaryTuple}} was added.
> This wrapper ({{BinaryTupleRowWrapper}}) does not support the "{{set()}}"
> method
> Instead of using {{set(int, RowT, Object)}} method, we can use the
> {{append(RowT, Object)}} method to add field values sequentially.
> We need:
> * Add a new RowFactory method that will return a builder that allows you to
> append values to row and build the row.
> * Remove the {{RowHandler#set()}} method and rework all related code/tests
> to use the builder.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)