| 
 |   | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.logic.op.Distinct
public class Distinct
The Distinct operator will filter out duplicate results and return a set of distinct results.
 
 Example: 
 - logicService.parse("EncounterDataSource.ENCOUNTER_KEY").distinct();
   The above will give us a criteria to get all distinct encounter type from the system
| Field Summary | 
|---|
| Fields inherited from interface org.openmrs.logic.op.TransformOperator | 
|---|
| AVERAGE, COUNT, DISTINCT, EXISTS, FIRST, LAST, NOT_EXISTS | 
| Fields inherited from interface org.openmrs.logic.op.Operator | 
|---|
| AFTER, AND, ASOF, BEFORE, CONTAINS, EQUALS, GT, GTE, IN, LT, LTE, NOT, OR, WITHIN | 
| Constructor Summary | |
|---|---|
| Distinct() | |
| Method Summary | |
|---|---|
|  java.lang.String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public Distinct()
| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Object| 
 | OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||