Package org.apache.cayenne.access.jdbc
Class RowDescriptor
java.lang.Object
org.apache.cayenne.access.jdbc.RowDescriptor
A descriptor of a result row obtained from a database.
- Since:
- 1.2
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Creates an empty RowDescriptor.RowDescriptor
(ColumnDescriptor[] columns, ExtendedType[] converters) Creates a fully initialized RowDescriptor. -
Method Summary
Modifier and TypeMethodDescriptionReturns column descriptors.Returns extended types for columns.int
getWidth()
Returns a number of columns in a row.
-
Field Details
-
columns
-
converters
-
-
Constructor Details
-
RowDescriptor
protected RowDescriptor()Creates an empty RowDescriptor. Intended mainly for testing and use by subclasses. -
RowDescriptor
Creates a fully initialized RowDescriptor.- Since:
- 3.0
-
-
Method Details
-
getWidth
public int getWidth()Returns a number of columns in a row. -
getColumns
Returns column descriptors. -
getConverters
Returns extended types for columns.
-