Package org.graphity.processor.query

Examples of org.graphity.processor.query.SelectBuilder


    {
        super.init();

  if (!(getSearchString() == null || getSearchString().isEmpty()) && getMatchedOntClass().hasSuperClass(LDP.Container))
  {
            SelectBuilder selectBuilder = getQueryBuilder().getSubSelectBuilder();
      if (selectBuilder != null)
      {
                selectBuilder.filter(RDFS.label.getLocalName(), getQueryBuilder().quoteRegexMeta(getSearchString())); // escape special regex() characters!
    if (log.isDebugEnabled()) log.debug("Search query: {} QueryBuilder: {}", getSearchString(), getQueryBuilder());
      }
  }
    }
View Full Code Here


     */
    public QueryBuilder setSelectModifiers(QueryBuilder queryBuilder, Long offset, Long limit, String orderBy, Boolean desc)
    {
        if (queryBuilder == null) throw new IllegalArgumentException("QueryBuilder cannot be null");
       
        SelectBuilder selectBuilder = queryBuilder.getSubSelectBuilder();
        if (selectBuilder != null) setSelectModifiers(selectBuilder, offset, limit, orderBy, desc);
       
        return queryBuilder;
    }
View Full Code Here

TOP

Related Classes of org.graphity.processor.query.SelectBuilder

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.