Example - Aster Execution Engine

Teradata Aster® Developer Guide

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
xnl1494366523182.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
ffu1489104705746
lifecycle
previous
Product Category
Software
// read in order
Order inOrder = null;
List<OrderDefinition> inOrderDefs = null;
if (planInputInfo.hasOrder())
  {
    inOrder = planInputInfo.getOrder();
    inOrderDefs = inOrder.getOrderDefinitions();
  }
...
////////////////////////////////////////////////////////////////
// Passthrough of input order, which is the same as output order.
// This is specified in the completePlanningContract method.
Order outOrder = null;
...
  outOrder = inOrder;
...
PlanOutputInfo planOutputInfo = null;
planOutputInfo = new PlanOutputInfo.Builder()
  .setDistribution(outDistribution)
  .setOrder(outOrder)
  .toPlanOutputInfo();
planContract.setPlanOutputInfo(planOutputInfo);

For full context, see Examples.