fr.inria.corese.kgram.core.Query.setTransformer()方法的使用及代码示例

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

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

Query.setTransformer介绍

暂无

代码示例

代码示例来源:origin: fr.inria.corese/kgram

  1. public void setTransformer(Object transformer) {
  2. setTransformer(null, transformer);
  3. }

代码示例来源:origin: fr.inria.corese/corese-core

  1. /**
  2. * QueryEngine call complete(q) for all templates
  3. */
  4. public void complete(Query q) {
  5. q.setEnvironment(getTransformerMap());
  6. q.setTransformer(getTransformation(), this);
  7. }

代码示例来源:origin: Wimmics/corese

  1. /**
  2. * QueryEngine call complete(q) for all templates
  3. */
  4. public void complete(Query q) {
  5. q.setEnvironment(getTransformerMap());
  6. q.setTransformer(getTransformation(), this);
  7. }

代码示例来源:origin: fr.inria.corese/kgram

  1. /**
  2. * Use case: PluginImpl kgram()
  3. * Query inherits q transformer information
  4. * @param q
  5. */
  6. public void complete(Query q, Object context){
  7. setEnvironment(q.getEnvironment());
  8. setTransformer(q.getTransformer());
  9. setContext(context);
  10. }

代码示例来源:origin: Wimmics/corese

  1. t = Transformer.create(prod, transform);
  2. complete(q, t, uri);
  3. q.setTransformer(transform, t);
  4. } else if (! current){
  5. Graph g = t.getGraph();

相关文章