slotCompiler.processSlot(request, sqlTable, conditions, subject, subjColName) ;
for ( Quad quad : tableQuads )
{
String colName = cols.get(quad.getPredicate()) ;
SqlColumn col = new SqlColumn(sqlTable, colName) ;
Node obj = quad.getObject() ;
slotCompiler.processSlot(request, sqlTable, conditions, obj, colName) ;
}
if ( false )
{
for ( Node pred : cols.keySet() )
{
int idx = tableQuads.findFirst(graphNode, subject, pred, null) ;
if ( idx < 0 )
{
// Liberal
continue ;
//log.error("Can't find quad in SqlStagePTable.build") ;
//throw new SDBException("SqlStagePTable.build") ;
}
Quad q = tableQuads.remove(idx) ;
String colName = cols.get(pred) ;
SqlColumn col = new SqlColumn(sqlTable, colName) ;
Node obj = q.getObject() ;
// if ( Var.isVar(obj) )
// sqlTable.setIdColumnForVar(Var.alloc(obj), col) ;