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

Sagar Sumit closed HUDI-3756.
-----------------------------
    Resolution: Done

The APIs are in good shape now.
{code:java}
/**
 * Schedules INDEX action.
 *
 * @param partitionTypes - list of {@link MetadataPartitionType} which needs to 
be indexed
 * @return instant time for the requested INDEX action
 */
public Option<String> scheduleIndexing(List<MetadataPartitionType> 
partitionTypes);

/**
 * Runs INDEX action to build out the metadata partitions as planned for the 
given instant time.
 *
 * @param indexInstantTime - instant time for the requested INDEX action
 * @return {@link Option<HoodieIndexCommitMetadata>} after successful indexing.
 */
public Option<HoodieIndexCommitMetadata> index(String indexInstantTime);

/**
 * Drops the index and removes the metadata partitions.
 *
 * @param partitionTypes - list of {@link MetadataPartitionType} which needs to 
be indexed
 */
public void dropIndex(List<MetadataPartitionType> partitionTypes); {code}

> Clean up indexing APIs in write client
> --------------------------------------
>
>                 Key: HUDI-3756
>                 URL: https://issues.apache.org/jira/browse/HUDI-3756
>             Project: Apache Hudi
>          Issue Type: Task
>            Reporter: Sagar Sumit
>            Assignee: Sagar Sumit
>            Priority: Major
>             Fix For: 1.0.0
>
>
> See HUDI-3755 for more details.



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

Reply via email to