org.elasticsearch.index.Index.writeTo()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(5.3k)|赞(0)|评价(0)|浏览(144)

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

Index.writeTo介绍

暂无

代码示例

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shardId);
}

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

@Override
public void writeTo(final StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeLong(deleteDateInMillis);
}

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  stats.writeTo(out);
  out.writeBoolean(statsByShard != null);
  if (statsByShard != null) {
    out.writeVInt(statsByShard.size());
    for (Map.Entry<Index, List<IndexShardStats>> entry : statsByShard.entrySet()) {
      entry.getKey().writeTo(out);
      out.writeVInt(entry.getValue().size());
      for (IndexShardStats indexShardStats : entry.getValue()) {
        indexShardStats.writeTo(out);
      }
    }
  }
}

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shards.size());
  for (IndexShardRoutingTable indexShard : this) {
    IndexShardRoutingTable.Builder.writeToThin(indexShard, out);
  }
}

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

public static void writeTo(IndexShardRoutingTable indexShard, StreamOutput out) throws IOException {
  indexShard.shardId().getIndex().writeTo(out);
  writeToThin(indexShard, out);
}

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shardId);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shardId);
}

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shardId);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

@Override
public void writeTo(final StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeLong(deleteDateInMillis);
}

代码示例来源:origin: apache/servicemix-bundles

@Override
public void writeTo(final StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeLong(deleteDateInMillis);
}

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

@Override
public void writeTo(final StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeLong(deleteDateInMillis);
}

代码示例来源:origin: apache/servicemix-bundles

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shardId);
}

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  stats.writeTo(out);
  out.writeBoolean(statsByShard != null);
  if (statsByShard != null) {
    out.writeVInt(statsByShard.size());
    for (Map.Entry<Index, List<IndexShardStats>> entry : statsByShard.entrySet()) {
      entry.getKey().writeTo(out);
      out.writeVInt(entry.getValue().size());
      for (IndexShardStats indexShardStats : entry.getValue()) {
        indexShardStats.writeTo(out);
      }
    }
  }
}

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  stats.writeTo(out);
  out.writeBoolean(statsByShard != null);
  if (statsByShard != null) {
    out.writeVInt(statsByShard.size());
    for (Map.Entry<Index, List<IndexShardStats>> entry : statsByShard.entrySet()) {
      entry.getKey().writeTo(out);
      out.writeVInt(entry.getValue().size());
      for (IndexShardStats indexShardStats : entry.getValue()) {
        indexShardStats.writeTo(out);
      }
    }
  }
}

代码示例来源:origin: apache/servicemix-bundles

@Override
public void writeTo(StreamOutput out) throws IOException {
  stats.writeTo(out);
  out.writeBoolean(statsByShard != null);
  if (statsByShard != null) {
    out.writeVInt(statsByShard.size());
    for (Map.Entry<Index, List<IndexShardStats>> entry : statsByShard.entrySet()) {
      entry.getKey().writeTo(out);
      out.writeVInt(entry.getValue().size());
      for (IndexShardStats indexShardStats : entry.getValue()) {
        indexShardStats.writeTo(out);
      }
    }
  }
}

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

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shards.size());
  for (IndexShardRoutingTable indexShard : this) {
    IndexShardRoutingTable.Builder.writeToThin(indexShard, out);
  }
}

代码示例来源:origin: apache/servicemix-bundles

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shards.size());
  for (IndexShardRoutingTable indexShard : this) {
    IndexShardRoutingTable.Builder.writeToThin(indexShard, out);
  }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  index.writeTo(out);
  out.writeVInt(shards.size());
  for (IndexShardRoutingTable indexShard : this) {
    IndexShardRoutingTable.Builder.writeToThin(indexShard, out);
  }
}

代码示例来源:origin: apache/servicemix-bundles

public static void writeTo(IndexShardRoutingTable indexShard, StreamOutput out) throws IOException {
  indexShard.shardId().getIndex().writeTo(out);
  writeToThin(indexShard, out);
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch

public static void writeTo(IndexShardRoutingTable indexShard, StreamOutput out) throws IOException {
  indexShard.shardId().getIndex().writeTo(out);
  writeToThin(indexShard, out);
}

相关文章