org.modeshape.jcr.index.local

## Class MapDB.ValueSerializer<V>

- java.lang.Object
- - org.modeshape.jcr.index.local.MapDB.ValueSerializer<V>

- All Implemented Interfaces:
    Serializable, org.mapdb.Serializer<V>
  Enclosing class:
    MapDB

      public static class MapDB.ValueSerializer<V>
      extends Object
      implements org.mapdb.Serializer<V>, Serializable

  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.mapdb.Serializer

      `org.mapdb.Serializer.CompressionWrapper<E>`

  - ### Field Summary

    - ### Fields inherited from interface org.mapdb.Serializer

      `BASIC, BOOLEAN, BYTE_ARRAY, BYTE_ARRAY_NOSIZE, CHAR_ARRAY, DOUBLE_ARRAY, ILLEGAL_ACCESS, INT_ARRAY, INTEGER, JAVA, LONG, LONG_ARRAY, STRING, STRING_ASCII, STRING_INTERN, STRING_NOSIZE, UUID`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MapDB.ValueSerializer(StringFactory stringFactory, ValueFactory<V> valueFactory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `V` | `deserialize(DataInput in, int available)`
    `int` | `fixedSize()`
    `void` | `serialize(DataOutput out, V value)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MapDB.ValueSerializer

          public MapDB.ValueSerializer(StringFactory stringFactory,
                               ValueFactory<V> valueFactory)

  - ### Method Detail

    - #### fixedSize

          public int fixedSize()

      Specified by:
        `fixedSize` in interface `org.mapdb.Serializer<V>`

    - #### serialize

          public void serialize(DataOutput out,
                       V value)
                         throws IOException

      Specified by:
        `serialize` in interface `org.mapdb.Serializer<V>`
      Throws:
        `IOException`

    - #### deserialize

          public V deserialize(DataInput in,
                      int available)
                        throws IOException

      Specified by:
        `deserialize` in interface `org.mapdb.Serializer<V>`
      Throws:
        `IOException`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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