Package org.firebirdsql.jdbc
Enum FBStatement.StatementResult
- java.lang.Object
-
- java.lang.Enum<FBStatement.StatementResult>
-
- org.firebirdsql.jdbc.FBStatement.StatementResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FBStatement.StatementResult>
- Enclosing class:
- FBStatement
protected static enum FBStatement.StatementResult extends java.lang.Enum<FBStatement.StatementResult>
The current result of a statement.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_MORE_RESULTS
RESULT_SET
RESULT_SET_WITH_UPDATE_COUNT
UPDATE_COUNT
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
isResultSet()
abstract FBStatement.StatementResult
nextResult()
static FBStatement.StatementResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FBStatement.StatementResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESULT_SET
public static final FBStatement.StatementResult RESULT_SET
-
RESULT_SET_WITH_UPDATE_COUNT
public static final FBStatement.StatementResult RESULT_SET_WITH_UPDATE_COUNT
-
UPDATE_COUNT
public static final FBStatement.StatementResult UPDATE_COUNT
-
NO_MORE_RESULTS
public static final FBStatement.StatementResult NO_MORE_RESULTS
-
-
Method Detail
-
values
public static FBStatement.StatementResult[] 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 (FBStatement.StatementResult c : FBStatement.StatementResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FBStatement.StatementResult valueOf(java.lang.String name)
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
nextResult
public abstract FBStatement.StatementResult nextResult()
- Returns:
- Next result
-
isResultSet
public final boolean isResultSet()
-
-