public class LogicTransform extends Object
count()
will apply the Count
operator and return the total number of
Result
instead of the Result itself first(2)
will apply the First
operator and return the first two Result
out of the entire ResultConstructor and Description |
---|
LogicTransform(Operator transformOperator) |
LogicTransform(Operator transformOperator,
Integer numResults) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getNumResults()
Get number of
Result object should be returned by the current criteria. |
String |
getSortColumn() |
Operator |
getTransformOperator()
Get the
TransformOperator in this LogicTransform object |
int |
hashCode() |
void |
setNumResults(Integer numResults)
Set number of
Result object should be returned by the current criteria. |
void |
setSortColumn(String sortColumn) |
String |
toString() |
public LogicTransform(Operator transformOperator)
public Operator getTransformOperator()
TransformOperator
in this LogicTransform objectpublic Integer getNumResults()
public String getSortColumn()
public void setNumResults(Integer numResults)
numResults
- the total Result expected from this criteriapublic void setSortColumn(String sortColumn)
Copyright © 2024 OpenMRS Inc.. All rights reserved.