Package org.apache.torque.om.mapper

# Klasse StringMapper

java.lang.Object
org.apache.torque.om.mapper.StringMapper

Alle implementierten Schnittstellen:
  `Serializable`, `RecordMapper<String>`

public class StringMapper extends Object implements RecordMapper<String>
Maps a database record to a String.

Version:
  $Id: StringMapper.java 1839288 2018-08-27 09:48:33Z tv $
Siehe auch:
  - Serialisierte Form

- ## Konstruktorübersicht

  Konstruktoren
  Konstruktor
  Beschreibung
  `StringMapper()`
  Constructs a StringMapper with an offset of 0.
  `StringMapper(int offset)`
  Constructs a StringMapper with the given offset.

- ## Methodenübersicht

  Modifizierer und Typ
  Methode
  Beschreibung
  `String`
  `processRow(ResultSet resultSet, int rowOffset, Criteria criteria)`
  Maps the current row in the result set to a String.

  ### Von Klasse geerbte Methoden java.lang.Object

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

- ## Konstruktordetails

  - ### StringMapper

    public StringMapper()
    Constructs a StringMapper with an offset of 0.

  - ### StringMapper

    public StringMapper(int offset)
    Constructs a StringMapper with the given offset.
    Parameter:
      `offset` - the additional offset (0 based).

- ## Methodendetails

  - ### processRow

    public String processRow(ResultSet resultSet, int rowOffset, Criteria criteria) throws TorqueException
    Maps the current row in the result set to a String.
    Angegeben von:
      `processRow` in Schnittstelle `RecordMapper<String>`
    Parameter:
      `resultSet` - the result set to map, not null.
      `rowOffset` - a possible offset in the columns to be considered (if previous columns contain other objects), or 0 for no offset.
      `criteria` - The criteria which created the result set, or null if not known. This parameter is not used by this record mapper.
    Gibt zurück:
      the String retrieved from the result set.
    Löst aus:
      `TorqueException` - when the mapping fails.