org.drizzle.jdbc.internal.common.packet
Enum EOFPacket.ServerStatus

java.lang.Object
  extended by java.lang.Enum<EOFPacket.ServerStatus>
      extended by org.drizzle.jdbc.internal.common.packet.EOFPacket.ServerStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EOFPacket.ServerStatus>
Enclosing class:
EOFPacket

public static enum EOFPacket.ServerStatus
extends java.lang.Enum<EOFPacket.ServerStatus>


Enum Constant Summary
SERVER_MORE_RESULTS_EXISTS
           
SERVER_QUERY_NO_GOOD_INDEX_USED
           
SERVER_QUERY_NO_INDEX_USED
           
SERVER_STATUS_AUTOCOMMIT
           
SERVER_STATUS_DB_DROPPED
           
SERVER_STATUS_IN_TRANS
           
 
Method Summary
 int getBitmapFlag()
           
static java.util.Set<EOFPacket.ServerStatus> getServerCapabilitiesSet(short i)
           
static EOFPacket.ServerStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EOFPacket.ServerStatus[] 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

SERVER_STATUS_IN_TRANS

public static final EOFPacket.ServerStatus SERVER_STATUS_IN_TRANS

SERVER_STATUS_AUTOCOMMIT

public static final EOFPacket.ServerStatus SERVER_STATUS_AUTOCOMMIT

SERVER_MORE_RESULTS_EXISTS

public static final EOFPacket.ServerStatus SERVER_MORE_RESULTS_EXISTS

SERVER_QUERY_NO_GOOD_INDEX_USED

public static final EOFPacket.ServerStatus SERVER_QUERY_NO_GOOD_INDEX_USED

SERVER_QUERY_NO_INDEX_USED

public static final EOFPacket.ServerStatus SERVER_QUERY_NO_INDEX_USED

SERVER_STATUS_DB_DROPPED

public static final EOFPacket.ServerStatus SERVER_STATUS_DB_DROPPED
Method Detail

values

public static EOFPacket.ServerStatus[] 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 (EOFPacket.ServerStatus c : EOFPacket.ServerStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EOFPacket.ServerStatus 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

getServerCapabilitiesSet

public static java.util.Set<EOFPacket.ServerStatus> getServerCapabilitiesSet(short i)

getBitmapFlag

public int getBitmapFlag()


Copyright © 2012. All Rights Reserved.