skip to main content
Using the Driver : IP Addresses

Try DataDirect Drivers Now

IP Addresses

The driver supports Internet Protocol (IP) addresses in IPv4 format.
The server name specified in a connection URL, or data source, can resolve to an IPv4 address. In the following example, the server name Server3 can resolve to an IPv4 address:
Alternately, you can specify addresses using IPv4 format in the server portion of the connection URL. For example, the following connection URL specifies the server using an IPv4 address:
You also can specify addresses using the ServerName data source property. The following example shows a data source definition that specifies the server name using an IPv4 address:
SparkSQLDataSource mds = new SparkSQLDataSource();
mds.setDescription("My SparkSQLDataSource");