public class SingleColumnRelation extends Relation
Relation.Type
Modifier and Type | Field and Description |
---|---|
boolean |
onToken |
relationType
Constructor and Description |
---|
SingleColumnRelation(ColumnIdentifier.Raw entity,
Relation.Type type,
Term.Raw value)
Creates a new relation.
|
SingleColumnRelation(ColumnIdentifier.Raw entity,
Relation.Type type,
Term.Raw value,
boolean onToken) |
Modifier and Type | Method and Description |
---|---|
static SingleColumnRelation |
createInRelation(ColumnIdentifier.Raw entity,
java.util.List<Term.Raw> inValues) |
ColumnIdentifier.Raw |
getEntity() |
java.util.List<Term.Raw> |
getInValues() |
Term.Raw |
getValue() |
boolean |
isMultiColumn() |
boolean |
isOnToken() |
java.lang.String |
toString() |
SingleColumnRelation |
withNonStrictOperator() |
public SingleColumnRelation(ColumnIdentifier.Raw entity, Relation.Type type, Term.Raw value)
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.public SingleColumnRelation(ColumnIdentifier.Raw entity, Relation.Type type, Term.Raw value, boolean onToken)
public static SingleColumnRelation createInRelation(ColumnIdentifier.Raw entity, java.util.List<Term.Raw> inValues)
public ColumnIdentifier.Raw getEntity()
public Term.Raw getValue()
public java.util.List<Term.Raw> getInValues()
public boolean isMultiColumn()
isMultiColumn
in class Relation
public SingleColumnRelation withNonStrictOperator()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2015 The Apache Software Foundation