Package net.aifusion.metamodel
Class FqlFilter
java.lang.Object
net.aifusion.metamodel.FqlFilter
- All Implemented Interfaces:
CimFilter
Create a CimFilter based on DMTF FQL specification. See DSP0212
- Author:
- Sharad Singhal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the query string defined in the filterbooleansatisfies(StructureValue value, Repository repository) Check if the filter is satisfied by the given structure valuevoidsetVariable(String variableName, DataValue value) Set a delayed constant value in this filtertoString()toTree()Get the tree representation of this filter
-
Constructor Details
-
FqlFilter
Create a CimFilter based on an extension of the DMTF FQL (DSP0212)- Parameters:
filterQuery- - String containing filter query
-
FqlFilter
public FqlFilter()Create a null CimFilter-- selects all elements of the given type- Parameters:
objectPath- path to the structure to be searched
-
-
Method Details
-
satisfies
Description copied from interface:CimFilterCheck if the filter is satisfied by the given structure value -
setVariable
Description copied from interface:CimFilterSet a delayed constant value in this filter- Specified by:
setVariablein interfaceCimFilter- Parameters:
variableName- - name of the variable (must be in form '$' name '$')value- - data value to set for this variable
-
toTree
Get the tree representation of this filter- Returns:
- - tree representation of this filter
-
toString
-
getFilterQuery
Description copied from interface:CimFilterGet the query string defined in the filter- Specified by:
getFilterQueryin interfaceCimFilter- Returns:
- - filter query string
-