×

Virtual table generator for analyzing geographic databases

  • US 10,289,636 B2
  • Filed: 01/31/2011
  • Issued: 05/14/2019
  • Est. Priority Date: 02/08/2010
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of accessing binary large objects in a geographic database, comprising:

  • receiving, at a processor, a navigation query from an application for data stored as one of a plurality of binary large objects in a physical table, wherein each of the plurality of binary large objects is stored in a separate record in the geographic database;

    retrieving, by the processor, the binary large object from the physical table stored in the geographic database;

    providing, via the processor, the binary large object to an analyzer;

    analyzing the binary large object at runtime by executing the analyzer with the processor, wherein the analyzer uses a reflection code which operates (a) in a plurality of modes to identify primitive data types or object handlers by searching for getters in the binary large object, (b) modifies its own structure at runtime based on an object tree of the binary large object, and (c) the analyzing comprises;

    identifying, by the processor, one or more methods having one of one or more predetermined prefixes in the binary large object,invoking, by the processor, a first method of the one or more methods to obtain a result object,determining, by the processor, whether the result object has an object handler class or is a primitive data type,responsive to determining that the result object has the object handler class, using, by the processor, a class corresponding to the object handler class to represent a value for the first method,responsive to determining that the result object is a primitive data type, using, by the processor, the primitive data type to represent the value for the first method, andresponsive to determining that the result object neither has the object handler class nor is a primitive data type, invoking, by the processor, a method of the result object,wherein the analyzing causes multiple object classes to be recursively traversed using the predetermined prefixes until the primitive data types or an object handler class are identified by the reflection code executed by the processor using the getters to retrieve row data for a virtual table, wherein the virtual table connects each of a plurality of geographic databases to a respective one of a plurality of scripts;

    modifying the virtual table at runtime in response to the navigation query by the processor based on the object tree of the binary large object, the virtual table including data which corresponds to a mode of the plurality of modes, wherein the plurality of modes are a predetermined number of options for retrieving data from the binary large object in a particular order;

    providing, using the processor, the virtual table to the application; and

    accessing, using the application via the processor, the virtual table for data from the binary large object as stored in the virtual table as a response to the navigation query in order to perform a function of the application, wherein the navigation query is in structured query language and includes parameters for interpreting the binary large object and a mode used by the reflection code for retrieving data from the binary large object.

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