Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Indexes" Document #484

Open
landongyu opened this issue Apr 2, 2024 · 0 comments
Open

Add "Indexes" Document #484

landongyu opened this issue Apr 2, 2024 · 0 comments
Labels
C-enhancement Category: An issue proposing an enhancement

Comments

@landongyu
Copy link

Affected Areas

Something else (please specify in the description!)

Feature Description

After reading through the two parts of code:

  1. org.polypheny.db.adapter.index.CoWHashIndex
  2. org.polypheny.db.adapter.index.CowMultiHashIndex
  • CoWHashIndex: Implements a hash index for unique keys. It supports basic insertion and deletion operations, as well as transactional operations like commit and rollback, but it deals with the insertion and deletion of individual key-value pairs.

  • CowMultiHashIndex: Extends the hash index to support non-unique keys, allowing one key to correspond to multiple values. This class particularly supports batch processing of updates, meaning it can insert or delete multiple key-value pairs simultaneously. This is especially useful for scenarios that require handling multiple update operations within a single transaction.

Indexes.pdf]

Use Case(s)

No response

Possible Solutions

No response

Possible Alternatives

No response

@landongyu landongyu added the C-enhancement Category: An issue proposing an enhancement label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement
Projects
None yet
Development

No branches or pull requests

1 participant