This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refactoring services to become light-weight objects receiving a long-lived connection.
Table objects are now short-lived, created as needed and closed when done.
put#add is moved to put#addColumn where needed.
Byte representations of table names are replaced by TableName references to the Strings.
RestJSONSource hosts a constant SLASH which is used in the client. The JVM will inline such string references, but that is living on the edge. Most of the functionality is moved to RestSource so that it can create a long-lived Connection. We don't want clients to cause this class to be loaded at which time static variables get initialized and cause clients to have a connection to HBase.