com.amazon.carbonado.spi
Class StoredLob.Block
java.lang.Object
com.amazon.carbonado.spi.StoredLob.Block
- All Implemented Interfaces:
- Storable<StoredLob.Block>
- Enclosing class:
- StoredLob
@PrimaryKey(value={"locator","+blockNumber"})
public abstract static class StoredLob.Block- extends Object
- implements Storable<StoredLob.Block>
Blocks stored here.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.amazon.carbonado.Storable |
copy, copyAllProperties, copyDirtyProperties, copyPrimaryKeyProperties, copyUnequalProperties, copyVersionProperty, delete, equalPrimaryKeys, equalProperties, equals, getPropertyValue, hasDirtyProperties, hashCode, insert, isPropertyClean, isPropertyDirty, isPropertySupported, isPropertyUninitialized, load, markAllPropertiesClean, markAllPropertiesDirty, markPropertiesClean, markPropertiesDirty, prepare, propertyMap, readFrom, setPropertyValue, storableType, toString, toStringKeyOnly, tryDelete, tryInsert, tryLoad, tryUpdate, update, writeTo |
StoredLob.Block
public StoredLob.Block()
getLocator
public abstract long getLocator()
setLocator
public abstract void setLocator(long locator)
getBlockNumber
public abstract int getBlockNumber()
- First block number is logically zero, but subtract 0x80000000 to get
actual number. This effectively makes the block number unsigned.
setBlockNumber
public abstract void setBlockNumber(int number)
getData
public abstract byte[] getData()
setData
public abstract void setData(byte[] data)
getVersion
@Version
public abstract int getVersion()
setVersion
public abstract void setVersion(int version)
Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.