public class RequestedLocalProperties extends Object implements Cloneable
| Constructor and Description |
|---|
RequestedLocalProperties()
Default constructor for trivial local properties.
|
RequestedLocalProperties(org.apache.flink.api.common.operators.util.FieldSet groupedFields)
Creates interesting properties for the given grouping.
|
RequestedLocalProperties(org.apache.flink.api.common.operators.Ordering ordering)
Creates interesting properties for the given ordering.
|
| Modifier and Type | Method and Description |
|---|---|
RequestedLocalProperties |
clone() |
boolean |
equals(Object obj) |
RequestedLocalProperties |
filterBySemanticProperties(org.apache.flink.api.common.operators.SemanticProperties props,
int input)
Filters these properties by what can be preserved by the given SemanticProperties when
propagated down to the given input.
|
org.apache.flink.api.common.operators.util.FieldSet |
getGroupedFields()
Gets the grouped fields.
|
org.apache.flink.api.common.operators.Ordering |
getOrdering()
Gets the key order.
|
int |
hashCode() |
boolean |
isMetBy(LocalProperties other)
Checks, if this set of properties, as interesting properties, is met by the given properties.
|
boolean |
isTrivial()
Checks, if the properties in this object are trivial, i.e.
|
void |
parameterizeChannel(Channel channel)
Parametrizes the local strategy fields of a channel such that the channel produces the
desired local properties.
|
void |
reset()
This method resets the local properties to a state where no properties are given.
|
void |
setGroupedFields(org.apache.flink.api.common.operators.util.FieldSet groupedFields)
Sets the fields that are grouped in these data properties.
|
void |
setOrdering(org.apache.flink.api.common.operators.Ordering ordering)
Sets the order for these interesting local properties.
|
String |
toString() |
public RequestedLocalProperties()
public RequestedLocalProperties(org.apache.flink.api.common.operators.Ordering ordering)
ordering - The interesting ordering.public RequestedLocalProperties(org.apache.flink.api.common.operators.util.FieldSet groupedFields)
groupedFields - The set of fields whose grouping is interesting.public org.apache.flink.api.common.operators.Ordering getOrdering()
null if nothing is ordered.public void setOrdering(org.apache.flink.api.common.operators.Ordering ordering)
ordering - The order to set.public org.apache.flink.api.common.operators.util.FieldSet getGroupedFields()
null if nothing is grouped.public void setGroupedFields(org.apache.flink.api.common.operators.util.FieldSet groupedFields)
groupedFields - The fields that are grouped in these data properties.public boolean isTrivial()
public void reset()
public RequestedLocalProperties filterBySemanticProperties(org.apache.flink.api.common.operators.SemanticProperties props, int input)
props - The SemanticProperties which define which fields are preserved.input - The index of the operator's input.public boolean isMetBy(LocalProperties other)
other - The properties for which to check whether they meet these properties.public void parameterizeChannel(Channel channel)
channel - The channel to parametrize.public RequestedLocalProperties clone()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.