public class ThetaSketchSetOperationPostAggregation extends PostAggregation implements WithFields<ThetaSketchSetOperationPostAggregation>
PostAggregation.DefaultPostAggregationType| Constructor and Description |
|---|
ThetaSketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields)
Constructor accepting a list of post aggregations as fields while leaving the sketch size of the resulting
postaggregation undefined.
|
ThetaSketchSetOperationPostAggregation(String name,
SketchSetOperationPostAggFunction func,
List<PostAggregation> fields,
Integer size)
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) |
List<PostAggregation> |
getFields()
An interface method to get all the post aggregation fields.
|
SketchSetOperationPostAggFunction |
getFunc() |
Integer |
getSize() |
int |
hashCode() |
boolean |
isSketch()
Indicate if the MetricField is based on a sketch.
|
String |
toString() |
ThetaSketchSetOperationPostAggregation |
withFields(List<PostAggregation> fields)
Get a new instance of this PostAggregation with the given fields.
|
ThetaSketchSetOperationPostAggregation |
withFunc(SketchSetOperationPostAggFunction func)
Get a new instance of this PostAggregation with the given func.
|
ThetaSketchSetOperationPostAggregation |
withName(String name)
Get a new instance of this PostAggregation with the given name.
|
ThetaSketchSetOperationPostAggregation |
withSize(int size)
Get a new instance of this PostAggregation with the given size.
|
getName, getType, isFloatingPointclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDependentDimensionsgetName, isFloatingPointpublic ThetaSketchSetOperationPostAggregation(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 ThetaSketchSetOperationPostAggregation(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()
WithFieldsgetFields in interface WithFields<ThetaSketchSetOperationPostAggregation>public String toString()
toString in class PostAggregationpublic ThetaSketchSetOperationPostAggregation withName(String name)
PostAggregationwithName in class PostAggregationname - Name of the new PostAggregation.public ThetaSketchSetOperationPostAggregation withFunc(SketchSetOperationPostAggFunction func)
func - Function of the new PostAggregation.public ThetaSketchSetOperationPostAggregation withSize(int size)
size - Size of the new PostAggregation.public ThetaSketchSetOperationPostAggregation withFields(List<PostAggregation> fields)
withFields in interface WithFields<ThetaSketchSetOperationPostAggregation>fields - Fields of the new PostAggregation.public boolean isSketch()
MetricFieldisSketch in interface MetricFieldisSketch in class PostAggregationpublic boolean equals(Object o)
equals in class PostAggregationpublic int hashCode()
hashCode in class PostAggregationCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.