io.ebean.Query.setDisableReadAuditing()方法的使用及代码示例

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

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

Query.setDisableReadAuditing介绍

[英]Disable read auditing for this query.

This is intended to be used when the query is not a user initiated query and instead part of the internal processing in an application to load a cache or document store etc. In these cases we don't want the query to be part of read auditing.
[中]禁用此查询的读取审核。
当查询不是用户发起的查询,而是应用程序中加载缓存或文档存储等的内部处理的一部分时,可以使用此选项。在这种情况下,我们不希望查询成为读取审核的一部分。

代码示例

代码示例来源:origin: ebean-orm/ebean

@Override
public Query<T> setDisableReadAuditing() {
 return query.setDisableReadAuditing();
}

代码示例来源:origin: org.actframework/act-ebean

@Override
public EbeanQuery<MODEL_TYPE> setDisableReadAuditing() {
  q.setDisableReadAuditing();
  qReadOnly.setDisableReadAuditing();
  return this;
}

代码示例来源:origin: org.actframework/act-ebean2

@Override
public EbeanQuery<MODEL_TYPE> setDisableReadAuditing() {
  q.setDisableReadAuditing();
  return this;
}

代码示例来源:origin: io.ebean/ebean-querybean

/**
 * Disable read auditing for this query.
 * <p>
 * This is intended to be used when the query is not a user initiated query and instead
 * part of the internal processing in an application to load a cache or document store etc.
 * In these cases we don't want the query to be part of read auditing.
 * </p>
 */
public R setDisableReadAuditing() {
 query.setDisableReadAuditing();
 return root;
}

代码示例来源:origin: io.ebean/ebean

@Override
public Query<T> setDisableReadAuditing() {
 return query.setDisableReadAuditing();
}

代码示例来源:origin: icode/ameba

/**
 * {@inheritDoc}
 */
@Override
public Query<T> setDisableReadAuditing() {
  return query().setDisableReadAuditing();
}

相关文章

Query类方法