@Override
protected List<? extends OperatorFactory> createOperatorFactories()
{
OperatorFactory tableScanOperator = createTableScanOperator(0, "orders", "totalprice", "clerk");
LimitOperatorFactory limitOperator = new LimitOperatorFactory(1, tableScanOperator.getTypes(), ROWS);
OrderByOperatorFactory orderByOperator = new OrderByOperatorFactory(
2,
limitOperator.getTypes(),
ImmutableList.of(1),
ROWS,
ImmutableList.of(0),
ImmutableList.of(ASC_NULLS_LAST));