Examples of SDBInternalError


Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

            return super.transform(opDatasetNames) ;
       
        // Basically, an implementation of "GRAPH ?g {}"
        Node g  = opDatasetNames.getGraphNode() ;
        if ( ! Var.isVar(g) )
            throw new SDBInternalError("OpDatasetNames - not a variable: "+g) ;
        Var v = Var.alloc(g) ;

        // Inner SELECT SQL: (SELECT DISTINCT g FROM Quads)
        TableDescQuads quads = request.getStore().getQuadTableDesc() ;
        SqlTable sqlTableQ = new SqlTable(quads.getTableName()) ;
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

            return (SqlSelectBlock)sqlNode ;
        }
           
        SqlSelectBlock block = _create(request, sqlNode) ;
        if ( block.getCols().size() != 0 )
            throw new SDBInternalError("Can't set a view on Select block which is already had columns set") ;
       
        calcView(block) ;
        return block ;
    }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

            Op op2 = Substitute.substitute(opSQL.getOriginal(), binding) ;
            Op op = qc.compile(op2) ;
            if ( op instanceof OpSQL )
                execSQL = (OpSQL)op ;
            else
                throw new SDBInternalError("Failed to recompile the OpSQL to an OpSQL") ;
        }

        return execSQL.exec(binding, getExecContext()) ;
    }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

    {
        if ( row.length != getTableWidth() )
        {
            String fmt = "TupleLoaderOne(%s) Expected row length: %d but got %d" ;
            String msg = String.format(fmt, getTableName(), getTableWidth(), row.length) ;
            throw new SDBInternalError(msg) ;
        }

        // Process nodes.
        String[] vals = prepareNodes(row) ;
       
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

    }

    private void setProjectVars(Collection<Var> projectVars)
    {
        if ( this.projectVars != null )
            throw new SDBInternalError("SQLBridgeBase: Project vars already set") ;
        this.projectVars = projectVars ;
    }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

    public void visit(SqlRestrict sqlNode)  { shouldNotSee(sqlNode) ; }
    public void visit(SqlSlice sqlNode)     { shouldNotSee(sqlNode) ; }
    public void visit(SqlRename sqlNode)    { shouldNotSee(sqlNode) ; }

    private void shouldNotSee(SqlNode sqlNode)
    { throw new SDBInternalError("Didn't expect: "+Utils.className(sqlNode)) ; }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

    public void visit(SqlRestrict sqlNode)  { shouldNotSee(sqlNode) ; }
    public void visit(SqlSlice sqlNode)     { shouldNotSee(sqlNode) ; }
    public void visit(SqlRename sqlNode)    { shouldNotSee(sqlNode) ; }

    private void shouldNotSee(SqlNode sqlNode)
    { throw new SDBInternalError("Didn't expect: "+Utils.className(sqlNode)) ; }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

    @Override
    public Scope getNodeScope() { return nodeScope ; }
   
    @Override
    public void visit(SqlNodeVisitor visitor)
    { throw new SDBInternalError("SqlRename.visit") ; }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

    { throw new SDBInternalError("SqlRename.visit") ; }
    // { visitor.visit(this) ; }

    @Override
    public SqlNode apply(SqlTransform transform, SqlNode subNode)
    { throw new SDBInternalError("SqlRename.apply") ; }
View Full Code Here

Examples of com.hp.hpl.jena.sdb.shared.SDBInternalError

        if ( getAlias() == null )
            return ;
        if ( getAlias().getTable() == null )
            return ;
        if ( ! getAlias().getTable().getAliasName().equals(requiredName) )
            throw new SDBInternalError("Alias name error: "+getColumn()+"/"+getAlias()+": required: "+requiredName) ;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.