Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.access.jdbc |
Contains classes that handle JDBC interactions.
|
org.apache.cayenne.access.jdbc.reader | |
org.apache.cayenne.access.translator.select | |
org.apache.cayenne.query |
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
|
org.apache.cayenne.velocity |
Modifier and Type | Method and Description |
---|---|
RowReader<?> |
DataNode.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides)
Creates a
RowReader using internal RowReaderFactory . |
Modifier and Type | Field and Description |
---|---|
protected ColumnDescriptor[] |
RowDescriptor.columns |
protected ColumnDescriptor[] |
RowDescriptorBuilder.columns |
protected ColumnDescriptor[] |
SQLStatement.resultColumns |
Modifier and Type | Method and Description |
---|---|
ColumnDescriptor[] |
RowDescriptor.getColumns()
Returns column descriptors.
|
ColumnDescriptor[] |
SQLStatement.getResultColumns() |
protected ColumnDescriptor[] |
RowDescriptorBuilder.mergeResultSetAndPresetColumns() |
Modifier and Type | Method and Description |
---|---|
RowDescriptorBuilder |
RowDescriptorBuilder.setColumns(ColumnDescriptor[] columns)
Sets an explicit set of columns.
|
void |
SQLStatement.setResultColumns(ColumnDescriptor[] descriptors) |
Constructor and Description |
---|
RowDescriptor(ColumnDescriptor[] columns,
ExtendedType[] converters)
Creates a fully initialized RowDescriptor.
|
SQLStatement(String sql,
ColumnDescriptor[] resultColumns,
ParameterBinding[] bindings) |
Modifier and Type | Method and Description |
---|---|
RowReader<?> |
RowReaderFactory.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
DbAdapter adapter,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides) |
RowReader<?> |
DefaultRowReaderFactory.rowReader(RowDescriptor descriptor,
QueryMetadata queryMetadata,
DbAdapter adapter,
Map<ObjAttribute,ColumnDescriptor> attributeOverrides) |
Modifier and Type | Method and Description |
---|---|
ColumnDescriptor[] |
DefaultSelectTranslator.getResultColumns()
Returns a list of ColumnDescriptors for the query columns.
|
ColumnDescriptor[] |
SelectTranslator.getResultColumns() |
Modifier and Type | Method and Description |
---|---|
protected List<ColumnDescriptor> |
DefaultSelectTranslator.buildResultColumns() |
Map<ObjAttribute,ColumnDescriptor> |
DefaultSelectTranslator.getAttributeOverrides()
Returns a map of ColumnDescriptors keyed by ObjAttribute for columns that
may need to be reprocessed manually due to incompatible mappings along
the inheritance hierarchy.
|
Map<ObjAttribute,ColumnDescriptor> |
SelectTranslator.getAttributeOverrides() |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultSelectTranslator.appendGroupByColumn(StringBuilder buffer,
Map.Entry<ColumnDescriptor,List<DbAttributeBinding>> entry)
Append single column to GROUP BY clause
|
protected void |
DefaultSelectTranslator.appendGroupByColumns(StringBuilder buffer,
Map<ColumnDescriptor,List<DbAttributeBinding>> groupByColumns)
Append columns to GROUP BY clause
|
Modifier and Type | Field and Description |
---|---|
protected ColumnDescriptor[] |
ProcedureCall.resultDescriptor |
Modifier and Type | Method and Description |
---|---|
void |
ProcedureQuery.addResultDescriptor(ColumnDescriptor[] descriptor)
Adds a descriptor for a single ResultSet.
|
void |
ProcedureQuery.removeResultDescriptor(ColumnDescriptor[] descriptor)
Removes result descriptor from the list of descriptors.
|
ProcedureCall<T> |
ProcedureCall.resultDescriptor(ColumnDescriptor[] resultDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected void |
ResultDirective.bindResult(org.apache.velocity.context.InternalContextAdapter context,
ColumnDescriptor columnDescriptor)
Adds value to the list of result columns in the context.
|
Copyright © 2001–2019 Apache Cayenne. All rights reserved.