Interface UriResolver

All Known Implementing Classes:
ApplicationResolver, BarrageTableResolver, CsvTableResolver, ParquetTableResolver, QueryScopeResolver

public interface UriResolver
A URI resolver resolves URIs into objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the resolver can resolve the uri.
    resolve(URI uri)
    Resolve uri into an object.
    The supported schemes.
  • Method Details

    • schemes

      Set<String> schemes()
      The supported schemes.
      Returns:
      the schemes
    • isResolvable

      boolean isResolvable(URI uri)
      Returns true if the resolver can resolve the uri.
      Parameters:
      uri - the uri
      Returns:
      true if this resolver can resolve uri
    • resolve

      Object resolve(URI uri) throws InterruptedException
      Resolve uri into an object.
      Parameters:
      uri - the URI
      Returns:
      the object
      Throws:
      InterruptedException - if the current thread is interrupted