public class SampledRelation extends Relation
| Modifier and Type | Class and Description |
|---|---|
static class |
SampledRelation.Type |
| Constructor and Description |
|---|
SampledRelation(Relation relation,
SampledRelation.Type type,
Expression samplePercentage,
boolean rescaled,
Optional<List<Expression>> columnsToStratifyOn) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context) |
boolean |
equals(Object o) |
Optional<List<Expression>> |
getColumnsToStratifyOn() |
Relation |
getRelation() |
Expression |
getSamplePercentage() |
SampledRelation.Type |
getType() |
int |
hashCode() |
boolean |
isRescaled() |
String |
toString() |
public SampledRelation(Relation relation, SampledRelation.Type type, Expression samplePercentage, boolean rescaled, Optional<List<Expression>> columnsToStratifyOn)
public Relation getRelation()
public SampledRelation.Type getType()
public Expression getSamplePercentage()
public boolean isRescaled()
public Optional<List<Expression>> getColumnsToStratifyOn()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
Copyright © 2012-2015. All Rights Reserved.