org.elasticsearch.script.Script.readScript()方法的使用及代码示例

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

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

Script.readScript介绍

暂无

代码示例

代码示例来源:origin: harbby/presto-connectors

@Override
public SignificanceHeuristic readResult(StreamInput in) throws IOException {
  Script script = Script.readScript(in);
  return new ScriptHeuristic(null, script);
}

代码示例来源:origin: org.elasticsearch.module/reindex

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  if (in.readBoolean()) {
    script = Script.readScript(in);
  }
}

代码示例来源:origin: harbby/presto-connectors

@SuppressWarnings("unchecked")
@Override
protected void doReadFrom(StreamInput in) throws IOException {
  script = Script.readScript(in);
  gapPolicy = GapPolicy.readFrom(in);
  bucketsPathsMap = (Map<String, String>) in.readGenericValue();
}

代码示例来源:origin: com.strapdata.elasticsearch.module/reindex

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  if (in.readBoolean()) {
    script = Script.readScript(in);
  }
}

代码示例来源:origin: harbby/presto-connectors

@Override
protected void doReadFrom(StreamInput in) throws IOException {
  if (in.readBoolean()) {
    reduceScript = Script.readScript(in);
  }
  aggregation = in.readGenericValue();
}

代码示例来源:origin: harbby/presto-connectors

@SuppressWarnings("unchecked")
@Override
protected void doReadFrom(StreamInput in) throws IOException {
  script = Script.readScript(in);
  formatter = ValueFormatterStreams.readOptional(in);
  gapPolicy = GapPolicy.readFrom(in);
  bucketsPathsMap = (Map<String, String>) in.readGenericValue();
}

代码示例来源:origin: harbby/presto-connectors

parent = in.readOptionalString();
if (in.readBoolean()) {
  script = Script.readScript(in);

相关文章