public abstract class Relations
extends java.lang.Object
Constructor and Description |
---|
Relations() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getRelationAttributeValueCommalist(Relation in,
NameIdentifier attributeName)
Gets a comma-separated list of values held in the tuples of the given relation for the named attribute
|
static java.lang.String |
getRelationAttributeValueCommalist(Relation in,
java.lang.String attributeName)
Deprecated.
- replace with
getRelationAttributeValueCommalist(Relation, NameIdentifier) |
static RelationBuffer |
orderedRelation(MyReadOnlyCollection<TupleBuffer> tupleBufferCollection,
ByAttributesTupleBufferOrderer orderer)
Gets a relationBuffer in which iteration over the tuples will be in-order, according to the ordering operators associated with the types of the given ordering attributes
|
static Relation |
orderedRelation(Relation r,
ByAttributesTupleBufferOrderer orderer)
Gets a relation in which iteration over the tuples will be in-order, according to the ordering operators associated with the types of the given ordering attributes
|
public static java.lang.String getRelationAttributeValueCommalist(Relation in, NameIdentifier attributeName)
in
- A relation from which a comma-separated list of values is to be extractedattributeName
- The name of the attribute the values of which are to be listed@Deprecated public static java.lang.String getRelationAttributeValueCommalist(Relation in, java.lang.String attributeName)
getRelationAttributeValueCommalist(Relation, NameIdentifier)
in
- A relation from which a comma-separated list of values is to be extractedattributeName
- The name of the attribute the values of which are to be listedpublic static RelationBuffer orderedRelation(MyReadOnlyCollection<TupleBuffer> tupleBufferCollection, ByAttributesTupleBufferOrderer orderer)
tupleBufferCollection
- The tupleBuffer collection of which an ordered equivalent is neededorderer
- The orderer to apply to the given relationpublic static Relation orderedRelation(Relation r, ByAttributesTupleBufferOrderer orderer)
r
- The relation of which an ordered equivalent is neededorderer
- The orderer to apply to the given relation