16.20 - Enum StreamFormat.FormatAttribute Methods - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

getFormatAttribute

public int  getFormatAttribute()

size

public int  size()

valueOf

public static StreamFormat.FormatAttribute  valueOf(java.lang.String  name)

where:

Parameter Name Description

name

the name of the enum constant to be returned.

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.

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.

values

public static StreamFormat.FormatAttribute[]  values()

Returns an array containing the constants of this enum type in the order they are declared. This method may be used to iterate over the constants as follows:

for (StreamFormat.FormatAttribute c : StreamFormat.FormatAttribute.values())
             System.out.println(c);

Inherited Methods

The following methods are inherited from class java.lang.Enum:
  • compareTo
  • equals
  • get DeclaringClass
  • hashCode
  • name
  • ordinal
  • toString
  • valueOf
The following methods are inherited from class java.lang.Object:
  • getClass
  • notify
  • notifyAll
  • wait, wait, wait