Class JdbcConfiguration

java.lang.Object
org.elasticsearch.xpack.sql.client.ConnectionConfiguration
org.elasticsearch.xpack.sql.jdbc.JdbcConfiguration

public class JdbcConfiguration extends ConnectionConfiguration
/ Supports the following syntax / / jdbc:es://[host|ip] / jdbc:es://[host|ip]:port/(prefix) / jdbc:es://[host|ip]:port/(prefix)(?options=value&) / / Additional properties can be specified either through the Properties object or in the URL. In case of duplicates, the URL wins.
  • Field Details

  • Method Details

    • create

      public static JdbcConfiguration create(String u, Properties props, int loginTimeoutSeconds) throws org.elasticsearch.xpack.sql.jdbc.JdbcSQLException
      Throws:
      org.elasticsearch.xpack.sql.jdbc.JdbcSQLException
    • extraOptions

      protected Collection<String> extraOptions()
      Overrides:
      extraOptions in class ConnectionConfiguration
    • debug

      public boolean debug()
    • debugOut

      public String debugOut()
    • flushAlways

      public boolean flushAlways()
    • timeZone

      public TimeZone timeZone()
    • fieldMultiValueLeniency

      public boolean fieldMultiValueLeniency()
    • indexIncludeFrozen

      public boolean indexIncludeFrozen()
    • canAccept

      public static boolean canAccept(String url)
    • driverPropertyInfo

      public DriverPropertyInfo[] driverPropertyInfo()