# Class DefaultRowReaderFactory

java.lang.Object
org.apache.cayenne.access.jdbc.reader.DefaultRowReaderFactory

All Implemented Interfaces:
  `RowReaderFactory`

public class DefaultRowReaderFactory extends Object implements RowReaderFactory

Since:
  4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultRowReaderFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected RowReader<?>`
  `entitySegmentReader(RSColumn[] columns, QueryMetadata metadata, EntityResultSegment segment)`
  `protected RowReader<?>`
  `noSegmentReader(RSColumn[] columns, QueryMetadata metadata)`
  `RowReader<?>`
  `rowReader(RSColumn[] columns, QueryMetadata metadata, DbAdapter adapter)`
  `protected RowReader<?>`
  `scalarSegmentReader(RSColumn[] columns, QueryMetadata metadata, ScalarResultSegment segment)`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### DefaultRowReaderFactory

    public DefaultRowReaderFactory()

- ## Method Details

  - ### rowReader

    public RowReader<?> rowReader(RSColumn[] columns, QueryMetadata metadata, DbAdapter adapter)
    Specified by:
      `rowReader` in interface `RowReaderFactory`

  - ### scalarSegmentReader

    protected RowReader<?> scalarSegmentReader(RSColumn[] columns, QueryMetadata metadata, ScalarResultSegment segment)

  - ### entitySegmentReader

    protected RowReader<?> entitySegmentReader(RSColumn[] columns, QueryMetadata metadata, EntityResultSegment segment)

  - ### noSegmentReader

    protected RowReader<?> noSegmentReader(RSColumn[] columns, QueryMetadata metadata)