@Test public void testSelectStatementBeansBuilder05() { ProjectPredicate projectPredicate = new ProjectSomeFieldsPredicate(Arrays.asList("a", "b")); ExtractPredicate extractPredicate = new KeywordExtractPredicate(Arrays.asList("a", "b"), "x", KeywordMatchingType.SUBSTRING_SCANBASED.toString()); SelectStatement selectStatement = new SelectStatement("_sid4", projectPredicate, extractPredicate, "from", null, null); List<PredicateBase> expectedGeneratedBeans = Arrays.asList( new KeywordPredicate("x", Arrays.asList("a", "b"), null, KeywordMatchingType.SUBSTRING_SCANBASED, "_sid4_e"), new ProjectionPredicate(Arrays.asList("a", "b")) ); List<String> dependencies = Arrays.asList("from"); Assert.assertEquals(selectStatement.getInputViews(), dependencies); StatementTestUtils.assertGeneratedBeans(selectStatement, expectedGeneratedBeans); }
@Override public List<String> getInputViews(){ return Arrays.asList(this.fromClause); }
SelectStatement extends Statement { @Override public List<String> getInputViews(){ return Arrays.asList(this.fromClause); } }
SelectStatement extends Statement { @Override public List<String> getInputViews(){ return Arrays.asList(this.fromClause); } SelectStatement();  SelectStatement(String id, ProjectPredicate projectPredicate, ExtractPredicate extractPredicate,
            String fromClause, Integer limitClause, Integer offsetClause); }
SelectStatement extends Statement { @Override public List<String> getInputViews(){ return Arrays.asList(this.fromClause); } SelectStatement();  SelectStatement(String id, ProjectPredicate projectPredicate, ExtractPredicate extractPredicate,
            String fromClause, Integer limitClause, Integer offsetClause); ProjectPredicate getProjectPredicate(); void setProjectPredicate(ProjectPredicate projectPredicate); ExtractPredicate getExtractPredicate(); void setExtractPredicate(ExtractPredicate extractPredicate); String getFromClause(); void setFromClause(String fromClause); Integer getLimitClause(); void setLimitClause(Integer limitClause); Integer getOffsetClause(); void setOffsetClause(Integer offsetClause); @Override String getInputNodeID(); @Override String getOutputNodeID(); @Override List<PredicateBase> getInternalOperatorBeans(); @Override List<OperatorLink> getInternalLinkBeans(); @Override List<String> getInputViews(); @Override boolean equals(Object other); }
SelectStatement extends Statement { @Override public List<String> getInputViews(){ return Arrays.asList(this.fromClause); } SelectStatement();  SelectStatement(String id, ProjectPredicate projectPredicate, ExtractPredicate extractPredicate,
            String fromClause, Integer limitClause, Integer offsetClause); ProjectPredicate getProjectPredicate(); void setProjectPredicate(ProjectPredicate projectPredicate); ExtractPredicate getExtractPredicate(); void setExtractPredicate(ExtractPredicate extractPredicate); String getFromClause(); void setFromClause(String fromClause); Integer getLimitClause(); void setLimitClause(Integer limitClause); Integer getOffsetClause(); void setOffsetClause(Integer offsetClause); @Override String getInputNodeID(); @Override String getOutputNodeID(); @Override List<PredicateBase> getInternalOperatorBeans(); @Override List<OperatorLink> getInternalLinkBeans(); @Override List<String> getInputViews(); @Override boolean equals(Object other);  }