You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Vlad Krava (JIRA)" <ji...@apache.org> on 2019/07/25 12:14:00 UTC

[jira] [Updated] (PHOENIX-5414) Design High-Level wrapper for IndexTool

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

Vlad Krava updated PHOENIX-5414:
--------------------------------
    Description: 
Currently there is *no possibility to execute IndexTool from client applications*, only form the node directly. Which is not always the case for distributed systems.

The idea for improvement to add High-Level wrapper to already existing client-side dependencies(like: phoenix-queryserver-client) in order to trigger async index creation.

 

Example;
{noformat}
final IndexToolClient client = new IndexToolClient(phoenixConnectionFactory.get(),

"SCHEMA_NAME", "TABEL_NAME", "INDEX_NAME");

client.buildIndex(successCallbackClass, errorCallbackClass);

{noformat}

  was:
Currently there is *no possibility to execute IndexTool from client applications*, only form the node directly. Which is not always the case for distributed systems.

 

The idea for improvement to add High-Level wrapper to already existing client-side dependencies(like: phoenix-queryserver-client) in order to trigger async index creation.

 

Example;

{noformat}

final IndexToolClient client = new IndexToolClient(phoenixConnectionFactory.get(),

"SCHEMA_NAME", "TABEL_NAME", "INDEX_NAME");

client.buildIndex(successCallbackClass, errorCallbackClass);

{noformat}


> Design High-Level wrapper for IndexTool
> ---------------------------------------
>
>                 Key: PHOENIX-5414
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5414
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: Vlad Krava
>            Priority: Critical
>
> Currently there is *no possibility to execute IndexTool from client applications*, only form the node directly. Which is not always the case for distributed systems.
> The idea for improvement to add High-Level wrapper to already existing client-side dependencies(like: phoenix-queryserver-client) in order to trigger async index creation.
>  
> Example;
> {noformat}
> final IndexToolClient client = new IndexToolClient(phoenixConnectionFactory.get(),
> "SCHEMA_NAME", "TABEL_NAME", "INDEX_NAME");
> client.buildIndex(successCallbackClass, errorCallbackClass);
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)