-
Notifications
You must be signed in to change notification settings - Fork 157
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
Streaming results for List Keys/Buckets, 2i, and MR #677
Merged
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
e1480aa
Add streaming api to operations/futures
alexmoore af3d5ba
Add Streaming List Buckets
alexmoore 5c56d9f
Add streaming list keys support
alexmoore 78c9076
Add streaming 2i operations/results
alexmoore 590bcde
Use TransferQueues instead of BlockingQueues
alexmoore 5b87e24
Add Streaming MapReduce Operations
alexmoore 69aed60
Forgot a file
alexmoore c7c40dd
Command level streaming for ListKeys and ListBuckets
alexmoore ca0aaf4
Cleanup & name things betterer
alexmoore ca29f1a
Start into Streaming 2i special commands.
alexmoore e6de1e0
Stub out rest of streaming 2i commands
alexmoore 35e9c4f
Add Javadocs, remove need to check for nulls from streaming results
alexmoore 82fb339
Streaming 2i Command Integration Tests
alexmoore 9ac71b6
Implement Streaming MapReduce Results + Test
alexmoore d19cd3e
Fix spacing in control structures.
alexmoore fe24ba1
Fix headers for newest/recently changed files.
alexmoore 3edac1f
Don't need synchronization on next(), removing unused import
alexmoore 4e0a90b
Expand test coverage
alexmoore 875999d
Add note on code coverage
alexmoore 3ac537c
Move test to another thread, as to not upset other Interruptable test…
alexmoore 051565d
Fix flappy test
alexmoore 7a1ccde
Add javadocs on how to use Streaming interfaces.
alexmoore 5b9f6b4
Fix misc javadocs warnings and errors
alexmoore 511f95e
Fix another minor test bug
alexmoore a54aa45
Generalize StreamingFutureOperation.
srgg 3dd8230
Introduce PBStreamingFutureOperation.
srgg 1c5883c
Fix test that stubs a final method
alexmoore 3869107
Remove RuntimeException + reset interrupted status after we're done l…
alexmoore 74f7ac4
Merge pull request #682 from basho/streaming-api-2-restore-interrupt
alexmoore def141f
Avoid useless queue creation in PBStreamingFutureOperation
srgg 96f1bb6
Fix interrupts in Streaming MR, check interrupted status before waiti…
alexmoore 443cb40
Initial simplification of SecondaryIndexQuery command hierarchy
srgg 37c6d55
Fix some unchecked cast warnings
srgg a112bf2
Coarse fix of unchecked cast warnings in SecondaryIndexQuery
srgg 0f62ed9
Get rid of Response.getLocationFromCoreEntity().
srgg 576eccf
Fix upper case in variable name
srgg 9630a11
Simplification of a bunch of RiakCommand descendants
srgg 63efe16
Simplification for the case when no needs to convert results
srgg 52795d4
Generalize streamable responses
srgg 3e5c7b0
Get rid of unsafe default response and infor conversions in GenericRi…
srgg d97183a
Get rid of unused GenericRiakCommand constructor
srgg 76a6ee4
Request argument was added to the GenericRiakCommand.convertResponse …
srgg 7cdf043
Generalize StreamableRiakCommand.executeAsyncStreaming()
srgg 45f55c4
Remove if / subtype casting from Command execution
alexmoore 12c8944
Make PBStreamingFutureOperation to be a part of StreamableRiakCommand…
srgg 944fb90
Refactor streaming responses to re-use ConvertibleIterator
srgg 67e56cb
Simplify ChunkedResponseIterator initial loading
srgg 22655d4
Generalize StreamableResponse
srgg 3afa145
fix iteration through chunked response
srgg a07833f
Merge pull request #684 from basho/simplification-streamable-commands
alexmoore e313956
Adding assert around chunk queue insertion
alexmoore 51bff20
Adding integration tests for streamable full bucket read.
srgg 002ba0e
Fix bug where calling 2i getEntries() while streaming would throw Nul…
alexmoore a13798b
Pedantic whitespace formatting.
alexmoore c1b575a
Merge branch 'develop' into streaming-api-2
alexmoore ac3d7e2
Switch 2i getEntries() to throw IllegalStateException.
alexmoore 78c43f1
Adding javadocs to new public API pieces
alexmoore a797ba6
Changing isStreamable to isStreaming, as we cannot treat a streaming …
alexmoore File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about throwing either IllegalState or UnsupportedOperation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if not, it is better to return Collections.EMPTY_LIST