Class KeyValueStage<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      KeyValueStageLoop<T> keyValue​(@NonNull java.lang.String key, @NonNull java.lang.Object value)
      Add key and value to entity query.
      KeyValueStageLoop<T> keyValueLike​(@NonNull java.lang.String key, @NonNull java.lang.Object value)
      Add key and value pattern to entity query.
      KeyValueStageLoop<T> keyValues​(@NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
      Add keys and values to entity query.
      KeyValueStageLoop<T> keyValuesLike​(@NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
      Add key and value patterns to entity query.
      • 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
    • Method Detail

      • keyValue

        public KeyValueStageLoop<T> keyValue​(@NonNull
                                             @NonNull java.lang.String key,
                                             @NonNull
                                             @NonNull java.lang.Object value)
        Add key and value to entity query.
        Parameters:
        key - key which entity must contain
        value - value, which entity must contain under given key
        Returns:
        builder with opened query for given entity
      • keyValueLike

        public KeyValueStageLoop<T> keyValueLike​(@NonNull
                                                 @NonNull java.lang.String key,
                                                 @NonNull
                                                 @NonNull java.lang.Object value)
        Add key and value pattern to entity query. Patterns should be in Oracle SQL form (% and _ as wildcards).
        Parameters:
        key - key pattern
        value - value pattern
        Returns:
        builder with opened query for given entity
      • keyValues

        public KeyValueStageLoop<T> keyValues​(@NonNull
                                              @NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
        Add keys and values to entity query.
        Parameters:
        keyValues - map with keys and values which certain entity must contain
        Returns:
        builder with opened query for given entity
      • keyValuesLike

        public KeyValueStageLoop<T> keyValuesLike​(@NonNull
                                                  @NonNull java.util.Map<java.lang.String,​java.lang.Object> keyValues)
        Add key and value patterns to entity query. Patterns should be in Oracle SQL form (% and _ as wildcards).
        Parameters:
        keyValues - map with keys and values patterns which certain entity must contain
        Returns:
        builder with opened query for given entity