Patent · US Active

Algebraic data types for database query languages

US9720961B1 · kind B1 · utility

2Cited by
0References
24Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 30, 2016
Grant dateAug 1, 2017
Priority date
Expiry dateSep 30, 2036

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F16/2433
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for implementing algebraic data types in database query languages. One of the methods includes receiving an expression in a database query language, the expression having a programming language construct representing an algebraic data type, wherein the expression specifies two or more alternative subtypes. Respective domain relations are generated using definitions of each of the alternative subtypes within the expression. Unique domain identifiers are assigned among domain tuples belonging to each alternative subtype. A union relation is generated for the algebraic data type. Unique union identifiers are assigned for union tuples belonging to the union relation. Respective injector relations are generated for each of the alternative subtypes.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.