[ 
https://issues.apache.org/jira/browse/IGNITE-27753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vadim Kolodin updated IGNITE-27753:
-----------------------------------
    Description: 
Need to support inherited columns
{code:java}
// Catalog DSL
igniteCatalog.createTable(PojoExtended.class);

// Mapper & Marshaller (internally used by recordView / kvView)
table.recordView(Mapper.of(PojoExtended.class));

// where class PojoExtended extends Pojo {}{code}
 

Current behavior: dsl/mapper/marshaller do not traverse the class hierarchy - 
they only process fields declared directly in class passed to the method. 
Inherited fields silently ignored.

  was:
Need to support inherited columns
{code:java}
igniteCatalog.createTable(PojoExtended.class);

// where class PojoExtended extends Pojo {}{code}
 

Current behavior: dsl/mapper/marshaller do not traverse the class hierarchy - 
they only process fields declared directly in class passed to the method. 
Inherited fields silently ignored.


> IgniteCatalog DSL class inheritance mapping
> -------------------------------------------
>
>                 Key: IGNITE-27753
>                 URL: https://issues.apache.org/jira/browse/IGNITE-27753
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vadim Kolodin
>            Assignee: Vadim Kolodin
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Need to support inherited columns
> {code:java}
> // Catalog DSL
> igniteCatalog.createTable(PojoExtended.class);
> // Mapper & Marshaller (internally used by recordView / kvView)
> table.recordView(Mapper.of(PojoExtended.class));
> // where class PojoExtended extends Pojo {}{code}
>  
> Current behavior: dsl/mapper/marshaller do not traverse the class hierarchy - 
> they only process fields declared directly in class passed to the method. 
> Inherited fields silently ignored.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to