public static class SetWindowFieldsOperation.ComputedField extends Object implements Field
Field that the result of a computation done via an AggregationExpression.| Constructor and Description |
|---|
ComputedField(String name,
AggregationExpression windowOperator)
Create a new
SetWindowFieldsOperation.ComputedField. |
ComputedField(String name,
AggregationExpression windowOperator,
SetWindowFieldsOperation.Window window)
Create a new
SetWindowFieldsOperation.ComputedField. |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the field.
|
String |
getTarget()
Returns the target of the field.
|
SetWindowFieldsOperation.Window |
getWindow() |
AggregationExpression |
getWindowOperator() |
boolean |
isAliased()
Returns whether the Field is aliased, which means it has a name set different from the target.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInternalpublic ComputedField(String name, AggregationExpression windowOperator)
SetWindowFieldsOperation.ComputedField.name - the target field name.windowOperator - the expression to calculate the field value.public ComputedField(String name, AggregationExpression windowOperator, @Nullable SetWindowFieldsOperation.Window window)
SetWindowFieldsOperation.ComputedField.name - the target field name.windowOperator - the expression to calculate the field value.window - the boundaries to operate within. Can be null.public String getName()
Fieldpublic String getTarget()
FieldField.getName() should be returned.public boolean isAliased()
Fieldpublic AggregationExpression getWindowOperator()
public SetWindowFieldsOperation.Window getWindow()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.