| Modifier and Type | Field and Description |
|---|---|
static LocalProperties |
EMPTY |
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
LocalProperties()
Default constructor for trivial local properties.
|
| Modifier and Type | Method and Description |
|---|---|
LocalProperties |
addUniqueFields(org.apache.flink.api.common.operators.util.FieldSet uniqueFields)
Adds a combination of fields that are unique in these data properties.
|
boolean |
areFieldsUnique(org.apache.flink.api.common.operators.util.FieldSet set)
Checks whether the given set of fields is unique, as specified in these local properties.
|
LocalProperties |
clearUniqueFieldSets() |
LocalProperties |
clone() |
static LocalProperties |
combine(LocalProperties lp1,
LocalProperties lp2) |
boolean |
equals(Object obj) |
LocalProperties |
filterBySemanticProperties(org.apache.flink.api.common.operators.SemanticProperties props,
int input)
Filters these LocalProperties by the fields that are forwarded to the output
as described by the SemanticProperties.
|
static LocalProperties |
forGrouping(org.apache.flink.api.common.operators.util.FieldList groupedFields) |
static LocalProperties |
forOrdering(org.apache.flink.api.common.operators.Ordering o) |
org.apache.flink.api.common.operators.util.FieldList |
getGroupedFields()
Gets the grouped fields.
|
org.apache.flink.api.common.operators.Ordering |
getOrdering()
Gets the key order.
|
Set<org.apache.flink.api.common.operators.util.FieldSet> |
getUniqueFields()
Gets the fields whose combination is unique within the data set.
|
int |
hashCode() |
boolean |
isTrivial()
Checks, if the properties in this object are trivial, i.e.
|
String |
toString() |
public static final org.slf4j.Logger LOG
public static final LocalProperties EMPTY
public LocalProperties()
public org.apache.flink.api.common.operators.Ordering getOrdering()
null if nothing is ordered.public org.apache.flink.api.common.operators.util.FieldList getGroupedFields()
null if nothing is grouped.public Set<org.apache.flink.api.common.operators.util.FieldSet> getUniqueFields()
null if nothing is unique.public boolean areFieldsUnique(org.apache.flink.api.common.operators.util.FieldSet set)
set - The set to check.public LocalProperties addUniqueFields(org.apache.flink.api.common.operators.util.FieldSet uniqueFields)
uniqueFields - The fields that are unique in these data properties.public LocalProperties clearUniqueFieldSets()
public boolean isTrivial()
public LocalProperties filterBySemanticProperties(org.apache.flink.api.common.operators.SemanticProperties props, int input)
props - The semantic properties holding information about forwarded fields.input - The index of the input.public LocalProperties clone()
public static LocalProperties combine(LocalProperties lp1, LocalProperties lp2)
public static LocalProperties forOrdering(org.apache.flink.api.common.operators.Ordering o)
public static LocalProperties forGrouping(org.apache.flink.api.common.operators.util.FieldList groupedFields)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.