com.amazon.carbonado.spi
Class StoredLob
java.lang.Object
com.amazon.carbonado.spi.StoredLob
- All Implemented Interfaces:
- Storable<StoredLob>
@PrimaryKey(value="locator")
@Independent
@Alias(value="CARBONADO_LOB")
public abstract class StoredLob
- extends Object
- implements Storable<StoredLob>
Can be used internally by repositories for supporting Lobs.
- Author:
- Brian S O'Neill
- See Also:
LobEngine
| 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
public StoredLob()
getLocator
public abstract long getLocator()
setLocator
public abstract void setLocator(long locator)
getBlockSize
public abstract int getBlockSize()
setBlockSize
@IntegerConstraint(min=1L)
public abstract void setBlockSize(int size)
getLength
public abstract long getLength()
setLength
@IntegerConstraint(min=0L)
public abstract void setLength(long length)
getVersion
@Version
public abstract int getVersion()
setVersion
public abstract void setVersion(int version)
getBlockCount
public long getBlockCount()
- Returns number of blocks required to store Lob.
getLastBlockLength
public int getLastBlockLength()
- Returns expected length of last block. If zero, last block should be
full, unless the total length of Lob is zero.
Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.