User-defined type consistency checker
First Claim
1. A system that checks consistency of data values, comprising:
- a first component that receives a type definition of an incoming data value that is persisted in a metadata catalog; and
a second component that identifies an embedded user-defined type (UDT) value and checks the consistency of the embedded UDT value.
2 Assignments
0 Petitions
Accused Products
Abstract
A system that facilitates checking the consistency of a user-defined data type in relation to a database environment. The invention can employ a user-defined type (UDT) storage format whereby values can be self-describing, including the runtime type of the value. The invention can take the type definition that is persisted in the metadata catalogs as a streaming input and generate a type-specific state machine thereafter. At every point in the checking process, the type-specific state machine can be aware of the next data type that is to be encountered in the check. Whenever an embedded UDT is encountered, the current type-specific state machine can be suspended and saved. The embedded UDT can be checked before proceeding. In this way, the complex check can be effected using memory space proportional to the number of levels in the UDT as opposed to the number of bytes in the object.
27 Citations
20 Claims
-
1. A system that checks consistency of data values, comprising:
-
a first component that receives a type definition of an incoming data value that is persisted in a metadata catalog; and
a second component that identifies an embedded user-defined type (UDT) value and checks the consistency of the embedded UDT value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of verifying consistency of UDT data, comprising:
-
receiving an incoming data value from a data source;
identifying a type definition that corresponds to the incoming data value;
generating a type-specific state machine based at least in part on one or more identified type definitions;
identifying an embedded UDT structure; and
verifying consistency of the embedded UDT structure. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A system that facilitates analyzing consistency of a UDT value, comprising:
-
means for receiving an incoming data element from a source;
means for analyzing metadata associated with the incoming data element;
means for identifying a type definition that corresponds to the incoming data element;
means for generating a type-specific state machine based at least in part on one or more identified type definitions;
means for identifying an embedded UDT structure; and
means for verifying consistency of the embedded UDT structure. - View Dependent Claims (20)
-
Specification