Class KeyValueStage<T>
- java.lang.Object
-
- cern.nxcals.api.extraction.data.builders.fluent.Stage<KeyValueStageLoop<T>,T>
-
- cern.nxcals.api.extraction.data.builders.fluent.v2.KeyValueStage<T>
-
- All Implemented Interfaces:
IdStage<KeyValueStageLoop<T>>
- Direct Known Subclasses:
KeyValueStageLoop
public class KeyValueStage<T> extends Stage<KeyValueStageLoop<T>,T> implements IdStage<KeyValueStageLoop<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 setKeyValueStageLoop<T>
keyValuesEq(@NonNull java.util.Map<java.lang.String,java.lang.Object> keyValues)
Search for entity, which contains given key-valuesKeyValueStageLoop<T>
keyValuesIn(@NonNull java.util.List<java.util.Map<java.lang.String,java.lang.Object>> keyValues)
Search for entities, which contains given key-valuesKeyValueStageLoop<T>
keyValuesIn(java.util.Map<java.lang.String,java.lang.Object>... keyValues)
Search for entities, which contains given key-valuesKeyValueStageLoop<T>
keyValuesLike(@NonNull java.util.Map<java.lang.String,java.lang.Object> keyValues)
Search for entity, which contains key-values, which match given patterns.
-
-
-
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
-
-