org.neo4j.kernel.impl.storemigration.legacystore
Enum LegacyPropertyType
java.lang.Object
java.lang.Enum<LegacyPropertyType>
org.neo4j.kernel.impl.storemigration.legacystore.LegacyPropertyType
- All Implemented Interfaces:
- Serializable, Comparable<LegacyPropertyType>
public enum LegacyPropertyType
- extends Enum<LegacyPropertyType>
ILLEGAL
public static final LegacyPropertyType ILLEGAL
INT
public static final LegacyPropertyType INT
STRING
public static final LegacyPropertyType STRING
BOOL
public static final LegacyPropertyType BOOL
DOUBLE
public static final LegacyPropertyType DOUBLE
FLOAT
public static final LegacyPropertyType FLOAT
LONG
public static final LegacyPropertyType LONG
BYTE
public static final LegacyPropertyType BYTE
CHAR
public static final LegacyPropertyType CHAR
ARRAY
public static final LegacyPropertyType ARRAY
SHORT
public static final LegacyPropertyType SHORT
SHORT_STRING
public static final LegacyPropertyType SHORT_STRING
values
public static LegacyPropertyType[] 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 (LegacyPropertyType c : LegacyPropertyType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LegacyPropertyType 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
intValue
public int intValue()
- Returns an int value representing the type.
- Returns:
- The int value for this property type
getValue
public abstract Object getValue(LegacyPropertyRecord record,
LegacyDynamicRecordFetcher store)
getPropertyType
public static LegacyPropertyType getPropertyType(int type,
boolean nullOnIllegal)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.