本文整理了Java中datawave.webservice.query.Query.getPagesize
方法的一些代码示例,展示了Query.getPagesize
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Query.getPagesize
方法的具体详情如下:
包路径:datawave.webservice.query.Query
类名称:Query
方法名:getPagesize
暂无
代码示例来源:origin: NationalSecurityAgency/datawave
@Override
public String toString() {
String host = System.getProperty("jboss.host.name");
return new StringBuilder().append("host:").append(host).append(", id:").append(this.getSettings().getId()).append(", query:")
.append(StringEscapeUtils.escapeHtml(this.getSettings().getQuery())).append(", auths:")
.append(this.getSettings().getQueryAuthorizations()).append(", user:").append(this.getSettings().getOwner()).append(", queryLogic:")
.append(this.getSettings().getQueryLogicName()).append(", name:").append(this.getSettings().getQueryName()).append(", pagesize:")
.append(this.getSettings().getPagesize()).append(", begin:").append(this.getSettings().getBeginDate()).append(", end:")
.append(this.getSettings().getEndDate()).append(", expiration:").append(this.getSettings().getExpirationDate()).append(", params: ")
.append(this.getSettings().getParameters()).append(", callTime: ")
.append((this.getTimeOfCurrentCall() == 0) ? 0 : System.currentTimeMillis() - this.getTimeOfCurrentCall()).toString();
}
代码示例来源:origin: NationalSecurityAgency/datawave
ps.setString(x++, query.getOwner());
ps.setString(x++, query.getId().toString());
ps.setInt(x++, query.getPagesize());
代码示例来源:origin: NationalSecurityAgency/datawave
this.results = new CompositeQueryLogicResults(Math.min(settings.getPagesize() * 2, 1000), completionLatch);
if (log.isDebugEnabled()) {
log.debug("CompositeQuery initialized with the following queryLogics: ");
代码示例来源:origin: NationalSecurityAgency/datawave
if (currentPageCount >= this.settings.getPagesize()) {
log.info("Query requested page size had been reached, aborting query.next call");
break;
int maxPageSize = Math.min(this.settings.getPagesize(), this.logic.getMaxPageSize());
if (timing != null && currentPageCount > 0 && timing.shouldReturnPartialResults(currentPageCount, maxPageSize, pageTimeInCall)) {
log.info("Query logic max expire before page is full, returning existing results " + currentPageCount + " " + maxPageSize + " "
内容来源于网络,如有侵权,请联系作者删除!