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

Painless: Refactor Lookup into Multiple Classes #32017

Closed
wants to merge 35 commits into from

Conversation

jdconrad
Copy link
Contributor

@jdconrad jdconrad commented Jul 12, 2018

This isn't as large as it seems as a lot of code is just moved into new classes. This splits PainlessLookup into PainlessLookup, PainlessLookupBuilder, and PainlessLookupUtility. Utility contains numerous shared static methods for conversion between painless types/names and java types/names. PainlessLookupBuilder takes all the code required to create a PainlessLookup and separates it from PainlessLookup for easier maintainability moving forward. Other changes are related to these.

Also includes some name changes from struct to class that were overlooked in the previous refactor.

@jdconrad jdconrad added :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v7.0.0 >refactoring v6.4.0 labels Jul 12, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@jdconrad jdconrad requested a review from rjernst July 12, 2018 23:13
@jdconrad jdconrad mentioned this pull request Jul 12, 2018
23 tasks
@jdconrad
Copy link
Contributor Author

@elasticmachine test this please

@jdconrad
Copy link
Contributor Author

Going to break this into smaller pieces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >refactoring v6.4.0 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants