-
公开(公告)号:US10360204B2
公开(公告)日:2019-07-23
申请号:US15309842
申请日:2014-05-22
Applicant: Hewlett Packard Enterprise Development LP
Inventor: Qiming Chen , Meichun Hsu , Maria Guadalupe Castellanos
Abstract: An example technique for defining a user function can include receiving a user defined function that gathers data from a data source external to a database and returns the data to the database. The example technique for defining the user function can also include creating an instance of a programming class that extends from an application programming interface (API). The instance of the programming class including the user defined function. The example technique for defining the user function can also include executing the user defined function provided by the instance of the programming class.
-
公开(公告)号:US20180046659A1
公开(公告)日:2018-02-15
申请号:US15555634
申请日:2015-03-20
Applicant: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Inventor: Qiming Chen , Meichun Hsu , Rui Liu , Maria Guadalupe Castellanos
IPC: G06F17/30
CPC classification number: G06F16/2291 , G06F16/245
Abstract: Methods, devices, and techniques for base user defined functions in a database management system are discussed herein. For example, in one aspect, a query request is received from a computer device. The query request may include a query operator representing a specialized user defined function (SUDF). The SUDF may then be executed. Executing the SUDF may include executing a base operation of a base user defined function (BUDF). The base operation may interact with an application programming interface (API) of the query engine to obtain a tuple stored in the database. Executing the SUDF may further include executing a specialized operation that processes the tuple according to an analytics function. The specialized operation may generate a result. Then, a query result may be returned to the computer device. The query result can include the result.
-