@Immutable public class SampleNode extends PlanNode
Modifier and Type | Class and Description |
---|---|
static class |
SampleNode.Type |
Constructor and Description |
---|
SampleNode(PlanNodeId id,
PlanNode source,
double sampleRatio,
SampleNode.Type sampleType) |
Modifier and Type | Method and Description |
---|---|
<R,C> R |
accept(PlanVisitor<R,C> visitor,
C context) |
List<Symbol> |
getOutputSymbols() |
double |
getSampleRatio() |
SampleNode.Type |
getSampleType() |
PlanNode |
getSource() |
List<PlanNode> |
getSources() |
PlanNode |
replaceChildren(List<PlanNode> newChildren) |
public SampleNode(PlanNodeId id, PlanNode source, double sampleRatio, SampleNode.Type sampleType)
public List<PlanNode> getSources()
getSources
in class PlanNode
public PlanNode getSource()
public double getSampleRatio()
public SampleNode.Type getSampleType()
public List<Symbol> getOutputSymbols()
getOutputSymbols
in class PlanNode
public <R,C> R accept(PlanVisitor<R,C> visitor, C context)
public PlanNode replaceChildren(List<PlanNode> newChildren)
replaceChildren
in class PlanNode
Copyright © 2012–2019. All rights reserved.