datawave.webservice.query.Query.toMap()方法的使用及代码示例

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

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

Query.toMap介绍

暂无

代码示例

代码示例来源:origin: NationalSecurityAgency/datawave

/**
 * Constructor
 * 
 * @param settings
 *            criteria for an existing query
 */
public AbstractUUIDLookupCriteria(final Query settings) {
  if (null != settings) {
    this.queryParameters = settings.toMap();
  }
}

代码示例来源:origin: NationalSecurityAgency/datawave

MultivaluedMap<String,String> newSettings = q.toMap();
newSettings.putSingle(QueryParameters.QUERY_PERSISTENCE, persistence.name());
return createQuery(q.getQueryLogicName(), newSettings);

代码示例来源:origin: NationalSecurityAgency/datawave

if (!auditType.equals(AuditType.NONE)) {
  try {
    auditor.audit(duplicate.toMap());
  } catch (IllegalArgumentException e) {
    log.error("Error validating audit parameters", e);

代码示例来源:origin: NationalSecurityAgency/datawave

auditMessage.append(" original query: ").append(query.getQuery());
auditMessage.append(", secondary query: ").append(sqlQuery);
MultivaluedMap<String,String> params = query.toMap();
marking.validate(params);
PrivateAuditConstants.stripPrivateParameters(queryParameters);

代码示例来源:origin: NationalSecurityAgency/datawave

if (!auditType.equals(AuditType.NONE)) {
  try {
    MultivaluedMap<String,String> queryMap = q.toMap();
    marking.validate(queryMap);
    queryMap.putSingle(PrivateAuditConstants.COLUMN_VISIBILITY, marking.toColumnVisibilityString());

代码示例来源:origin: NationalSecurityAgency/datawave

} else {
  AuditType auditType = query.getLogic().getAuditType(query.getSettings());
  MultivaluedMap<String,String> queryParameters = query.getSettings().toMap();

相关文章