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(FieldSet uniqueFields)
Adds a combination of fields that are unique in these data properties.
|
boolean |
areFieldsUnique(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(SemanticProperties props,
int input)
Filters these LocalProperties by the fields that are forwarded to the output
as described by the SemanticProperties.
|
static LocalProperties |
forGrouping(FieldList groupedFields) |
static LocalProperties |
forOrdering(Ordering o) |
FieldList |
getGroupedFields()
Gets the grouped fields.
|
Ordering |
getOrdering()
Gets the key order.
|
Set<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 Ordering getOrdering()
null
if nothing is ordered.public FieldList getGroupedFields()
null
if nothing is grouped.public Set<FieldSet> getUniqueFields()
null
if nothing is unique.public boolean areFieldsUnique(FieldSet set)
set
- The set to check.public LocalProperties addUniqueFields(FieldSet uniqueFields)
uniqueFields
- The fields that are unique in these data properties.public LocalProperties clearUniqueFieldSets()
public boolean isTrivial()
public LocalProperties filterBySemanticProperties(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(Ordering o)
public static LocalProperties forGrouping(FieldList groupedFields)
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.