GigaSpaces XAP 10.0.1 API

org.openspaces.persistency.cassandra.meta.data
Enum ColumnFamilyRow.ColumnFamilyRowType

java.lang.Object
  extended by java.lang.Enum<ColumnFamilyRow.ColumnFamilyRowType>
      extended by org.openspaces.persistency.cassandra.meta.data.ColumnFamilyRow.ColumnFamilyRowType
All Implemented Interfaces:
Serializable, Comparable<ColumnFamilyRow.ColumnFamilyRowType>
Enclosing class:
ColumnFamilyRow

public static enum ColumnFamilyRow.ColumnFamilyRowType
extends Enum<ColumnFamilyRow.ColumnFamilyRowType>


Enum Constant Summary
PartialUpdate
          Denotes a row that is part of a modifiying batch operation context.
Read
          Denotes a row that is part of a read operation context.
Remove
          Denotes a row that is part of a modifiying batch operation context.
Update
          Denotes a row that is part of a modifiying batch operation context.
Write
          Denotes a row that is part of a modifiying batch operation context.
 
Method Summary
static ColumnFamilyRow.ColumnFamilyRowType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ColumnFamilyRow.ColumnFamilyRowType[] 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

Read

public static final ColumnFamilyRow.ColumnFamilyRowType Read
Denotes a row that is part of a read operation context.


Remove

public static final ColumnFamilyRow.ColumnFamilyRowType Remove
Denotes a row that is part of a modifiying batch operation context. This row is to be removed from cassandra.


Write

public static final ColumnFamilyRow.ColumnFamilyRowType Write
Denotes a row that is part of a modifiying batch operation context. This row is to be written to cassandra.


Update

public static final ColumnFamilyRow.ColumnFamilyRowType Update
Denotes a row that is part of a modifiying batch operation context. This row is to be updated in cassandra with the matching row being removed first.


PartialUpdate

public static final ColumnFamilyRow.ColumnFamilyRowType PartialUpdate
Denotes a row that is part of a modifiying batch operation context. This row is to be updated in cassandra without removing the matching row first.

Method Detail

values

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

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

valueOf

public static ColumnFamilyRow.ColumnFamilyRowType 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

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.