public class Relation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Relation.Type |
Modifier and Type | Field and Description |
---|---|
boolean |
onToken |
ColumnIdentifier |
previousInTuple |
Constructor and Description |
---|
Relation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value)
Creates a new relation.
|
Relation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value,
boolean onToken) |
Relation(ColumnIdentifier entity,
Relation.Type type,
Term.Raw value,
ColumnIdentifier previousInTuple) |
Modifier and Type | Method and Description |
---|---|
void |
addInValue(Term.Raw t) |
static Relation |
createInRelation(ColumnIdentifier entity) |
ColumnIdentifier |
getEntity() |
java.util.List<Term.Raw> |
getInValues() |
Term.Raw |
getValue() |
Relation.Type |
operator() |
java.lang.String |
toString() |
public final boolean onToken
public final ColumnIdentifier previousInTuple
public Relation(ColumnIdentifier 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 Relation(ColumnIdentifier entity, Relation.Type type, Term.Raw value, boolean onToken)
public Relation(ColumnIdentifier entity, Relation.Type type, Term.Raw value, ColumnIdentifier previousInTuple)
public static Relation createInRelation(ColumnIdentifier entity)
public Relation.Type operator()
public ColumnIdentifier getEntity()
public Term.Raw getValue()
public java.util.List<Term.Raw> getInValues()
public void addInValue(Term.Raw t)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 The Apache Software Foundation