org.neo4j.kernel.impl.nioneo.store
Enum Record

java.lang.Object
  extended by java.lang.Enum<Record>
      extended by org.neo4j.kernel.impl.nioneo.store.Record
All Implemented Interfaces:
Serializable, Comparable<Record>

public enum Record
extends Enum<Record>

Various constants used in records for different stores.


Enum Constant Summary
DIRECTED
           
IN_USE
           
NO_NEXT_BLOCK
           
NO_NEXT_PROPERTY
           
NO_NEXT_RELATIONSHIP
           
NO_PREV_BLOCK
           
NO_PREV_RELATIONSHIP
           
NO_PREVIOUS_PROPERTY
           
NODE_PROPERTY
           
NOT_DIRECTED
           
NOT_IN_USE
           
REL_PROPERTY
           
RESERVED
           
 
Method Summary
 byte byteValue()
          Returns a byte value representation for this record type.
 int intValue()
          Returns a int value representation for this record type.
 boolean value(long value)
           
static Record valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Record[] 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

NOT_IN_USE

public static final Record NOT_IN_USE

IN_USE

public static final Record IN_USE

RESERVED

public static final Record RESERVED

NO_NEXT_PROPERTY

public static final Record NO_NEXT_PROPERTY

NO_PREVIOUS_PROPERTY

public static final Record NO_PREVIOUS_PROPERTY

NO_NEXT_RELATIONSHIP

public static final Record NO_NEXT_RELATIONSHIP

NO_PREV_RELATIONSHIP

public static final Record NO_PREV_RELATIONSHIP

NOT_DIRECTED

public static final Record NOT_DIRECTED

DIRECTED

public static final Record DIRECTED

NO_NEXT_BLOCK

public static final Record NO_NEXT_BLOCK

NO_PREV_BLOCK

public static final Record NO_PREV_BLOCK

NODE_PROPERTY

public static final Record NODE_PROPERTY

REL_PROPERTY

public static final Record REL_PROPERTY
Method Detail

values

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

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

valueOf

public static Record 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

byteValue

public byte byteValue()
Returns a byte value representation for this record type.

Returns:
The byte value for this record type

intValue

public int intValue()
Returns a int value representation for this record type.

Returns:
The int value for this record type

value

public boolean value(long value)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.