Package org.elasticsearch.xpack.sql.jdbc
Class JdbcConfiguration
java.lang.Object
org.elasticsearch.xpack.sql.client.ConnectionConfiguration
org.elasticsearch.xpack.sql.jdbc.JdbcConfiguration
/ 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 Summary
FieldsFields inherited from class org.elasticsearch.xpack.sql.client.ConnectionConfiguration
ALLOW_PARTIAL_SEARCH_RESULTS, ALLOW_PARTIAL_SEARCH_RESULTS_DEFAULT, AUTH_PASS, AUTH_USER, BINARY_COMMUNICATION, CONNECT_TIMEOUT, NETWORK_TIMEOUT, PAGE_SIZE, PAGE_TIMEOUT, PROPERTIES_VALIDATION, QUERY_TIMEOUT -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic JdbcConfigurationcreate(String u, Properties props, int loginTimeoutSeconds) booleandebug()debugOut()protected Collection<String> booleanbooleanbooleantimeZone()Methods inherited from class org.elasticsearch.xpack.sql.client.ConnectionConfiguration
allowPartialSearchResults, authPass, authUser, baseUri, binaryCommunication, connectionString, connectTimeout, isSSLEnabled, networkTimeout, optionNames, pageSize, pageTimeout, parseValue, proxyConfig, queryTimeout, sslConfig, validateProperties
-
Field Details
-
DEFAULT_URI
-
TIME_ZONE
- See Also:
-
CATALOG
- See Also:
-
-
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
- Overrides:
extraOptionsin classConnectionConfiguration
-
debug
public boolean debug() -
debugOut
-
flushAlways
public boolean flushAlways() -
timeZone
-
fieldMultiValueLeniency
public boolean fieldMultiValueLeniency() -
indexIncludeFrozen
public boolean indexIncludeFrozen() -
canAccept
-
driverPropertyInfo
-