|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PropertyType>
org.neo4j.kernel.impl.nioneo.store.PropertyType
public enum PropertyType
Defines valid property types.
| Enum Constant Summary | |
|---|---|
ARRAY
|
|
BOOL
|
|
BYTE
|
|
CHAR
|
|
DOUBLE
|
|
FLOAT
|
|
INT
|
|
LONG
|
|
SHORT
|
|
SHORT_ARRAY
|
|
SHORT_STRING
|
|
STRING
|
|
| Method Summary | |
|---|---|
byte |
byteValue()
Returns a byte value representing the type. |
int |
calculateNumberOfBlocksUsed(long firstBlock)
|
static int |
getPayloadSize()
|
static int |
getPayloadSizeLongs()
|
static PropertyType |
getPropertyType(long propBlock,
boolean nullOnIllegal)
|
abstract Object |
getValue(PropertyBlock block,
PropertyStore store)
|
int |
intValue()
Returns an int value representing the type. |
abstract PropertyData |
newPropertyData(PropertyBlock block,
long propertyId,
Object extractedValue)
|
static void |
setPayloadSize(int newPayloadSize)
|
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PropertyType[] |
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 |
|---|
public static final PropertyType BOOL
public static final PropertyType BYTE
public static final PropertyType SHORT
public static final PropertyType CHAR
public static final PropertyType INT
public static final PropertyType LONG
public static final PropertyType FLOAT
public static final PropertyType DOUBLE
public static final PropertyType STRING
public static final PropertyType ARRAY
public static final PropertyType SHORT_STRING
public static final PropertyType SHORT_ARRAY
| Method Detail |
|---|
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int intValue()
public byte byteValue()
public abstract Object getValue(PropertyBlock block,
PropertyStore store)
public abstract PropertyData newPropertyData(PropertyBlock block,
long propertyId,
Object extractedValue)
public static PropertyType getPropertyType(long propBlock,
boolean nullOnIllegal)
public static int getPayloadSize()
public static int getPayloadSizeLongs()
public static void setPayloadSize(int newPayloadSize)
public int calculateNumberOfBlocksUsed(long firstBlock)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||