public class PartTree extends ObjectSE implements Streamable<PartTree.OrPart>
String
SE をツリーまたは単純な Part
インスタンスで構成される PartTree.OrPart
に順番に解析するクラス。ドメインクラスも取得して、各 Part
がドメインクラスのプロパティを参照していることを検証します。PartTree
を使用すると、クエリ実行ごとにメソッド名を解析する代わりに、API に基づいてクエリを作成できます。修飾子と型 | クラスと説明 |
---|---|
static class | PartTree.OrPart Or キーワードを中心にリソースを分割した結果として生じる解析済みソースの一部。 |
修飾子と型 | メソッドと説明 |
---|---|
IntegerSE | getMaxResults() 返す最大結果の数を返すか、制限されていない場合は null を返します。 |
Streamable<Part> | getParts() PartTree に含まれるすべてのパーツの Iterable SE を返します。 |
Streamable<Part> | getParts(Part.Type type) |
Sort | getSort() ソースから解析された Sort 仕様を返します。 |
boolean | hasPredicate() |
boolean | isCountProjection() カウント射影を適用するかどうかを返します。 |
boolean | isDelete() 作成された PartTree が削除操作に使用されることを意図している場合は true を返します。 |
boolean | isDistinct() エンティティの個別のルックアップを示すかどうかを返します。 |
boolean | isExistsProjection() 存在する射影を適用するかどうかを返します。 |
boolean | isLimiting() create PartTree が、最大結果が制限されたクエリに使用されることを意図している場合は、true を返します。 |
IteratorSE<PartTree.OrPart> | iterator() |
StringSE | toString() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
and, and, and, and, empty, filter, flatMap, get, isEmpty, map, of, of, of, stream, toList, toSet, toStreamable, toStreamable
forEachSE, spliteratorSE
public IteratorSE<PartTree.OrPart> iterator()
IterableSE<PartTree.OrPart>
の iteratorSE
public boolean isDistinct()
public boolean isCountProjection()
public boolean isExistsProjection()
public boolean isDelete()
PartTree
が削除操作に使用されることを意図している場合は true を返します。public boolean isLimiting()
PartTree
が、最大結果が制限されたクエリに使用されることを意図している場合は、true を返します。@Nullable public IntegerSE getMaxResults()
public Streamable<Part> getParts()
PartTree
に含まれるすべてのパーツの Iterable
SE を返します。Part
public Streamable<Part> getParts(Part.Type type)
type
-public boolean hasPredicate()
public StringSE toString()
ObjectSE
の toStringSE
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.