クラス DotPath

java.lang.ObjectSE
org.springframework.data.mongodb.util.DotPath

public class DotPath extends ObjectSE
ドットパスを表す値オブジェクト。
導入:
3.2
作成者:
Mark Paluch
  • 方法の詳細

    • from

      public static DotPath from(@Nullable StringSE dotPath)
      dotPath から新しい DotPath を作成します。
      パラメーター:
      dotPath - ドットパスは空または null にすることができます。
      戻り値:
      DotPath は dotPath を表します。
    • empty

      public static DotPath empty()
      空のドットパスを返します。
      戻り値:
      空のドットパス。
    • append

      public DotPath append(StringSE segment)
      セグメントをドットパスに追加します。ドットパスが空でない場合、セグメントはドットで区切られます。
      パラメーター:
      segment - 追加するセグメント。
      戻り値:
    • isEmpty

      public boolean isEmpty()
      このドットパスが空かどうかを返します。
      戻り値:
      このドットパスが空かどうか。
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString