クラス EntityProjection.PropertyProjection<M, D>
java.lang.ObjectSE
org.springframework.data.projection.EntityProjection<M,D>
org.springframework.data.projection.EntityProjection.PropertyProjection<M,D>
- 型パラメーター:
M
- ドメイン型のビューとして機能するマップされた型。D
- ドメイン型。
- 実装されたすべてのインターフェース:
IterableSE<EntityProjection.PropertyProjection<?,
、?>> SupplierSE<StreamSE<EntityProjection.PropertyProjection<?,
、?>>> Streamable<EntityProjection.PropertyProjection<?,
?>>
- 既知の直属サブクラス
EntityProjection.ContainerPropertyProjection
- 含まれているクラス:
- EntityProjection<M,
D>
潜在的な射影に沿ったプロパティレベルの型の記述子。
ネストされたクラスのサマリー
クラス org.springframework.data.projection.EntityProjection から継承されたネストクラス / インターフェース
EntityProjection.ContainerPropertyProjection<M,
D>, EntityProjection.ProjectionType, EntityProjection.PropertyProjection<M, D> メソッドのサマリー
修飾子と型メソッド説明static <M,
D> EntityProjection.PropertyProjection<M, D> nonProjecting
(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType) マップされた型の非投影バリアントを作成します。static <M,
D> EntityProjection.PropertyProjection<M, D> projecting
(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, ListSE<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) マップされた型の投影バリアントを作成します。toString()
クラス org.springframework.data.projection.EntityProjection から継承されたメソッド
findProperty, forEachRecursive, getActualDomainType, getActualMappedType, getDomainType, getMappedType, isClosedProjection, isProjection, iterator, nonProjecting, nonProjecting, projecting
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
インターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, spliterator
メソッドの詳細
projecting
public static <M,D> EntityProjection.PropertyProjection<M,D> projecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType, ListSE<EntityProjection.PropertyProjection<?, ?>> properties, EntityProjection.ProjectionType projectionType) マップされた型の投影バリアントを作成します。- パラメーター:
propertyPath
- 実際のプロパティへのpath
。mappedType
- ターゲットの射影型。null であってはなりません。domainType
- ソースドメイン型。null であってはなりません。properties
- 含めるプロパティ。projectionType
- null であってはなりません。- 戻り値:
EntityProjection.PropertyProjection
の新しいインスタンス。
nonProjecting
public static <M,D> EntityProjection.PropertyProjection<M,D> nonProjecting(PropertyPath propertyPath, TypeInformation<M> mappedType, TypeInformation<D> domainType) マップされた型の非投影バリアントを作成します。- パラメーター:
propertyPath
- 実際のプロパティへのpath
。mappedType
- ターゲットの射影型。null であってはなりません。domainType
- ソースドメイン型。null であってはなりません。- 戻り値:
getPropertyPath
- 戻り値:
- ルートドメイン型内のこのプロパティを表すプロパティパス。
toString
- オーバーライド:
- クラス
EntityProjection<M,
のD> toString