Deli putem


EqualToFilterClause Class

  • java.lang.Object
    • com.microsoft.semantickernel.data.filter.EqualToFilterClause

Implements

public class EqualToFilterClause
implements FilterClause

A filter clause that filters on a field equal to a value.

Constructor Summary

Constructor Description
EqualToFilterClause(String fieldName, Object value)

Initializes a new instance of the EqualToFilterClause class.

Method Summary

Modifier and Type Method and Description
java.lang.String getFieldName()

Gets the field name to filter on.

java.lang.Object getValue()

Gets the value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EqualToFilterClause

public EqualToFilterClause(String fieldName, Object value)

Initializes a new instance of the EqualToFilterClause class.

Parameters:

fieldName - The field name to filter on.
value - The value to filter on.

Method Details

getFieldName

public String getFieldName()

Gets the field name to filter on.

Returns:

The field name to filter on.

getValue

public Object getValue()

Gets the value.

Returns:

The value.

Applies to