类 AbstractPathImpl<X>

    • 构造器详细资料

      • AbstractPathImpl

        public AbstractPathImpl​(CriteriaBuilderImpl criteriaBuilder,
                                Class<X> javaType,
                                PathSource pathSource)
        Constructs a basic path instance.
        参数:
        criteriaBuilder - The criteria builder
        javaType - The java type of this path
        pathSource - The source (or origin) from which this path originates
    • 方法详细资料

      • getPathSource

        public PathSource getPathSource()
      • getParentPath

        public PathSource<?> getParentPath()
        指定者:
        getParentPath 在接口中 javax.persistence.criteria.Path<X>
      • type

        public javax.persistence.criteria.Expression<Class<? extends X>> type()
        指定者:
        type 在接口中 javax.persistence.criteria.Path<X>
      • getPathIdentifier

        public String getPathIdentifier()
        从接口复制的说明: PathSource
        Get the string representation of this path as a navigation from one of the queries identification variables
        指定者:
        getPathIdentifier 在接口中 PathSource<X>
        返回:
        The path's identifier.
      • canBeDereferenced

        protected abstract boolean canBeDereferenced()
      • resolveCachedAttributePath

        protected final javax.persistence.criteria.Path resolveCachedAttributePath​(String attributeName)
      • registerAttributePath

        protected final void registerAttributePath​(String attributeName,
                                                   javax.persistence.criteria.Path path)
      • get

        public <Y> javax.persistence.criteria.Path<Y> get​(javax.persistence.metamodel.SingularAttribute<? super X,​Y> attribute)
        指定者:
        get 在接口中 javax.persistence.criteria.Path<X>
      • getPathSourceForSubPaths

        protected PathSource getPathSourceForSubPaths()
      • get

        public <E,​C extends Collection<E>> javax.persistence.criteria.Expression<C> get​(javax.persistence.metamodel.PluralAttribute<X,​C,​E> attribute)
        指定者:
        get 在接口中 javax.persistence.criteria.Path<X>
      • get

        public <K,​V,​M extends Map<K,​V>> javax.persistence.criteria.Expression<M> get​(javax.persistence.metamodel.MapAttribute<X,​K,​V> attribute)
        指定者:
        get 在接口中 javax.persistence.criteria.Path<X>
      • get

        public <Y> javax.persistence.criteria.Path<Y> get​(String attributeName)
        指定者:
        get 在接口中 javax.persistence.criteria.Path<X>
      • locateAttribute

        protected final javax.persistence.metamodel.Attribute locateAttribute​(String attributeName)
        Get the attribute by name from the underlying model. This allows subclasses to define exactly how the attribute is derived.
        参数:
        attributeName - The name of the attribute to locate
        返回:
        The attribute; should never return null.
        抛出:
        IllegalArgumentException - If no such attribute exists
      • locateAttributeInternal

        protected abstract javax.persistence.metamodel.Attribute locateAttributeInternal​(String attributeName)
        Get the attribute by name from the underlying model. This allows subclasses to define exactly how the attribute is derived. Called from locateAttribute(java.lang.String) which also applies nullness checking for proper error reporting.
        参数:
        attributeName - The name of the attribute to locate
        返回:
        The attribute; may be null.
        抛出:
        IllegalArgumentException - If no such attribute exists