org.neo4j.kernel.impl.nioneo.store
Class PropertyBlock

java.lang.Object
  extended by org.neo4j.kernel.impl.nioneo.store.PropertyBlock

public class PropertyBlock
extends Object


Constructor Summary
PropertyBlock()
           
 
Method Summary
 void addValueRecord(DynamicRecord record)
           
 PropertyType forceGetType()
           
 int getKeyIndexId()
           
 long getSingleValueBlock()
           
 byte getSingleValueByte()
           
 int getSingleValueInt()
           
 long getSingleValueLong()
          use this for references to the dynamic stores
 short getSingleValueShort()
           
 int getSize()
          A property block can take a variable size of bytes in a property record.
 PropertyType getType()
           
 long[] getValueBlocks()
           
 List<DynamicRecord> getValueRecords()
           
 boolean isCreated()
           
 boolean isLight()
           
 PropertyData newPropertyData(PropertyRecord parent)
           
 PropertyData newPropertyData(PropertyRecord parent, Object extractedValue)
           
 void setCreated()
           
 void setSingleBlock(long value)
           
 void setValueBlocks(long[] blocks)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyBlock

public PropertyBlock()
Method Detail

getType

public PropertyType getType()

forceGetType

public PropertyType forceGetType()

getKeyIndexId

public int getKeyIndexId()

setSingleBlock

public void setSingleBlock(long value)

addValueRecord

public void addValueRecord(DynamicRecord record)

getValueRecords

public List<DynamicRecord> getValueRecords()

getSingleValueBlock

public long getSingleValueBlock()

getSingleValueLong

public long getSingleValueLong()
use this for references to the dynamic stores


getSingleValueInt

public int getSingleValueInt()

getSingleValueShort

public short getSingleValueShort()

getSingleValueByte

public byte getSingleValueByte()

getValueBlocks

public long[] getValueBlocks()

isLight

public boolean isLight()

newPropertyData

public PropertyData newPropertyData(PropertyRecord parent)

newPropertyData

public PropertyData newPropertyData(PropertyRecord parent,
                                    Object extractedValue)

setValueBlocks

public void setValueBlocks(long[] blocks)

isCreated

public boolean isCreated()

setCreated

public void setCreated()

getSize

public int getSize()
A property block can take a variable size of bytes in a property record. This method returns the size of this block in bytes, including the header size.

Returns:
The size of this block in bytes, including the header.

toString

public String toString()
Overrides:
toString in class Object


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