Interface PathResolver

All Superinterfaces:
TicketResolver
All Known Implementing Classes:
ApplicationTicketResolver, ExportTicketResolver, PathResolverPrefixedBase, ScopeTicketResolver, SharedTicketResolver, TicketResolverBase

public interface PathResolver extends TicketResolver
A specialization of TicketResolver that signifies this resolver supports Flight descriptor paths.
  • Method Details

    • handlesPath

      boolean handlesPath(org.apache.arrow.flight.impl.Flight.FlightDescriptor descriptor)
      Returns true if this resolver is responsible for handling the descriptor path. Implementations should prefer to return true here if they know the path is in their domain even if they don't implement it; this allows them to provide a more specific error message for unsupported paths.
      Parameters:
      descriptor - the descriptor
      Returns:
      true if this resolver handles the descriptor path