×

Adaptable data source connection strings

  • US 10,599,487 B1
  • Filed: 06/11/2019
  • Issued: 03/24/2020
  • Est. Priority Date: 06/11/2019
  • Status: Active Grant
First Claim
Patent Images

1. A method for converting a first connection string configured to use a first application programming interface (API) to connect to a data source of a first data source type to a second connection string configured to use a second, different API to connect to the data source of the first data source type comprising:

  • parsing the first connection string into connection information used by the first API to connect to the data source;

    storing the connection information into a key-value dictionary;

    identifying the first data source type is associated with the first connection string based on the connection information;

    in response to identifying the first data source type, instantiating an object for a derived subclass designed for the first data source type, the derived subclass inheriting from a base class comprising an abstract version of a method defined for the second, different API and the derived subclass comprising a non-abstract version of the method defined for the second, different API; and

    generating the second connection string by calling the method associated with the object, wherein the non-abstract version of the method in the derived subclass is executed as a result of calling the method and the non-abstract version of the method is configured to use at least a portion of the connection information stored in the key-value dictionary to generate the second connection string configured to use the second, different API to connect to the data source of the first data source type.

View all claims
  • 10 Assignments
Timeline View
Assignment View
    ×
    ×