public final class ByAttributesTupleBufferOrderer extends TupleBufferOrderer
Constructor and Description |
---|
ByAttributesTupleBufferOrderer(java.util.List<NameIdentifier> orderingAttributeNames,
Heading relvarHeading)
Creates the ByAttributes comparator
|
ByAttributesTupleBufferOrderer(java.util.List<java.lang.String> orderingAttributeNames,
Heading relvarHeading,
StringToNameIdentifierTransformer t)
Creates the ByAttributes comparator
|
ByAttributesTupleBufferOrderer(java.lang.String singleOrderingAttribute,
Heading heading)
Creates the ByAttributesTupleBufferOrderer for a single ordering attribute
|
Modifier and Type | Method and Description |
---|---|
int |
compare(TupleBuffer o1,
TupleBuffer o2) |
public ByAttributesTupleBufferOrderer(java.util.List<NameIdentifier> orderingAttributeNames, Heading relvarHeading)
orderingAttributeNames
- -relvarHeading
- -public ByAttributesTupleBufferOrderer(java.util.List<java.lang.String> orderingAttributeNames, Heading relvarHeading, StringToNameIdentifierTransformer t)
orderingAttributeNames
- -relvarHeading
- -t
- -public ByAttributesTupleBufferOrderer(java.lang.String singleOrderingAttribute, Heading heading)
singleOrderingAttribute
- -heading
- -public int compare(TupleBuffer o1, TupleBuffer o2)