public class JoinComparison<R,C> extends BaseComparison<R,C> implements JoinCondition<R,C>
| Modifier and Type | Field and Description |
|---|---|
protected ColumnReference<R,C> |
columnReference2 |
protected JoinComparison<R,C> |
pair |
columnReference, relation| Constructor and Description |
|---|
JoinComparison(ColumnReference<R,C> columnReference,
Relation relation,
ColumnReference<R,C> columnReference2) |
| Modifier and Type | Method and Description |
|---|---|
void |
associateCondition(SelectStatement select,
boolean andPath) |
String |
getColumn()
Returns the column name
|
ColumnReference<R,C> |
getColumnReference()
Return the column reference
|
ColumnReference<R,C> |
getColumnReference2() |
TruthValue |
matches(SQLConverter<R,C> selector,
ArrayMap<Table<R,C>,R> rowCandidate) |
TruthValue |
matches(SQLConverter<R,C> selector,
R row)
Tests the condition against one table row.
|
void |
narrow(SQLConverter<R,C> selector,
Range<C> range)
Possibility to narrow columns value range
|
Range<C> |
narrow(SQLConverter<R,C> selector,
Range<C> range,
Table fromTable,
String column,
C lower,
C upper) |
void |
walk(ConditionVisitor visitor,
boolean andPath) |
getRelation, matches, matchesgetEnd, getSource, getStart, setLocation, throwExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRelationgetEnd, getSource, getStart, throwExceptionprotected JoinComparison<R,C> pair
protected ColumnReference<R,C> columnReference2
public JoinComparison(ColumnReference<R,C> columnReference, Relation relation, ColumnReference<R,C> columnReference2)
public TruthValue matches(SQLConverter<R,C> selector, R row)
ColumnConditionmatches in interface ColumnCondition<R,C>selector - SQLCOnverterrow - Tested rowpublic TruthValue matches(SQLConverter<R,C> selector, ArrayMap<Table<R,C>,R> rowCandidate)
public void associateCondition(SelectStatement select, boolean andPath)
associateCondition in interface Condition<R,C>public Range<C> narrow(SQLConverter<R,C> selector, Range<C> range, Table fromTable, String column, C lower, C upper)
narrow in interface JoinCondition<R,C>public void narrow(SQLConverter<R,C> selector, Range<C> range)
ColumnConditionnarrow in interface ColumnCondition<R,C>public void walk(ConditionVisitor visitor, boolean andPath)
public ColumnReference<R,C> getColumnReference2()
getColumnReference2 in interface JoinCondition<R,C>public String getColumn()
ColumnConditiongetColumn in interface ColumnCondition<R,C>getColumn in class BaseComparison<R,C>public ColumnReference<R,C> getColumnReference()
ColumnConditiongetColumnReference in interface ColumnCondition<R,C>getColumnReference in class BaseComparison<R,C>Copyright © 2014. All rights reserved.