unity.predicates
Class EquiJoinPredicate
java.lang.Object
unity.predicates.EquiJoinPredicate
public class EquiJoinPredicate
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_KEY
public static int OBJECT_KEY
STRING_KEY
public static int STRING_KEY
INT_KEY
public static int INT_KEY
EquiJoinPredicate
public EquiJoinPredicate(int[] idx1,
int[] idx2,
int ktype)
inversePredicate
public EquiJoinPredicate inversePredicate()
isLessThan
public boolean isLessThan(Tuple t1,
Tuple t2)
throws java.io.IOException
- Throws:
java.io.IOException
isGreaterThan
public boolean isGreaterThan(Tuple t1,
Tuple t2)
throws java.io.IOException
- Throws:
java.io.IOException
isEqual
public boolean isEqual(Tuple t1,
Tuple t2)
throws java.io.IOException
- Throws:
java.io.IOException
compare
public int compare(Tuple t1,
Tuple t2)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getNumAttr
public int getNumAttr()
getRelation1Locs
public int[] getRelation1Locs()
getRelation2Locs
public int[] getRelation2Locs()
getKeyType
public int getKeyType()
getValuesRelation1
public java.lang.Object[] getValuesRelation1(Tuple t)
getValuesRelation2
public java.lang.Object[] getValuesRelation2(Tuple t)
toString
public java.lang.String toString(Relation relation1,
Relation relation2)