ValuesOperator extends PhysicalPlan { @Override public List<PhysicalPlan> getChild() { return ImmutableList.of(); } ValuesOperator(List<List<LiteralExpression>> values); @Override R accept(PhysicalPlanNodeVisitor<R, C> visitor, C context); @Override List<PhysicalPlan> getChild(); @Override boolean hasNext(); @Override ExprValue next();  }
@Test public void shouldHaveNoChild() { ValuesOperator values = values(ImmutableList.of(literal(1))); assertThat( values.getChild(), is(empty()) ); }