apache / apache/arrow-java

[Java] FlightStream: how to check whether data is available in the stream in a nonblocking way;

Open
#212 2 comments 0 reactions 0 assignees View on GitHub
Type: usage
Dominant language
Java
Stars
94
Forks
152
Avg merge
3d 16h
Merged PRs (30d)
11

Description

### Describe the usage question you have. Please include as many useful details as possible.

as the title:
How to check whether data is available in the stream in a nonblocking way;

It seems that the FlightStream API only supports fetching data by calling the `next()` method in blocking; I think a nonblocking method like `tryNext()` should also be needed.

### Component(s)

Java

Contributor guide

Open the contributing guide

Research direction

Start with the Java FlightStream API and its blocking next() method. Determine the expected contract for checking data availability without blocking, including how the end of the stream is represented. Done means callers can check availability nonblockingly through the FlightStream API.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.