AlignmentDataset extends ParentDataset<AlignmentDataset> { public AlignmentDataset mappingQualityFilter(String value) { query.put("mapq", value); return this; } AlignmentDataset(SparkSession sparkSession); @Override String getSql(); AlignmentDataset mappingQualityFilter(String value); AlignmentDataset templateLengthFilter(String value); AlignmentDataset alignmentLengthFilter(String value); AlignmentDataset flagFilter(String value); AlignmentDataset flagFilter(String value, Boolean exclude);  }
@Test public void mapqFilter() { initDataset(); System.out.println(">>>> Running mappingQualityFilter..."); long count; System.out.println("-------------------------------------- using mappingQualityFilter"); ad.mappingQualityFilter(">50").show(); System.out.println("--------------------------------------"); }