public class LogicTransform
extends java.lang.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,
java.lang.Integer numResults) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getNumResults()
Get number of
Result object should be returned by the current criteria. |
java.lang.String |
getSortColumn() |
Operator |
getTransformOperator()
Get the
TransformOperator in this LogicTransform object |
int |
hashCode() |
void |
setNumResults(java.lang.Integer numResults)
Set number of
Result object should be returned by the current criteria. |
void |
setSortColumn(java.lang.String sortColumn) |
java.lang.String |
toString() |
public LogicTransform(Operator transformOperator, java.lang.Integer numResults)
public LogicTransform(Operator transformOperator)
public Operator getTransformOperator()
TransformOperator
in this LogicTransform objectpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Integer getNumResults()
public java.lang.String getSortColumn()
public void setNumResults(java.lang.Integer numResults)
numResults
- the total Result expected from this criteriapublic void setSortColumn(java.lang.String sortColumn)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.