//if (h == null) return null;
//if (incl == null || incl.size() < 1)return h;
NameValuePairs sh = new NameValuePairs();
//Hashtable sh = new Hashtable();
String id = null;
NameValuePairs row = null;
Object nvo = null;
boolean add = false;
ColumnInfo ci = null;
TableInfo ti = null;
if (sqp != null)
ti = sqp.getTableInfo();
if(ti == null)
ti = readTableInfo(t,sqp);
jiqlCellValue c1 = null;
jiqlCellValue c2 = null;
int typ = 0;
NameValuePairs h2 = new NameValuePairs();
Criteria cr = (Criteria)incl.elementAt(0);
incl = (Vector)incl.clone();
incl.removeElementAt(0);
String crn = cr.getRealName();
if (cr.getCompareOperator().equals("="))
{
h = readTableValueWhereEqual(sqp,t,crn,cr.getValue());
}
else if (cr.getCompareOperator().equals(">"))
{
h = readTableValueWhereGreaterThan(sqp,t,crn,cr.getValue());
}
else if (cr.getCompareOperator().equals("<"))
{
h = readTableValueWhereLessThan(sqp,t,crn,cr.getValue());
}
else if (cr.getCompareOperator().equals(">="))
{
h = readTableValueWhereGreaterThanOrEqual(sqp,t,crn,cr.getValue());
}
else if (cr.getCompareOperator().equals("!="))
{
h = readTableValueWhereGreaterThan(sqp,t,crn,cr.getValue());
if (h != null)
h2.merge(h);
h = readTableValueWhereLessThan(sqp,t,crn,cr.getValue());
if (h != null)
h2.merge(h);
h = (Hashtable)h2;
}
else if (cr.getCompareOperator().equals("<="))
{
h = readTableValueWhereLessThanOrEqual(sqp,t,crn,cr.getValue());
}
else if (cr.getCompareOperator().equals("in"))
{
Vector ic = cr.getInClause();
for (int cit =0;cit < ic.size();cit++)
{
h = readTableValueWhereEqual(sqp,t,crn,ic.elementAt(cit));
if (h != null)
h2.merge(h);
}
h = (Hashtable)h2;
}
else if (cr.getCompareOperator().equals("is"))