Package org.openrdf.result.impl

Examples of org.openrdf.result.impl.ModelResultImpl


    }

    flush();
    StatementClient statements = client.statements();
    GraphResult result = statements.get(subj, pred, obj, inf, ctx);
    return new ModelResultImpl(new GraphQueryResultCursor(result));
  }
View Full Code Here


  @Override
  public ModelResult match(Resource subj, URI pred, Value obj, boolean inf, Resource... contexts)
    throws StoreException
  {
    if (signer.isNotSignedBNode(subj, pred, obj, contexts)) {
      return new ModelResultImpl(new EmptyCursor<Statement>());
    }
    return signer.sign(getDelegate().match(s(subj), pred, o(obj), inf, c(contexts)));
  }
View Full Code Here

          cursor = new OffsetCursor<Statement>(cursor, p.getOffset());
        }
        if (p.getLimit() > -1) {
          cursor = new LimitCursor<Statement>(cursor, p.getLimit());
        }
        modelResult = new ModelResultImpl(cursor);
      }

      ModelResultRepresentation result = new ModelResultRepresentation(modelResult, factory, mediaType);
      result.setTrimNamespaces(true);
      return result;
View Full Code Here

   */
  public ModelResult match(Resource subj, URI pred, Value obj, boolean includeInferred, Resource... contexts)
    throws StoreException
  {
    contexts = checkContext(contexts);
    return new ModelResultImpl(selectFromQuadStore(subj, pred, obj, includeInferred, false, contexts));
  }
View Full Code Here

TOP

Related Classes of org.openrdf.result.impl.ModelResultImpl

Copyright © 2018 www.massapicom. 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.