public static class ExecNodeGraphJsonPlanGenerator.JsonPlanEdge extends Object
ExecEdge
's JSON representation.
Different from ExecEdge
, ExecNodeGraphJsonPlanGenerator.JsonPlanEdge
only stores the ExecNode
's
id instead of instance.
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_SHUFFLE |
static String |
FIELD_NAME_SHUFFLE_MODE |
static String |
FIELD_NAME_SOURCE |
static String |
FIELD_NAME_TARGET |
Constructor and Description |
---|
JsonPlanEdge(int sourceId,
int targetId,
ExecEdge.Shuffle shuffle,
ShuffleMode shuffleMode) |
Modifier and Type | Method and Description |
---|---|
static ExecNodeGraphJsonPlanGenerator.JsonPlanEdge |
fromExecEdge(ExecEdge execEdge)
Build
ExecNodeGraphJsonPlanGenerator.JsonPlanEdge from an ExecEdge . |
ExecEdge.Shuffle |
getShuffle() |
ShuffleMode |
getShuffleMode() |
int |
getSourceId() |
int |
getTargetId() |
public static final String FIELD_NAME_SOURCE
public static final String FIELD_NAME_TARGET
public static final String FIELD_NAME_SHUFFLE
public static final String FIELD_NAME_SHUFFLE_MODE
public JsonPlanEdge(int sourceId, int targetId, ExecEdge.Shuffle shuffle, ShuffleMode shuffleMode)
public int getSourceId()
public int getTargetId()
public ExecEdge.Shuffle getShuffle()
public ShuffleMode getShuffleMode()
public static ExecNodeGraphJsonPlanGenerator.JsonPlanEdge fromExecEdge(ExecEdge execEdge)
ExecNodeGraphJsonPlanGenerator.JsonPlanEdge
from an ExecEdge
.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.