Class KeyValueStage<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      KeyValueStageLoop<T> idIn​(@NonNull java.util.Set<java.lang.Long> ids)
      Search for entities with ids in set
      KeyValueStageLoop<T> keyValuesEq​(@NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
      Search for entity, which contains given key-values
      KeyValueStageLoop<T> keyValuesIn​(@NonNull java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> keyValues)
      Search for entities, which contains given key-values
      KeyValueStageLoop<T> keyValuesIn​(java.util.Map<java.lang.String,​java.lang.Object>... keyValues)
      Search for entities, which contains given key-values
      KeyValueStageLoop<T> keyValuesLike​(@NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
      Search for entity, which contains key-values, which match given patterns.
      • Methods inherited from class cern.nxcals.api.extraction.data.builders.fluent.Stage

        data, next
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface cern.nxcals.api.extraction.data.builders.fluent.v2.IdStage

        idEq, idIn
    • Method Detail

      • keyValuesEq

        public KeyValueStageLoop<T> keyValuesEq​(@NonNull
                                                @NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
        Search for entity, which contains given key-values
        Parameters:
        keyValues - key and values which entity must contain
        Returns:
        entity query stage
      • keyValuesIn

        public KeyValueStageLoop<T> keyValuesIn​(@NonNull
                                                @NonNull java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> keyValues)
        Search for entities, which contains given key-values
        Parameters:
        keyValues - list with keys and values which entity must contain
        Returns:
        entity query stage
      • keyValuesIn

        @SafeVarargs
        public final KeyValueStageLoop<T> keyValuesIn​(java.util.Map<java.lang.String,​java.lang.Object>... keyValues)
        Search for entities, which contains given key-values
        Parameters:
        keyValues - key and values which entity must contain
        Returns:
        entity query stage
      • keyValuesLike

        public KeyValueStageLoop<T> keyValuesLike​(@NonNull
                                                  @NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
        Search for entity, which contains key-values, which match given patterns. Pattern should be in Oracle SQL form (% and _ as wildcards).
        Parameters:
        keyValues - key and values patterns, which entity must contain
        Returns:
        entity query stage
      • idIn

        public KeyValueStageLoop<T> idIn​(@NonNull
                                         @NonNull java.util.Set<java.lang.Long> ids)
        Search for entities with ids in set
        Specified by:
        idIn in interface IdStage<T>
        Parameters:
        ids - set with entity ids
        Returns:
        entity query stage