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

Enhance ConstraintOperator capability #6104

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tkobayas
Copy link
Contributor

…ares incompatible types

Draft implementation that a custom ConstraintOperator can enable alpha index.

@tkobayas
Copy link
Contributor Author

@mariofusco This PR is not a clear separation as you mentioned in kiegroup/drools-ansible-rulebook-integration#112 (comment)

This PR enhances ConstraintOperator to contain Index.ConstraintType, so a custom ConstraintOperator can have its own predicate while make use of alpha index. (I haven't implemented for beta index yet. I can do it later in this PR). Bare Index.ConstraintType can be both an operator and an index type. I leave it so that I can minimize the change. If you want further separation, feel free to let me know.

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.

1 participant