[
https://issues.apache.org/jira/browse/IGNITE-24033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrey Mashenkov updated IGNITE-24033:
--------------------------------------
Description:
It is necessary to introduce new methods in Compure API that use QualifiedName
instead of simple String.
And change the old ones to use the new ones using the helper method
QualifiedName.parseof(String).
{code:java}
interface JobTarget {
...
/** Creates a colocated job target for a specific table and key. */
static JobTarget colocated(QuafliedName tableName, Tuple key) { .. }
/** Creates a colocated job target for a specific table and key with mapper.
*/
static JobTarget colocated(QuafliedName tableName, K key, Mapper<K>
keyMapper) { .. }
..
}
{code}
was:
Update job colocated targets in compute API to use qualified names:
{code:java}
interface JobTarget {
...
/** Creates a colocated job target for a specific table and key. */
static JobTarget colocated(QuafliedName tableName, Tuple key) { .. }
/** Creates a colocated job target for a specific table and key with mapper.
*/
static JobTarget colocated(QuafliedName tableName, K key, Mapper<K>
keyMapper) { .. }
..
}
{code}
> Sql schema. Extend Compute API use QualifiedName
> ------------------------------------------------
>
> Key: IGNITE-24033
> URL: https://issues.apache.org/jira/browse/IGNITE-24033
> Project: Ignite
> Issue Type: Improvement
> Components: compute
> Reporter: Maksim Zhuravkov
> Priority: Major
> Labels: ignite-3
>
> It is necessary to introduce new methods in Compure API that use
> QualifiedName instead of simple String.
> And change the old ones to use the new ones using the helper method
> QualifiedName.parseof(String).
> {code:java}
> interface JobTarget {
> ...
> /** Creates a colocated job target for a specific table and key. */
> static JobTarget colocated(QuafliedName tableName, Tuple key) { .. }
>
> /** Creates a colocated job target for a specific table and key with
> mapper. */
> static JobTarget colocated(QuafliedName tableName, K key, Mapper<K>
> keyMapper) { .. }
> ..
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)