Uses of Class
org.apache.cayenne.DataRow

Packages that use DataRow
org.apache.cayenne Contains persistence APIs directly accessible by users. 
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.map Contains O/R mapping classes that store relational database metadata information and map it to Java classes. 
org.apache.cayenne.query Defines standard queries supported by Cayenne and extension mechanism to create custom queries. 
 

Uses of DataRow in org.apache.cayenne
 

Methods in org.apache.cayenne that return DataRow
 DataRow DataRow.applyDiff(DataRow diff)
          Builds a new DataRow, merging changes from diff parameter with data contained in this DataRow.
 DataRow DataRow.createDiff(DataRow row)
          Creates a DataRow that contains only the keys that have values that differ between this object and row parameter.
 

Methods in org.apache.cayenne with parameters of type DataRow
 DataRow DataRow.applyDiff(DataRow diff)
          Builds a new DataRow, merging changes from diff parameter with data contained in this DataRow.
 DataRow DataRow.createDiff(DataRow row)
          Creates a DataRow that contains only the keys that have values that differ between this object and row parameter.
 

Uses of DataRow in org.apache.cayenne.access
 

Fields in org.apache.cayenne.access with type parameters of type DataRow
protected  ConcurrentMap<ObjectId,DataRow> DataRowStore.snapshots
           
 

Methods in org.apache.cayenne.access that return DataRow
 DataRow DataContext.currentSnapshot(Persistent object)
          Returns a DataRow reflecting current, possibly uncommitted, object state.
 DataRow DataRowStore.getCachedSnapshot(ObjectId oid)
          Returns cached snapshot or null if no snapshot is currently cached for the given ObjectId.
 DataRow ObjectStore.getCachedSnapshot(ObjectId oid)
          Returns a snapshot for ObjectId from the underlying snapshot cache.
 DataRow ObjectStore.getSnapshot(ObjectId oid)
          Returns a snapshot for ObjectId from the underlying snapshot cache.
 

Methods in org.apache.cayenne.access with parameters of type DataRow
<T extends Persistent>
T
DataContext.objectFromDataRow(Class<T> objectClass, DataRow dataRow)
          Creates a DataObject from DataRow.
 DataObject DataContext.objectFromDataRow(String entityName, DataRow dataRow)
          Creates a DataObject from DataRow.
 boolean DataContextDelegate.shouldMergeChanges(DataObject object, DataRow snapshotInStore)
          Invoked by parent DataContext whenever an object change is detected.
 

Method parameters in org.apache.cayenne.access with type arguments of type DataRow
 List DataContext.objectsFromDataRows(ClassDescriptor descriptor, List<? extends DataRow> dataRows)
          Converts a list of DataRows to a List of DataObject registered with this DataContext.
 

Uses of DataRow in org.apache.cayenne.access.jdbc
 

Fields in org.apache.cayenne.access.jdbc declared as DataRow
protected  DataRow DistinctResultIterator.nextDataRow
           
 

Uses of DataRow in org.apache.cayenne.map
 

Methods in org.apache.cayenne.map with parameters of type DataRow
 ObjEntity EntityInheritanceTree.entityMatchingRow(DataRow row)
          Returns the deepest possible entity in the inheritance hierarchy that can be used to create objects from a given DataRow.
 

Uses of DataRow in org.apache.cayenne.query
 

Methods in org.apache.cayenne.query that return types with arguments of type DataRow
static SelectQuery<DataRow> SelectQuery.dataRowQuery(Class<?> rootClass)
           
static SelectQuery<DataRow> SelectQuery.dataRowQuery(Class<?> rootClass, Expression qualifier)
          Creates a SelectQuery that selects DataRows that correspond to a given persistent class that match supplied qualifier.
static SelectQuery<DataRow> SelectQuery.dataRowQuery(Class<?> rootClass, Expression qualifier, List<Ordering> orderings)
           
static SQLSelect<DataRow> SQLSelect.dataRowQuery(String sql)
          Creates a query that selects DataRows and uses default routing.
static SQLSelect<DataRow> SQLSelect.dataRowQuery(String dataMapName, String sql)
          Creates a query that selects DataRows and uses routing based on the provided DataMap name.
 



Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.