| Modifier and Type | Field and Description |
|---|---|
static RequestedLocalProperties |
DEFAULT_PROPERTIES |
| Constructor and Description |
|---|
RequestedLocalProperties()
Default constructor for trivial local properties.
|
RequestedLocalProperties(FieldSet groupedFields)
Creates interesting properties for the given grouping.
|
RequestedLocalProperties(Ordering ordering)
Creates interesting properties for the given ordering.
|
| Modifier and Type | Method and Description |
|---|---|
RequestedLocalProperties |
clone() |
boolean |
equals(Object obj) |
RequestedLocalProperties |
filterByNodesConstantSet(OptimizerNode node,
int input)
Filters these properties by what can be preserved through a user function's constant fields set.
|
FieldSet |
getGroupedFields()
Gets the grouped fields.
|
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)
Parameterizes 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(FieldSet groupedFields)
Sets the fields that are grouped in these data properties.
|
void |
setOrdering(Ordering ordering)
Sets the order for these interesting local properties.
|
String |
toString() |
public static final RequestedLocalProperties DEFAULT_PROPERTIES
public RequestedLocalProperties()
public RequestedLocalProperties(Ordering ordering)
ordering - The interesting ordering.public RequestedLocalProperties(FieldSet groupedFields)
groupedFields - The set of fields whose grouping is interesting.public Ordering getOrdering()
null if nothing is ordered.public void setOrdering(Ordering ordering)
ordering - The order to set.public FieldSet getGroupedFields()
null if nothing is grouped.public void setGroupedFields(FieldSet groupedFields)
groupedFields - The fields that are grouped in these data properties.public boolean isTrivial()
public void reset()
public RequestedLocalProperties filterByNodesConstantSet(OptimizerNode node, int input)
node - The optimizer node that potentially modifies the properties.input - The input of the node which is relevant.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 parameterize.public RequestedLocalProperties clone()
Copyright © 2014 The Apache Software Foundation. All rights reserved.