Module org.postgresql.pljava
Package org.postgresql.pljava
Enum Class PLJavaBasedLanguage.SRFNext.Result
java.lang.Object
java.lang.Enum<PLJavaBasedLanguage.SRFNext.Result>
org.postgresql.pljava.PLJavaBasedLanguage.SRFNext.Result
- All Implemented Interfaces:
Serializable,Comparable<PLJavaBasedLanguage.SRFNext.Result>,Constable
- Enclosing interface:
PLJavaBasedLanguage.SRFNext
public static enum PLJavaBasedLanguage.SRFNext.Result
extends Enum<PLJavaBasedLanguage.SRFNext.Result>
Used to indicate the state of the result sequence on return from
a single call in the
ValuePerCall protocol.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PLJavaBasedLanguage.SRFNext.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SINGLE
There is exactly one row and this call has returned it.None of the rest of the set-returning protocol will be involved, and
close()will not be called. -
MULTIPLE
This call has returned one of possibly multiple rows, and another call should be made to retrieve the next row if any. -
END
This call has no row to return and the result sequence is complete.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-