Interface PgArchiveResolver


public interface PgArchiveResolver
A strategy for resolving PostgreSQL binaries.
See Also:
  • ZonkyIOPostgresArchiveResolver
  • Method Summary

    Modifier and Type
    Method
    Description
    locatePgArchive(String system, String machineHardware)
    Returns an input stream with the postgres archive for the given systen and hardware architecture.
  • Method Details

    • locatePgArchive

      InputStream locatePgArchive(String system, String machineHardware) throws IOException
      Returns an input stream with the postgres archive for the given systen and hardware architecture.
      Parameters:
      system - a system identification (Darwin, Linux...)
      machineHardware - a machine hardware architecture (x86_64...)
      Returns:
      the binary
      Throws:
      IOException - if no archive could be found.