Using Phoenix Client to Load Data
You must use the Phoenix client to load data into the HBase database and also to write to the Phoenix tables.
Index updates are automatically generated by the Phoenix client and there is no user intervention or effort required. Whenever a record is written to the Phoenix tables, the client generates the updates for the indexes automatically.
It is highly recommended that you use the Phoenix client to load data into the HBase database and also to write to the Phoenix tables. If you use the HBase APIs to write data to a Phoenix data table, the indexes for that Phoenix data table will not be updated.