org.modeshape.connector.store.jpa.util
Class Serializer.NoLargeValues
java.lang.Object
org.modeshape.connector.store.jpa.util.Serializer.NoLargeValues
- All Implemented Interfaces:
- Serializer.LargeValues
- Enclosing class:
- Serializer
protected static class Serializer.NoLargeValues
- extends Object
- implements Serializer.LargeValues
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Serializer.NoLargeValues
protected Serializer.NoLargeValues()
getMinimumSize
public long getMinimumSize()
- Description copied from interface:
Serializer.LargeValues
- Get the minimum size for large values, specified as
number of characters
for a String
or the number of bytes for a binary value
- Specified by:
getMinimumSize
in interface Serializer.LargeValues
- Returns:
- the size at which a property value is considered to be large
write
public void write(byte[] hash,
long length,
PropertyType type,
Object value)
- Specified by:
write
in interface Serializer.LargeValues
read
public Object read(ValueFactories valueFactories,
byte[] hash,
long length)
- Specified by:
read
in interface Serializer.LargeValues
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.