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

How to use
readStringArray
method
in
org.elasticsearch.common.io.stream.StreamInput

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

origin: floragunncom/search-guard

@Override
public void readFrom(final StreamInput in) throws IOException {
  super.readFrom(in);
  this.configTypes = in.readStringArray();
}
origin: floragunncom/search-guard

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  updatedConfigTypes = in.readStringArray();
  message = in.readOptionalString();
}
origin: org.elasticsearch/elasticsearch

  @Override
  public Set<String> read(StreamInput in, K key) throws IOException {
    return Collections.unmodifiableSet(new HashSet<>(Arrays.asList(in.readStringArray())));
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  names = in.readStringArray();
}
origin: org.elasticsearch/elasticsearch

  @Override
  public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    types = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    local = in.readBoolean();
    fields = in.readStringArray();
    includeDefaults = in.readBoolean();
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  indices = in.readStringArray();
  aliases = in.readStringArray();
  indicesOptions = IndicesOptions.readIndicesOptions(in);
  if (in.getVersion().onOrAfter(Version.V_6_4_0)) {
    originalAliases = in.readStringArray();
  }
}
origin: org.elasticsearch/elasticsearch

protected BaseTasksRequest(StreamInput in) throws IOException {
  super(in);
  taskId = TaskId.readFromStream(in);
  parentTaskId = TaskId.readFromStream(in);
  nodes = in.readStringArray();
  actions = in.readStringArray();
  timeout = in.readOptionalTimeValue();
}
origin: org.elasticsearch/elasticsearch

/**
 * Deserializes a ScriptException from a {@code StreamInput}
 */
public ScriptException(StreamInput in) throws IOException {
  super(in);
  scriptStack = Arrays.asList(in.readStringArray());
  script = in.readString();
  lang = in.readString();
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  indices = in.readStringArray();
  indicesOptions = IndicesOptions.readIndicesOptions(in);
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  indices = in.readStringArray();
  indicesOptions = IndicesOptions.readIndicesOptions(in);
}
origin: org.elasticsearch/elasticsearch

/**
 * Read from a stream.
 */
protected PipelineAggregator(StreamInput in) throws IOException {
  name = in.readString();
  bucketsPaths = in.readStringArray();
  metaData = in.readMap();
}
origin: org.elasticsearch/elasticsearch

/**
 * Read from a stream.
 */
public InternalBucketMetricValue(StreamInput in) throws IOException {
  super(in);
  format = in.readNamedWriteable(DocValueFormat.class);
  value = in.readDouble();
  keys = in.readStringArray();
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  fields = in.readStringArray();
  if (in.getVersion().onOrAfter(Version.V_5_5_0)) {
    indices = in.readStringArray();
    indicesOptions = IndicesOptions.readIndicesOptions(in);
    mergeResults = in.readBoolean();
  } else {
    mergeResults = true;
  }
}
origin: org.elasticsearch/elasticsearch

  @Override
  public void readFrom(StreamInput in) throws IOException {
    super.readFrom(in);
    indices = in.readStringArray();
    int nStatus = in.readVInt();
    statuses = EnumSet.noneOf(ClusterHealthStatus.class);
    for (int i = 0; i < nStatus; i++) {
      statuses.add(ClusterHealthStatus.fromValue(in.readByte()));
    }
    indicesOptions = IndicesOptions.readIndicesOptions(in);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  repository = in.readString();
  snapshots = in.readStringArray();
  ignoreUnavailable = in.readBoolean();
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  indices = in.readStringArray();
  indicesOptions = IndicesOptions.readIndicesOptions(in);
  names = in.readStringArray();
  humanReadable = in.readBoolean();
  if (in.getVersion().onOrAfter(Version.V_6_4_0)) {
    includeDefaults = in.readBoolean();
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  nodesIds = in.readStringArray();
  concreteNodes = in.readOptionalArray(DiscoveryNode::new, DiscoveryNode[]::new);
  timeout = in.readOptionalTimeValue();
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  fields = in.readStringArray();
  if (in.getVersion().onOrAfter(Version.V_6_2_0)) {
    originalIndices = OriginalIndices.readOriginalIndices(in);
  } else {
    originalIndices = OriginalIndices.NONE;
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  indices = in.readStringArray();
  indicesOptions = IndicesOptions.readIndicesOptions(in);
  if (in.getVersion().onOrAfter(Version.V_6_1_0)) {
    waitForActiveShards = ActiveShardCount.readFrom(in);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void readFrom(StreamInput in) throws IOException {
  super.readFrom(in);
  repository = in.readString();
  snapshots = in.readStringArray();
  ignoreUnavailable = in.readBoolean();
  if (in.getVersion().onOrAfter(VERBOSE_INTRODUCED)) {
    verbose = in.readBoolean();
  }
}
org.elasticsearch.common.io.streamStreamInputreadStringArray

Popular methods of StreamInput

  • readString
  • readVInt
    Reads an int stored in variable-length format. Reads between one and five bytes. Smaller values take
  • readBoolean
  • readOptionalString
  • readVLong
    Reads a long stored in variable-length format. Reads between one and ten bytes. Smaller values take
  • readInt
    Reads four bytes and returns an int.
  • readBytesReference
    Reads a bytes reference from this stream, might hold an actual reference to the underlying bytes of
  • getVersion
    The version of the node on the other side of this stream.
  • readLong
    Reads eight bytes and returns a long.
  • readMap
  • readOptionalWriteable
  • readByte
    Reads and returns a single byte.
  • readOptionalWriteable,
  • readByte,
  • readGenericValue,
  • readNamedWriteable,
  • readBytesRef,
  • readFloat,
  • readOptionalBytesReference,
  • read,
  • readList

Popular in Java

  • Updating database using SQL prepared statement
  • putExtra (Intent)
  • findViewById (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Github Copilot alternatives
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