@SuppressWarnings("unchecked") @Override public IValueExpression<? extends XSDBooleanIV> get(final int i) { return (IValueExpression<? extends XSDBooleanIV>) super.get(i); }
@Override @SuppressWarnings("unchecked") public IValueExpression<X> getValueExpression() { return (IValueExpression<X>) get(0); }
@Override @SuppressWarnings("unchecked") public IValueExpression<X> getValueExpression() { return (IValueExpression<X>) get(0); }
@SuppressWarnings("unchecked") @Override public IValueExpression<? extends XSDBooleanIV> get(final int i) { return (IValueExpression<? extends XSDBooleanIV>) super.get(i); }
@Override public boolean accept(final IBindingSet bs) { // try { // evaluate the BVE operator return ((BooleanValueExpression) get(0)).get(bs); // } catch (Throwable t) { // // if (InnerCause.isInnerCause(t, SparqlTypeErrorException.class)) { // // // trap the type error and filter out the solution // if (log.isInfoEnabled()) // log.info("discarding solution due to type error: " + bs // + " : " + t); // // return false; // // } // // throw new RuntimeException(t); // // } }
@Override public boolean accept(final IBindingSet bs) { // try { // evaluate the BVE operator return ((BooleanValueExpression) get(0)).get(bs); // } catch (Throwable t) { // // if (InnerCause.isInnerCause(t, SparqlTypeErrorException.class)) { // // // trap the type error and filter out the solution // if (log.isInfoEnabled()) // log.info("discarding solution due to type error: " + bs // + " : " + t); // // return false; // // } // // throw new RuntimeException(t); // // } }