use of org.apache.ignite.internal.jdbc.JdbcDriverPropertyInfo in project ignite by apache.
the class IgniteJdbcThinDriver method getPropertyInfo.
/** {@inheritDoc} */
@Override
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException {
parseUrl(url, info);
List<DriverPropertyInfo> props = Arrays.<DriverPropertyInfo>asList(new JdbcDriverPropertyInfo("Hostname", info.getProperty(JdbcThinUtils.PROP_HOST), ""), new JdbcDriverPropertyInfo("Port number", info.getProperty(JdbcThinUtils.PROP_PORT), ""), new JdbcDriverPropertyInfo("Distributed Joins", info.getProperty(JdbcThinUtils.PROP_DISTRIBUTED_JOINS), ""), new JdbcDriverPropertyInfo("Enforce Join Order", info.getProperty(JdbcThinUtils.PROP_ENFORCE_JOIN_ORDER), ""));
return props.toArray(new DriverPropertyInfo[0]);
}
Aggregations