Uses of Interface
org.apache.cayenne.exp.path.CayennePath
Packages that use CayennePath
Package
Description
Contains persistence APIs directly accessible by users.
Contains classes that make up Cayenne ORM stack.
Cayenne data expression classes.
Contains expression parser and other expression internals.
Property API
Contains O/R mapping classes that store relational database
metadata information and map it to Java classes.
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of CayennePath in org.apache.cayenne
Methods in org.apache.cayenne with parameters of type CayennePathModifier and TypeMethodDescriptionstatic ObjectCayenne.readNestedProperty(Object o, CayennePath path) Returns a value of the property identified by a property path.Persistent.readNestedProperty(CayennePath path) Returns a value of the property identified by a property path.PersistentObject.readNestedProperty(CayennePath path) -
Uses of CayennePath in org.apache.cayenne.access
Fields in org.apache.cayenne.access with type parameters of type CayennePathModifier and TypeFieldDescriptionprotected Map<Object, Map<CayennePath, ObjectId>> ObjectStore.trackedFlattenedPathsMap that tracks flattened paths for given object Id that is present in db.Methods in org.apache.cayenne.access that return types with arguments of type CayennePathMethods in org.apache.cayenne.access with parameters of type CayennePathModifier and TypeMethodDescriptionObjectStore.getFlattenedId(ObjectId objectId, CayennePath path) voidObjectStore.markFlattenedPath(ObjectId objectId, CayennePath path, ObjectId id) Mark that flattened path for object has data row in DB. -
Uses of CayennePath in org.apache.cayenne.access.flush.operation
Fields in org.apache.cayenne.access.flush.operation with type parameters of type CayennePathMethods in org.apache.cayenne.access.flush.operation that return types with arguments of type CayennePathMethods in org.apache.cayenne.access.flush.operation with parameters of type CayennePath -
Uses of CayennePath in org.apache.cayenne.exp
Methods in org.apache.cayenne.exp with parameters of type CayennePathModifier and TypeMethodDescriptionstatic ExpressionExpressionFactory.dbIdPathExp(CayennePath pathSpec) static ExpressionExpressionFactory.dbPathExp(CayennePath path) static ExpressionExpressionFactory.pathExp(CayennePath path) -
Uses of CayennePath in org.apache.cayenne.exp.parser
Fields in org.apache.cayenne.exp.parser declared as CayennePathMethods in org.apache.cayenne.exp.parser that return CayennePathMethods in org.apache.cayenne.exp.parser with parameters of type CayennePathModifier and TypeMethodDescriptionprotected ObjectASTDbIdPath.evaluateNode(Object o, CayennePath localPath) protected voidASTPath.setPath(CayennePath path) Constructors in org.apache.cayenne.exp.parser with parameters of type CayennePathModifierConstructorDescriptionASTDbIdPath(CayennePath value) ASTDbPath(CayennePath value) ASTObjPath(CayennePath path) -
Uses of CayennePath in org.apache.cayenne.exp.path
Fields in org.apache.cayenne.exp.path declared as CayennePathModifier and TypeFieldDescriptionstatic final CayennePathCayennePath.EMPTY_PATHConstant value for an empty pathMethods in org.apache.cayenne.exp.path that return CayennePathModifier and TypeMethodDescriptiondefault CayennePathCreate new path appending next segment to this.default CayennePathCayennePath.dot(CayennePath next) Create new path appending all segments of the next path to this.default CayennePathCayennePath.dot(CayennePathSegment next) Create new path appending next segment to this.default CayennePathCayennePath.head(int end) Create sub path from this path from the first element and ending at the given index.static CayennePathCreate path from a given Stringstatic CayennePathCreate path from a given String with a marker.static CayennePathCayennePath.of(List<CayennePathSegment> segments) Create path from a given list ofCayennePathSegmentstatic CayennePathCayennePath.of(List<CayennePathSegment> segments, int marker) Create path from a given list ofCayennePathSegmentand a markerstatic CayennePathCayennePath.of(CayennePath path, int marker) Clone given path with a different markerdefault CayennePathCayennePath.parent()Get the parent path, that is a path up to the last segment of this path.default CayennePathCayennePath.tail(int start) Create sub path from this path starting from the given index and to the end.default CayennePathCayennePath.withMarker(int marker) Clone this path with new markerMethods in org.apache.cayenne.exp.path with parameters of type CayennePathModifier and TypeMethodDescriptiondefault CayennePathCayennePath.dot(CayennePath next) Create new path appending all segments of the next path to this.static CayennePathCayennePath.of(CayennePath path, int marker) Clone given path with a different marker -
Uses of CayennePath in org.apache.cayenne.exp.property
Fields in org.apache.cayenne.exp.property declared as CayennePathModifier and TypeFieldDescriptionprotected final CayennePathBaseProperty.pathPath of this propertyMethods in org.apache.cayenne.exp.property that return CayennePathMethods in org.apache.cayenne.exp.property with parameters of type CayennePathModifier and TypeMethodDescriptionstatic <T> BaseProperty<T> PropertyFactory.createBase(CayennePath path, Class<T> type) Create base propertystatic <T> BaseProperty<T> PropertyFactory.createBase(CayennePath path, Expression expression, Class<T> type) Create base propertystatic <T> BaseIdProperty<T> PropertyFactory.createBaseId(String attribute, CayennePath path, String entityName, Class<T> propertyType) Create property that represents base IDstatic <T> DateProperty<T> PropertyFactory.createDate(CayennePath path, Class<T> type) Create date propertystatic <T> DateProperty<T> PropertyFactory.createDate(CayennePath path, Expression expression, Class<T> type) Create date propertystatic <T extends EmbeddableObject>
EmbeddableProperty<T> PropertyFactory.createEmbeddable(CayennePath path, Class<T> embeddableType) Create property that represents embeddablestatic <T extends EmbeddableObject>
EmbeddableProperty<T> PropertyFactory.createEmbeddable(CayennePath path, Expression exp, Class<T> embeddableType) Create property that represents embeddablestatic <T extends Persistent>
EntityProperty<T> PropertyFactory.createEntity(CayennePath path, Class<T> type) Create entity propertystatic <T extends Persistent>
EntityProperty<T> PropertyFactory.createEntity(CayennePath path, Expression expression, Class<T> entityType) Create entity propertystatic <T extends Persistent>
ListProperty<T> PropertyFactory.createList(CayennePath path, Class<T> entityType) Create to-many relationship mapped on list propertystatic <T extends Persistent>
ListProperty<T> PropertyFactory.createList(CayennePath path, Expression expression, Class<T> entityType) Create to-many relationship mapped on list propertystatic <K,V extends Persistent>
MapProperty<K, V> PropertyFactory.createMap(CayennePath path, Class<K> keyType, Class<V> entityType) Create to-many relationship mapped on map propertystatic <K,V extends Persistent>
MapProperty<K, V> PropertyFactory.createMap(CayennePath path, Expression expression, Class<K> keyType, Class<V> entityType) Create to-many relationship mapped on map propertystatic <T extends Number>
NumericProperty<T> PropertyFactory.createNumeric(CayennePath path, Expression expression, Class<T> type) Create numeric propertystatic <T extends Number>
NumericIdProperty<T> PropertyFactory.createNumericId(String attribute, CayennePath path, String entityName, Class<T> propertyType) static <T extends Persistent>
SetProperty<T> PropertyFactory.createSet(CayennePath path, Class<T> entityType) Create to-many relationship mapped on set propertystatic <T extends Persistent>
SetProperty<T> PropertyFactory.createSet(CayennePath path, Expression expression, Class<T> entityType) Create to-many relationship mapped on set propertystatic <T extends CharSequence>
StringProperty<T> PropertyFactory.createString(CayennePath path, Class<T> type) Create string propertystatic <T extends CharSequence>
StringProperty<T> PropertyFactory.createString(CayennePath path, Expression expression, Class<T> type) Create string propertyConstructors in org.apache.cayenne.exp.property with parameters of type CayennePathModifierConstructorDescriptionprotectedBaseIdProperty(String attribute, CayennePath path, String entityName, Class<? super E> type) Constructs a new property with the given name and expressionprotectedBaseProperty(CayennePath path, Expression expression, Class<? super E> type) Constructs a new property with the given name and expressionprotectedCollectionProperty(CayennePath path, Expression expression, Class<? super E> collectionType, Class<V> entityType) Constructs a new property with the given name and expressionprotectedDateProperty(CayennePath path, Expression expression, Class<E> type) Constructs a new property with the given name and expressionprotectedEmbeddableProperty(CayennePath path, Expression exp, Class<? super E> type) Constructs a new property with the given name and typeprotectedEntityProperty(CayennePath path, Expression expression, Class<E> type) Constructs a new property with the given name and expressionprotectedListProperty(CayennePath path, Expression expression, Class<V> entityType) Constructs a new property with the given path and expressionprotectedMapProperty(CayennePath path, Expression expression, Class<K> keyType, Class<V> entityType) Constructs a new property with the given path and expressionprotectedNumericIdProperty(String attribute, CayennePath path, String entityName, Class<E> type) Constructs a new property with the given name and expressionprotectedNumericProperty(CayennePath path, Expression expression, Class<E> type) Constructs a new property with the given name and expressionprotectedSelfProperty(CayennePath path, Expression expression, Class<E> type) Constructs a new property with the given name and expressionprotectedSetProperty(CayennePath path, Expression expression, Class<V> entityType) Constructs a new property with the given path and expressionprotectedStringProperty(CayennePath path, Expression expression, Class<E> type) Constructs a new property with the given name and expression -
Uses of CayennePath in org.apache.cayenne.map
Fields in org.apache.cayenne.map declared as CayennePathFields in org.apache.cayenne.map with type parameters of type CayennePathMethods in org.apache.cayenne.map that return CayennePathModifier and TypeMethodDescriptionObjAttribute.getDbAttributePath()Returns a dot-separated path that starts in the root DbEntity that maps to this attribute's ObjEntity and spans zero or more relationships, always ending in a DbAttribute name.ObjRelationship.getDbRelationshipPath()Returns a dot-separated path over mapped DbRelationships.ObjRelationship.getReverseDbRelationshipPath()Returns a reversed dbRelationship path.Methods in org.apache.cayenne.map that return types with arguments of type CayennePathMethods in org.apache.cayenne.map with parameters of type CayennePathModifier and TypeMethodDescriptionvoidObjEntity.addAttributeOverride(String attributeName, CayennePath dbPath) Entity.resolvePathComponents(CayennePath path) voidObjAttribute.setDbAttributePath(CayennePath dbAttributePath) voidObjRelationship.setDbRelationshipPath(CayennePath relationshipPath) Sets mapped DbRelationships as a dot-separated path.DbEntity.translateToRelatedEntity(Expression expression, CayennePath relationshipPath) Transforms Expression rooted in this entity to an analogous expression rooted in related entity.abstract ExpressionEntity.translateToRelatedEntity(Expression expression, CayennePath relationshipPath) Transforms Expression rooted in this entity to an analogous expression rooted in related entity.ObjEntity.translateToRelatedEntity(Expression expression, CayennePath relationshipPath) Transforms an Expression rooted in this entity to an analogous expression rooted in related entity. -
Uses of CayennePath in org.apache.cayenne.query
Fields in org.apache.cayenne.query declared as CayennePathModifier and TypeFieldDescriptionprotected CayennePathPrefetchSelectQuery.prefetchPathThe relationship path from root objects to the objects being prefetched.Methods in org.apache.cayenne.query that return CayennePathModifier and TypeMethodDescriptionPrefetchTreeNode.getPath()Returns full prefetch path, that is a dot separated String of node names starting from root and up to and including this node.PrefetchTreeNode.getPath(PrefetchTreeNode upTillParent) Returns full prefetch path, that is a dot separated String of node names starting from root and up to and including this node.PrefetchSelectQuery.getPrefetchPath()Returns the prefetchPath.Methods in org.apache.cayenne.query with parameters of type CayennePathModifier and TypeMethodDescriptionPrefetchTreeNode.addPath(CayennePath path) Adds a "path" with specified semantics to this prefetch node.PrefetchTreeNode.getNode(CayennePath path) Looks up an existing node in the tree described by the path.voidPrefetchSelectQuery.removeResultPath(CayennePath path) Removes an extra result path.voidPrefetchSelectQuery.setPrefetchPath(CayennePath prefetchPath) Sets the prefetchPath.static PrefetchTreeNodePrefetchTreeNode.withPath(CayennePath path, int semantics) Creates and returns a prefetch tree spanning a single path.Constructors in org.apache.cayenne.query with parameters of type CayennePathModifierConstructorDescriptionPrefetchSelectQuery(CayennePath prefetchPath, ObjRelationship lastPrefetchHint) Creates a new disjoint prefetch select query. -
Uses of CayennePath in org.apache.cayenne.reflect
Fields in org.apache.cayenne.reflect declared as CayennePathFields in org.apache.cayenne.reflect with type parameters of type CayennePathModifier and TypeFieldDescriptionprotected Map<CayennePath, AdditionalDbEntityDescriptor> PersistentDescriptor.additionalDbEntitiesMethods in org.apache.cayenne.reflect that return CayennePathMethods in org.apache.cayenne.reflect that return types with arguments of type CayennePathModifier and TypeMethodDescriptionClassDescriptor.getAdditionalDbEntities()Returns information about additional db entities that is used for this ObjEntity (i.e.LazyClassDescriptorDecorator.getAdditionalDbEntities()PersistentDescriptor.getAdditionalDbEntities()Methods in org.apache.cayenne.reflect with parameters of type CayennePathModifier and TypeMethodDescriptionstatic AccessorPropertyUtils.accessor(CayennePath nestedPropertyPath) Compiles an accessor that can be used for fast access for the nested property of the objects of a given class.static ObjectPropertyUtils.getProperty(Object object, CayennePath nestedProperty) Returns object property using JavaBean-compatible introspection with one addition - a property can be a dot-separated property name path.