import { EntityBase , ODataVersionOf } from '../entity-base' ; import { EdmTypeShared } from '../edm-types' ; import { Filter } from './filter' ; import { FilterFunction , FilterFunctionParameterType } from './filter-function-base' ; internal export abstract class OrderableFilterFunction < EntityT extends EntityBase , ReturnT > extends FilterFunction < EntityT , ReturnT > { param functionName param parameters param edmType constructor ( functionName , parameters , edmType ) { super ( functionName , parameters , edmType ) ; } param value param edmType returns greaterThan ( value ) { return new Filter ( this , 'gt' , value , this . edmType ) ; } param value param edmType returns greaterOrEqual ( value ) { return new Filter ( this , 'ge' , value , this . edmType ) ; } param value param edmType returns lessThan ( value ) { return new Filter ( this , 'lt' , value , this . edmType ) ; } param value param edmType returns lessOrEqual ( value ) { return new Filter ( this , 'le' , value , this . edmType ) ; } }