Skip to content

Introduce HoodieReadHandle abstraction into index - #726

Merged
vinothchandar merged 1 commit into
apache:masterfrom
vinothchandar:hudi-86-log-indexing
Jun 12, 2019
Merged

vinothchandar merged 1 commit into
apache:masterfrom
vinothchandar:hudi-86-log-indexing

Conversation

@vinothchandar

Copy link
Copy Markdown
Member
  • Generalized BloomIndex to work with file ids instead of paths
  • Abstracted away Bloom filter checking into HoodieLookupHandle
  • Abstracted away range information retrieval into HoodieRangeInfoHandle

 - Generalized BloomIndex to work with file ids instead of paths
 - Abstracted away Bloom filter checking into HoodieLookupHandle
 - Abstracted away range information retrieval into HoodieRangeInfoHandle

@bvaradar bvaradar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Handles look very clean now.

* - Whether it belongs to the same partitionPath as existing records - Whether the current file written bytes lt max
* file size
*/
public boolean canWrite(HoodieRecord record) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to WriteHandle ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants