Class RowDescriptor

java.lang.Object
org.apache.cayenne.access.jdbc.RowDescriptor

public class RowDescriptor extends Object
A descriptor of a result row obtained from a database.
Since:
1.2
  • Field Details

  • Constructor Details

    • RowDescriptor

      protected RowDescriptor()
      Creates an empty RowDescriptor. Intended mainly for testing and use by subclasses.
    • RowDescriptor

      public RowDescriptor(ColumnDescriptor[] columns, ExtendedType[] converters)
      Creates a fully initialized RowDescriptor.
      Since:
      3.0
  • Method Details

    • getWidth

      public int getWidth()
      Returns a number of columns in a row.
    • getColumns

      public ColumnDescriptor[] getColumns()
      Returns column descriptors.
    • getConverters

      public ExtendedType[] getConverters()
      Returns extended types for columns.