/** The loader must be for a triple table of some kind */
public TupleGraphLoader(TupleLoader loader)
{
if ( loader.getTableDesc() == null )
throw new SDBInternalError("No table description for loader") ;
if ( loader.getTableDesc().getWidth() != 3 )
{
String x = String.format("Table description width is %d, not 3",
loader.getTableDesc().getWidth()) ;
throw new SDBInternalError(x) ;
}
this.loader = loader ;
}