Package com.dnanexus
Class DXSearch.PropertiesQuery
- java.lang.Object
-
- com.dnanexus.DXSearch.PropertiesQuery
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DXSearch.PropertiesQueryallOf(DXSearch.PropertiesQuery... propertiesQueries)A query that must match all of the specified property queries recursively.static DXSearch.PropertiesQueryallOf(List<DXSearch.PropertiesQuery> propertiesQueries)A query that must match all of the property queries in the provided list.static DXSearch.PropertiesQueryanyOf(DXSearch.PropertiesQuery... propertiesQueries)A query that matches any of the specified property queries recursively.static DXSearch.PropertiesQueryanyOf(List<DXSearch.PropertiesQuery> propertiesQueries)A query that matches any of the property queries in the provided list.static DXSearch.PropertiesQuerywithKey(String propertyKey)A query that the specified property key is present.static DXSearch.PropertiesQuerywithKeyAndBoolean(String propertyKey, Boolean propertyExists)A query that the specified property key is present of not on the data objectstatic DXSearch.PropertiesQuerywithKeyAndMapValue(String propertyKey, Map<String,String> mapValue)A query that the specified property is defined by the mappingstatic DXSearch.PropertiesQuerywithKeyAndValue(String propertyKey, String propertyValue)A query that the specified property key has the specified property value.
-
-
-
Method Detail
-
allOf
public static DXSearch.PropertiesQuery allOf(List<DXSearch.PropertiesQuery> propertiesQueries)
A query that must match all of the property queries in the provided list.- Parameters:
propertiesQueries- list of queries, all of which must be matched- Returns:
- query
-
allOf
public static DXSearch.PropertiesQuery allOf(DXSearch.PropertiesQuery... propertiesQueries)
A query that must match all of the specified property queries recursively.- Parameters:
propertiesQueries- queries, all of which must be matched- Returns:
- query
-
anyOf
public static DXSearch.PropertiesQuery anyOf(List<DXSearch.PropertiesQuery> propertiesQueries)
A query that matches any of the property queries in the provided list.- Parameters:
propertiesQueries- list of queries, at least one of which must be matched- Returns:
- query
-
anyOf
public static DXSearch.PropertiesQuery anyOf(DXSearch.PropertiesQuery... propertiesQueries)
A query that matches any of the specified property queries recursively.- Parameters:
propertiesQueries- queries, at least one of which must be matched- Returns:
- query
-
withKey
public static DXSearch.PropertiesQuery withKey(String propertyKey)
A query that the specified property key is present.- Parameters:
propertyKey- property key that must be present- Returns:
- query
-
withKeyAndValue
public static DXSearch.PropertiesQuery withKeyAndValue(String propertyKey, String propertyValue)
A query that the specified property key has the specified property value.- Parameters:
propertyKey- property keypropertyValue- property value- Returns:
- query
-
withKeyAndBoolean
public static DXSearch.PropertiesQuery withKeyAndBoolean(String propertyKey, Boolean propertyExists)
A query that the specified property key is present of not on the data object- Parameters:
propertyKey- property keypropertyExists- boolean value - true if the property is present on a data object, false, if it is not- Returns:
- query
-
withKeyAndMapValue
public static DXSearch.PropertiesQuery withKeyAndMapValue(String propertyKey, Map<String,String> mapValue)
A query that the specified property is defined by the mapping- Parameters:
propertyKey- property keymapValue- a hash map with the key defining the relation (e.g. $ne indication "not equal") and the value being a string value of the property- Returns:
- query
-
-