AlignmentDataset extends ParentDataset<AlignmentDataset> { public AlignmentDataset alignmentLengthFilter(String value) { query.put("alen", 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 alenFilter() { initDataset(); System.out.println(">>>> Running alignmentLengthFilter..."); long count; System.out.println("-------------------------------------- using alignmentLengthFilter"); ad.alignmentLengthFilter(">50;<50").show(); System.out.println("--------------------------------------"); }