Class KeyValueStage<T>
- java.lang.Object
-
- cern.nxcals.api.extraction.data.builders.fluent.KeyValueStage<T>
-
- Direct Known Subclasses:
KeyValueStageLoop
public class KeyValueStage<T> extends java.lang.Object
-
-
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.
-
-
-
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 containvalue
- 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 patternvalue
- 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
-
-