Oracle 视图 ALL_TYPE_METHODS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_TYPE_METHODS是Oracle系统视图,其显示的是当前用户拥有的类型的方法(METHOD)信息,具体包括该方法的名称、方法ID、返回类型和参数类型等信息。
使用ALL_TYPE_METHODS视图可以查询当前用户拥有的所有类型方法。我们可以使用ALL_TYPE_METHODS视图来查询特定的类型是否有相应的方法或了解类型中定义的方法的参数类型和属性类型。下面是一个简单的查询语句,用来查询指定类型type_name中定义的方法:
SELECT * FROM ALL_TYPE_METHODS WHERE type_name = ‘type_name’;
官方英文解释
ALL_TYPE_METHODS
describes the methods of the object types accessible to the current user.
Related Views
-
DBA_TYPE_METHODS
describes the methods of all object types in the database. -
USER_TYPE_METHODS
describes the methods of the object types owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the type |
|
|
|
Name of the type |
|
|
|
Name of the method |
|
|
|
Method number for distinguishing overloaded methods (not to be used as ID number) |
|
|
Type of the method:
|
|
|
|
|
Number of parameters to the method |
|
|
|
Number of results returned by the method |
|
|
Indicates whether the method is final ( |
|
|
|
Indicates whether the method is instantiable ( |
|
|
|
Indicates whether the method is overriding a supertype method ( |
|
|
|
Indicates whether the method is inherited from a supertype ( |
See Also:
-
“DBA_TYPE_METHODS”
-
“USER_TYPE_METHODS”