Class PollInfo

java.lang.Object
org.apache.arrow.flight.PollInfo

public class PollInfo extends Object
A POJO representation of the execution of a long-running query.
  • Constructor Details

    • PollInfo

      public PollInfo(FlightInfo flightInfo, FlightDescriptor flightDescriptor, Double progress, Instant expirationTime)
      Create a new PollInfo.
      Parameters:
      flightInfo - The FlightInfo (must not be null).
      flightDescriptor - The descriptor used to poll for more information; null if and only if query is finished.
      progress - Optional progress info in [0.0, 1.0].
      expirationTime - An expiration time, after which the server may no longer recognize the descriptor.
  • Method Details