@Deprecated public class SketchSetOperationPostAggregation extends PostAggregation implements WithFields<SketchSetOperationPostAggregation>
PostAggregation.DefaultPostAggregationType
Constructor and Description |
---|
SketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields)
Deprecated.
Constructor accepting a list of post aggregations as fields while leaving the sketch size of the resulting
postaggregation undefined.
|
SketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields,
Integer size)
Deprecated.
Constructor accepting a list of post aggregations as fields as well as an explicit sketch size.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
List<PostAggregation> |
getFields()
Deprecated.
An interface method to get all the post aggregation fields.
|
SketchSetOperationPostAggFunction |
getFunc()
Deprecated.
|
Integer |
getSize()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isSketch()
Deprecated.
Indicate if the MetricField is based on a sketch.
|
String |
toString()
Deprecated.
|
SketchSetOperationPostAggregation |
withFields(List<PostAggregation> fields)
Deprecated.
Get a new instance of this PostAggregation with the given fields.
|
SketchSetOperationPostAggregation |
withFunc(SketchSetOperationPostAggFunction func)
Deprecated.
Get a new instance of this PostAggregation with the given func.
|
SketchSetOperationPostAggregation |
withName(String name)
Deprecated.
Get a new instance of this PostAggregation with the given name.
|
SketchSetOperationPostAggregation |
withSize(int size)
Deprecated.
Get a new instance of this PostAggregation with the given size.
|
getName, getType, isFloatingPoint
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDependentDimensions
getName, isFloatingPoint
public SketchSetOperationPostAggregation(String name, SketchSetOperationPostAggFunction func, List<PostAggregation> fields, Integer size)
name
- The name of the post aggregationfunc
- The func of the post aggregationfields
- list of post aggregationssize
- sketch size of the post aggregationpublic SketchSetOperationPostAggregation(String name, SketchSetOperationPostAggFunction func, List<PostAggregation> fields)
name
- The name of the post aggregationfunc
- The func of the post aggregationfields
- list of post aggregationspublic SketchSetOperationPostAggFunction getFunc()
public Integer getSize()
public List<PostAggregation> getFields()
WithFields
getFields
in interface WithFields<SketchSetOperationPostAggregation>
public String toString()
toString
in class PostAggregation
public SketchSetOperationPostAggregation withName(String name)
PostAggregation
withName
in class PostAggregation
name
- Name of the new PostAggregation.public SketchSetOperationPostAggregation withFunc(SketchSetOperationPostAggFunction func)
func
- Function of the new PostAggregation.public SketchSetOperationPostAggregation withSize(int size)
size
- Size of the new PostAggregation.public SketchSetOperationPostAggregation withFields(List<PostAggregation> fields)
withFields
in interface WithFields<SketchSetOperationPostAggregation>
fields
- Fields of the new PostAggregation.public boolean isSketch()
MetricField
isSketch
in interface MetricField
isSketch
in class PostAggregation
public boolean equals(Object o)
equals
in class PostAggregation
public int hashCode()
hashCode
in class PostAggregation
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.