インターフェース Selection<X>

型パラメーター:
X - 選択アイテムの型
すべてのスーパーインターフェース:
TupleElement<X>
すべての既知のサブインターフェース:
CollectionJoin<Z,E>CompoundSelection<X>CriteriaBuilder.Case<R>CriteriaBuilder.Coalesce<T>CriteriaBuilder.In<T>CriteriaBuilder.SimpleCase<C,R>Expression<T>From<Z,X>Join<Z,X>ListJoin<Z,E>MapJoin<Z,K,V>ParameterExpression<T>Path<X>PluralJoin<Z,C,E>PredicateRoot<X>SetJoin<Z,E>Subquery<T>

public interface Selection<X> extends TupleElement<X>
Selection インターフェースは、クエリ結果で返されるアイテムを定義します。
導入:
2.0
  • メソッドの詳細

    • alias

      Selection<X> alias(StringSE name)
      選択項目にエイリアスを割り当てます。割り当てられたエイリアスは変更または再割り当てできません。同じ選択項目を返します。
      パラメーター:
      name - エイリアス
      戻り値:
      選択アイテム
    • isCompoundSelection

      boolean isCompoundSelection()
      選択項目が複合選択かどうか。
      戻り値:
      選択が複合選択であるかどうかを示すブール値
    • getCompoundSelectionItems

      ListSE<Selection<?>> getCompoundSelectionItems()
      複合選択を構成する選択項目を返します。リストを変更してもクエリには影響しません。
      戻り値:
      選択項目一覧
      例外:
      IllegalStateExceptionSE - 選択が複合選択でない場合