インタフェース Params

既知の実装クラスのリスト:
Params.Empty, Params.IndexedParams, Params.NamedParams

public interface Params
Handles placeholder replacement with given params.
  • ネストされたクラスの概要

    ネストされたクラス
    修飾子とタイプ
    インタフェース
    説明
    static class 
     
    static class 
     
    static class 
     
  • フィールドの概要

    フィールド
    修飾子とタイプ
    フィールド
    説明
    static final Params
     
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    get()
     
    default Object
    get(Token token)
    Returns param value that matches given placeholder with param key.
     
    boolean
     
    static Params
    of(List<?> params)
     
    static Params
    of(Map<String,?> params)
     
  • フィールド詳細

    • EMPTY

      static final Params EMPTY
  • メソッドの詳細

    • isEmpty

      boolean isEmpty()
    • get

      Object get()
    • getByName

      Object getByName(String key)
    • of

      static Params of(Map<String,?> params)
      パラメータ:
      params - query param
    • of

      static Params of(List<?> params)
      パラメータ:
      params - query param
    • get

      default Object get(Token token)
      Returns param value that matches given placeholder with param key.
      パラメータ:
      token - token.key Placeholder key token.value Placeholder value
      戻り値:
      param or token.value when params are missing