valueOf - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. Extraneous whitespace characters are not permitted.

Syntax

public static InputInfo.StreamDir  valueOf(java.lang.String  name)

Syntax Elements

name
the name of the enum constant to be returned.

Exceptions

valueOf throws the following exceptions:
  • java.lang.IllegalArgumentException - if this enum type has no constant with the specified name.
  • java.lang.NullPointerException - if the argument is null.