Class SingleColumnRelation


  • public final class SingleColumnRelation
    extends Relation
    Relations encapsulate the relationship between an entity of some kind, and a value (term). For example, <key> > "start" or "colname1" = "somevalue".
    • Constructor Detail

      • SingleColumnRelation

        public SingleColumnRelation​(ColumnIdentifier entity,
                                    Term.Raw mapKey,
                                    Operator type,
                                    Term.Raw value)
        Creates a new relation.
        Parameters:
        entity - the kind of relation this is; what the term is being compared to.
        mapKey - the key into the entity identifying the value the term is being compared to.
        type - the type that describes how this entity relates to the value.
        value - the value being compared.
      • SingleColumnRelation

        public SingleColumnRelation​(ColumnIdentifier entity,
                                    Operator type,
                                    Term.Raw value)
        Creates a new relation.
        Parameters:
        entity - the kind of relation this is; what the term is being compared to.
        type - the type that describes how this entity relates to the value.
        value - the value being compared.