org.apache.jena.query.Query.setReduced()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中org.apache.jena.query.Query.setReduced方法的一些代码示例,展示了Query.setReduced的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.setReduced方法的具体详情如下:
包路径:org.apache.jena.query.Query
类名称:Query
方法名:setReduced

Query.setReduced介绍

暂无

代码示例

代码示例来源:origin: apache/jena

/**
 * Set the reduced flag. Set or unset the reduced flag. Will set the reduced
 * flag if it was previously set.
 * 
 * @param state
 *            the state to set the reduced flag to.
 */
public void setReduced(boolean state) {
  query.setReduced(state);
  if (state) {
    query.setDistinct(false);
  }
}

代码示例来源:origin: apache/jena

/**
 * Set the distinct flag. Set or unset the distinct flag. Will set the
 * reduced flag if it was previously set.
 * 
 * @param state
 *            the state to set the distinct flag to.
 */
public void setDistinct(boolean state) {
  query.setDistinct(state);
  if (state) {
    query.setReduced(false);
  }
}

代码示例来源:origin: org.apache.jena/jena-querybuilder

/**
 * Set the distinct flag. Set or unset the distinct flag. Will set the
 * reduced flag if it was previously set.
 * 
 * @param state
 *            the state to set the distinct flag to.
 */
public void setDistinct(boolean state) {
  query.setDistinct(state);
  if (state) {
    query.setReduced(false);
  }
}

代码示例来源:origin: org.apache.jena/jena-querybuilder

/**
 * Set the reduced flag. Set or unset the reduced flag. Will set the reduced
 * flag if it was previously set.
 * 
 * @param state
 *            the state to set the reduced flag to.
 */
public void setReduced(boolean state) {
  query.setReduced(state);
  if (state) {
    query.setDistinct(false);
  }
}

代码示例来源:origin: SmartDataAnalytics/jena-sparql-api

@Override
public void visit(OpReduced opReduced)
{
  query.setReduced(true) ;
  opReduced.getSubOp().visit(this) ;
}

代码示例来源:origin: com.github.galigator.openllet/openllet-jena

q.setReduced( true );

代码示例来源:origin: Galigator/openllet

q.setReduced( true );

代码示例来源:origin: apache/jena

query.setDistinct(true) ;
if ( level.opReduced != null )
  query.setReduced(true) ;

代码示例来源:origin: apache/jena

case REDUCED:
 jj_consume_token(REDUCED);
     getQuery().setReduced(true);
 break;
default:

代码示例来源:origin: apache/jena

case REDUCED:
 jj_consume_token(REDUCED);
     getQuery().setReduced(true);
 break;
default:

代码示例来源:origin: apache/jena

case REDUCED:
 jj_consume_token(REDUCED);
     getQuery().setReduced(true);
 break;
default:

相关文章