org.hibernate.search.bridge.builtin.impl

## Class BuiltinArrayBridge

- java.lang.Object
- - org.hibernate.search.bridge.builtin.ArrayBridge
  - - org.hibernate.search.bridge.builtin.impl.BuiltinArrayBridge

- All Implemented Interfaces:
    ContainerBridge, FieldBridge, StringBridge

      public class BuiltinArrayBridge
      extends ArrayBridge
      implements StringBridge

  An implementation of `ArrayBridge` that can be used with Hibernate Search query DSL.
  Author:
    Davide D'Alto

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BuiltinArrayBridge()`
    `BuiltinArrayBridge(FieldBridge fieldBridge)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `objectToString(Object object)` Converts the object representation to a string.
    `String` | `toString()`

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

      `getElementBridge, set`

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

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

- - ### Constructor Detail

    - #### BuiltinArrayBridge

          public BuiltinArrayBridge()

    - #### BuiltinArrayBridge

          public BuiltinArrayBridge(FieldBridge fieldBridge)

  - ### Method Detail

    - #### objectToString

          public String objectToString(Object object)

      Description copied from interface: `StringBridge`
      Converts the object representation to a string.
      Specified by:
        `objectToString` in interface `StringBridge`
      Parameters:
        `object` - The object to transform into a string representation.
      Returns:
        String representation of the given object to be stored in Lucene index. The return string must not be `null`. It can be empty though.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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