org.apache.hadoop.hbase.protobuf.generated
Enum CellProtos.CellType

java.lang.Object
  extended by java.lang.Enum<CellProtos.CellType>
      extended by org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<CellProtos.CellType>
Enclosing class:
CellProtos

public static enum CellProtos.CellType
extends Enum<CellProtos.CellType>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum CellType


 The type of the key in a Cell
 


Enum Constant Summary
DELETE
          DELETE = 8;
DELETE_COLUMN
          DELETE_COLUMN = 12;
DELETE_FAMILY
          DELETE_FAMILY = 14;
MAXIMUM
          MAXIMUM = 255;
MINIMUM
          MINIMUM = 0;
PUT
          PUT = 4;
 
Field Summary
static int DELETE_COLUMN_VALUE
          DELETE_COLUMN = 12;
static int DELETE_FAMILY_VALUE
          DELETE_FAMILY = 14;
static int DELETE_VALUE
          DELETE = 8;
static int MAXIMUM_VALUE
          MAXIMUM = 255;
static int MINIMUM_VALUE
          MINIMUM = 0;
static int PUT_VALUE
          PUT = 4;
 
Method Summary
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
           
 com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
           
 int getNumber()
           
 com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
           
static com.google.protobuf.Internal.EnumLiteMap<CellProtos.CellType> internalGetValueMap()
           
static CellProtos.CellType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static CellProtos.CellType valueOf(int value)
           
static CellProtos.CellType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CellProtos.CellType[] 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

MINIMUM

public static final CellProtos.CellType MINIMUM
MINIMUM = 0;


PUT

public static final CellProtos.CellType PUT
PUT = 4;


DELETE

public static final CellProtos.CellType DELETE
DELETE = 8;


DELETE_COLUMN

public static final CellProtos.CellType DELETE_COLUMN
DELETE_COLUMN = 12;


DELETE_FAMILY

public static final CellProtos.CellType DELETE_FAMILY
DELETE_FAMILY = 14;


MAXIMUM

public static final CellProtos.CellType MAXIMUM
MAXIMUM = 255;
 MAXIMUM is used when searching; you look from maximum on down.
 

Field Detail

MINIMUM_VALUE

public static final int MINIMUM_VALUE
MINIMUM = 0;

See Also:
Constant Field Values

PUT_VALUE

public static final int PUT_VALUE
PUT = 4;

See Also:
Constant Field Values

DELETE_VALUE

public static final int DELETE_VALUE
DELETE = 8;

See Also:
Constant Field Values

DELETE_COLUMN_VALUE

public static final int DELETE_COLUMN_VALUE
DELETE_COLUMN = 12;

See Also:
Constant Field Values

DELETE_FAMILY_VALUE

public static final int DELETE_FAMILY_VALUE
DELETE_FAMILY = 14;

See Also:
Constant Field Values

MAXIMUM_VALUE

public static final int MAXIMUM_VALUE
MAXIMUM = 255;
 MAXIMUM is used when searching; you look from maximum on down.
 

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static CellProtos.CellType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getNumber

public final int getNumber()
Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite
Specified by:
getNumber in interface com.google.protobuf.ProtocolMessageEnum

valueOf

public static CellProtos.CellType valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<CellProtos.CellType> internalGetValueMap()

getValueDescriptor

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Specified by:
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum

getDescriptorForType

public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum

getDescriptor

public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()

valueOf

public static CellProtos.CellType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2015 The Apache Software Foundation. All rights reserved.