16.20 - Instance Methods - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
English (United States)

Instance methods define an allowable operation on a structured UDT. An instance method does not operate directly on a UDT, but rather on a particular instance of that UDT.

When an instance method is invoked, a structured type instance is passed as an implicit subject parameter. This subject parameter is associated with the parameter name, SELF, and is the reason that you cannot name any method parameters using the name SELF.

Instance methods typically manipulate the data attribute set of a structured UDT. Examples of instance methods include observer and mutator methods.