org.hibernate.search.bridge.builtin

## Class IntegerBridge

- java.lang.Object
- - org.hibernate.search.bridge.builtin.NumberBridge
  - - org.hibernate.search.bridge.builtin.IntegerBridge

- All Implemented Interfaces:
    IgnoreAnalyzerBridge, StringBridge, TwoWayStringBridge

      public class IntegerBridge
      extends NumberBridge

  Bridge an `Integer` to a `String`.
  Author:
    Emmanuel Bernard
  See Also:
    `NumericFieldBridge.INT_FIELD_BRIDGE`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IntegerBridge()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `stringToObject(String stringValue)` Convert the index string representation to an object.

    - ### Methods inherited from class org.hibernate.search.bridge.builtin.NumberBridge

      `objectToString`

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

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

- - ### Constructor Detail

    - #### IntegerBridge

          public IntegerBridge()

  - ### Method Detail

    - #### stringToObject

          public Object stringToObject(String stringValue)

      Description copied from interface: `TwoWayStringBridge`
      Convert the index string representation to an object.
      Parameters:
        `stringValue` - The index value.
      Returns:
        Takes the string representation from the Lucene index and transforms it back into the original `Object`.

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved