congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
StreamOutput.writeList
Code IndexAdd Tabnine to your IDE (free)

How to use
writeList
method
in
org.elasticsearch.common.io.stream.StreamOutput

Best Java code snippets using org.elasticsearch.common.io.stream.StreamOutput.writeList (Showing top 20 results out of 315)

origin: floragunncom/search-guard

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeOptionalWriteable(license);
  out.writeList(new LinkedList<>(modules));
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeList(plugins);
  out.writeList(modules);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeList(entries);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(final StreamOutput out) throws IOException {
  out.writeList(added);
  out.writeVInt(removedCount);
}
origin: org.elasticsearch/elasticsearch

  @Override
  public void writeTo(StreamOutput out) throws IOException {
    super.writeTo(out);
    out.writeList(snapshots);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeList(tasks);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeList(allAliasActions);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeList(infos);
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  out.writeNamedWriteable(format);
  out.writeBoolean(keyed);
  out.writeList(buckets);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  if (out.getVersion().onOrAfter(Version.V_6_4_0)) {
    out.writeList(getNodes());
  } else {
    clusterName.writeTo(out);
    out.writeList(nodes);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  out.writeList(sorts);
  out.writeVInt(from);
  out.writeOptionalVInt(size);
  gapPolicy.writeTo(out);
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  out.writeList(sorts);
  out.writeVInt(from);
  out.writeOptionalVInt(size);
  gapPolicy.writeTo(out);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  clusterName.writeTo(out);
  writeNodesTo(out, nodes);
  out.writeList(failures);
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  bucketInfo.writeTo(out);
  out.writeNamedWriteable(format);
  out.writeList(buckets);
  out.writeVInt(targetBuckets);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeMap(responseMap, StreamOutput::writeString, FieldCapabilitiesResponse::writeField);
  if (out.getVersion().onOrAfter(Version.V_5_5_0)) {
    out.writeList(indexResponses);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
protected final void writeTermTypeInfoTo(StreamOutput out) throws IOException {
  out.writeNamedWriteable(format);
  out.writeVLong(subsetSize);
  out.writeVLong(supersetSize);
  out.writeNamedWriteable(significanceHeuristic);
  out.writeList(buckets);
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  InternalOrder.Streams.writeHistogramOrder(order, out, false);
  out.writeVLong(minDocCount);
  if (minDocCount == 0) {
    emptyBucketInfo.writeTo(out);
  }
  out.writeNamedWriteable(format);
  out.writeBoolean(keyed);
  out.writeList(buckets);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeVLong(heapCommitted);
  out.writeVLong(heapUsed);
  out.writeVLong(nonHeapCommitted);
  out.writeVLong(nonHeapUsed);
  out.writeVLong(heapMax);
  out.writeList(pools);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeVLong(timestamp);
  out.writeVLong(uptime);
  mem.writeTo(out);
  threads.writeTo(out);
  gc.writeTo(out);
  out.writeList(bufferPools);
  classes.writeTo(out);
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  InternalOrder.Streams.writeHistogramOrder(order, out, false);
  out.writeVLong(minDocCount);
  if (minDocCount == 0) {
    emptyBucketInfo.writeTo(out);
  }
  out.writeLong(offset);
  out.writeNamedWriteable(format);
  out.writeBoolean(keyed);
  out.writeList(buckets);
}
org.elasticsearch.common.io.streamStreamOutputwriteList

Javadoc

Writes a list of Writeable objects

Popular methods of StreamOutput

  • writeString
  • writeVInt
    Writes an int in a variable-length format. Writes between one and five bytes. Smaller values take fe
  • writeBoolean
    Writes a boolean.
  • writeOptionalString
  • writeVLong
    Writes a non-negative long in a variable-length format. Writes between one and ten bytes. Smaller va
  • writeInt
    Writes an int as four bytes.
  • getVersion
    The version of the node on the other side of this stream.
  • writeBytesReference
    Writes the bytes reference, including a length header.
  • writeLong
    Writes a long as eight bytes.
  • writeMap
    Write a Map of K-type keys to V-type. Map map = ...; out.writeMap(map, StreamOutpu
  • writeStringArray
  • writeGenericValue
    Notice: when serialization a map, the stream out map with the stream in map maybe have the different
  • writeStringArray,
  • writeGenericValue,
  • writeOptionalWriteable,
  • writeByte,
  • writeFloat,
  • writeOptionalStreamable,
  • writeOptionalBytesReference,
  • write,
  • writeNamedWriteable,
  • writeStringArrayNullable

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now