org.firebirdsql.jdbc
Enum AbstractStatement.StatementResult

java.lang.Object
  extended by java.lang.Enum<AbstractStatement.StatementResult>
      extended by org.firebirdsql.jdbc.AbstractStatement.StatementResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AbstractStatement.StatementResult>
Enclosing class:
AbstractStatement

protected static enum AbstractStatement.StatementResult
extends java.lang.Enum<AbstractStatement.StatementResult>

The current result of a statement.


Enum Constant Summary
NO_MORE_RESULTS
           
RESULT_SET
           
UPDATE_COUNT
           
 
Method Summary
abstract  AbstractStatement.StatementResult nextResult()
           
static AbstractStatement.StatementResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AbstractStatement.StatementResult[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RESULT_SET

public static final AbstractStatement.StatementResult RESULT_SET

UPDATE_COUNT

public static final AbstractStatement.StatementResult UPDATE_COUNT

NO_MORE_RESULTS

public static final AbstractStatement.StatementResult NO_MORE_RESULTS
Method Detail

values

public static AbstractStatement.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 (AbstractStatement.StatementResult c : AbstractStatement.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 AbstractStatement.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 name
java.lang.NullPointerException - if the argument is null

nextResult

public abstract AbstractStatement.StatementResult nextResult()
Returns:
Next result


Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.