17.10 - valueOf - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

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 StreamFormat.FormatAttribute  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.