Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.connector.store.jpa.util
Interface Serializer.LargeValues

All Known Implementing Classes:
  Serializer.NoLargeValues, SimpleJpaRepository.LargeValueSerializer

Enclosing class:
  Serializer

    public static interface Serializer.LargeValues

Interface that represents the location where "large" objects are stored.

Author:
  Randall Hauch

Method Summary
`long` | `getMinimumSize()` Get the minimum size for large values, specified as `number of characters` for a `String` or the `number of bytes for a binary value`
`Object` | `read(ValueFactories valueFactories, byte[] hash, long length)`
`void` | `write(byte[] hash, long length, PropertyType type, Object value)`

Method Detail

### getMinimumSize

    long getMinimumSize()

  Get the minimum size for large values, specified as `number of characters` for a `String` or the `number of bytes for a binary value`

  Returns:
    the size at which a property value is considered to be large

### write

    void write(byte[] hash,
               long length,
               PropertyType type,
               Object value)
               throws IOException

  Throws:
    `IOException`

### read

    Object read(ValueFactories valueFactories,
                byte[] hash,
                long length)
                throws IOException

  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.