import { Entity, ODataVersionOf } from '../entity'; import { FieldType } from '../selectable'; import { EdmTypeShared } from '../edm-types'; import { Filter } from './filter'; import { FilterFunction, FilterFunctionParameterType } from './filter-function-base'; /** * Representation of a filter function, that returns a value of an orderable type. This supports int, double and decimal values. */ export declare abstract class OrderableFilterFunction extends FilterFunction { /** * Creates an instance of OrderableFilterFunction. * @param functionName - Name of the function that returns a numeric value * @param parameters - Representation of the parameters passed to the filter function * @param edmType - Type of the returned numeric value. This influences the formatting of the returned value. */ constructor(functionName: string, parameters: FilterFunctionParameterType[], edmType: EdmTypeShared>); /** * Creates an instance of Filter for this filter function and the given value using the operator 'gt', i.e. `>`. * @param value - Value to be used in the filter * @param edmType - EDM type of the field to filter on * @returns The resulting filter */ greaterThan(value: ReturnT): Filter; /** * Creates an instance of Filter for this filter function and the given value using the operator 'ge', i.e. `>=`. * @param value - Value to be used in the filter * @param edmType - EDM type of the field to filter on * @returns The resulting filter */ greaterOrEqual(value: ReturnT): Filter; /** * Creates an instance of Filter for this filter function and the given value using the operator 'lt', i.e. `<`. * @param value - Value to be used in the filter * @param edmType - EDM type of the field to filter on * @returns The resulting filter */ lessThan(value: ReturnT): Filter; /** * Creates an instance of Filter for this filter function and the given value using the operator 'le', i.e. `<=`. * @param value - Value to be used in the filter * @param edmType - EDM type of the field to filter on * @returns The resulting filter */ lessOrEqual(value: ReturnT): Filter; } //# sourceMappingURL=orderable-filter-function.d.ts.map