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

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

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

Refine searchRefine arrow

  • StreamOutput.writeString
  • StreamOutput.writeVInt
  • StreamOutput.writeOptionalString
  • StreamOutput.getVersion
origin: floragunncom/search-guard

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeString(dn);
  out.writeBoolean(isAdmin);
  out.writeBoolean(isAuthenticated);
  out.writeBoolean(isNodeCertificateRequest);
}
origin: floragunncom/search-guard

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeString(uid);
  out.writeEnum(type);
  out.writeString(issueDate);
  out.writeString(expiryDate);
  out.writeString(issuedTo);
  out.writeString(issuer);
  out.writeString(startDate);
  out.writeOptionalVInt(majorVersion);
  out.writeString(clusterName);
  out.writeInt(allowedNodeCount);
  out.writeStringList(msgs);
  out.writeLong(expiresInDays);
  out.writeBoolean(isExpired);
  out.writeBoolean(valid);
  out.writeString(action);
  out.writeString(prodUsage);
  out.writeArray(StreamOutput::writeEnum, features==null?new Feature[0]:features);
}

origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeBoolean(transpositions);
  out.writeBoolean(unicodeAware);
  out.writeVInt(editDistance);
  out.writeVInt(fuzzyMinLength);
  out.writeVInt(fuzzyPrefixLength);
  out.writeVInt(maxDeterminizedStates);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeNamedWriteable(query);
  out.writeVInt(types.length);
  for (String type : types) {
    out.writeString(type);
  }
  out.writeBoolean(explain);
  out.writeBoolean(rewrite);
  if (out.getVersion().onOrAfter(Version.V_5_4_0)) {
    out.writeBoolean(allShards);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeString(index);
  out.writeVInt(shardId);
  out.writeString(node);
  out.writeBoolean(allowPrimary);
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  if (seed != null) {
    out.writeBoolean(true);
    out.writeInt(seed);
  } else {
    out.writeBoolean(false);
  }
  if (out.getVersion().onOrAfter(Version.V_6_0_0_beta1)) {
    out.writeOptionalString(field);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  shardRouting.writeTo(out);
  commonStats.writeTo(out);
  out.writeOptionalStreamable(commitStats);
  out.writeString(statePath);
  out.writeString(dataPath);
  out.writeBoolean(isCustomDataPath);
  if (out.getVersion().onOrAfter(Version.V_6_0_0_alpha1)) {
    out.writeOptionalWriteable(seqNoStats);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
protected void doWriteTo(StreamOutput out) throws IOException {
  out.writeOptionalString(encoder);
  out.writeBoolean(useExplicitFieldOrder);
  out.writeList(fields);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeOptionalString(preference);
  out.writeBoolean(refresh);
  out.writeBoolean(realtime);
  out.writeVInt(items.size());
  for (Item item : items) {
    item.writeTo(out);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeString(snapshot);
  out.writeString(repository);
  out.writeStringArray(indices);
  indicesOptions.writeIndicesOptions(out);
  out.writeOptionalString(renamePattern);
  out.writeOptionalString(renameReplacement);
  out.writeBoolean(waitForCompletion);
  out.writeBoolean(includeGlobalState);
  out.writeBoolean(partial);
  out.writeBoolean(includeAliases);
  writeSettingsToStream(settings, out);
  writeSettingsToStream(indexSettings, out);
  out.writeStringArray(ignoreIndexSettings);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeVInt(features.length);
  for (Feature feature : features) {
    out.writeByte(feature.id);
  }
  out.writeBoolean(humanReadable);
  if (out.getVersion().onOrAfter(Version.V_6_4_0)) {
    out.writeBoolean(includeDefaults);
  }
}
origin: org.elasticsearch/elasticsearch

  @Override
  public void writeTo(StreamOutput out) throws IOException {
    super.writeTo(out);
    out.writeString(repository);
    out.writeStringArray(snapshots);
    out.writeBoolean(ignoreUnavailable);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeStringArrayNullable(indices);
  indicesOptions.writeIndicesOptions(out);
  out.writeOptionalString(type);
  out.writeString(source);
  out.writeBoolean(updateAllTypes);
  out.writeOptionalWriteable(concreteIndex);
}
origin: org.elasticsearch/elasticsearch

@Override
protected void writeAdditionalFields(StreamOutput out) throws IOException {
  if (out.getVersion().onOrAfter(Version.V_6_5_0)) {
    out.writeBoolean(bootstrapNewHistoryUUID);
  }
}
origin: org.elasticsearch/elasticsearch

  @Override
  public void writeTo(StreamOutput out) throws IOException {
    super.writeTo(out);
    out.writeString(repository);
    out.writeStringArray(snapshots);
    out.writeBoolean(ignoreUnavailable);
    if (out.getVersion().onOrAfter(VERBOSE_INTRODUCED)) {
      out.writeBoolean(verbose);
    }
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeString(name);
  out.writeString(type);
  out.writeBoolean(isSearchable);
  out.writeBoolean(isAggregatable);
  out.writeOptionalStringArray(indices);
  out.writeOptionalStringArray(nonSearchableIndices);
  out.writeOptionalStringArray(nonAggregatableIndices);
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeStringArray(text);
  out.writeOptionalString(analyzer);
  out.writeOptionalWriteable(tokenizer);
  out.writeList(tokenFilters);
  out.writeList(charFilters);
  out.writeOptionalString(field);
  out.writeBoolean(explain);
  out.writeStringArray(attributes);
  if (out.getVersion().onOrAfter(Version.V_6_0_0_beta1)) {
    out.writeOptionalString(normalizer);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  super.writeTo(out);
  out.writeStringArray(indices);
  indicesOptions.writeIndicesOptions(out);
  out.writeStringArray(names);
  out.writeBoolean(humanReadable);
  if (out.getVersion().onOrAfter(Version.V_6_4_0)) {
    out.writeBoolean(includeDefaults);
  }
}
origin: org.elasticsearch/elasticsearch

  @Override
  public void writeTo(StreamOutput out) throws IOException {
    super.writeTo(out);
    out.writeBoolean(queryCache);
    out.writeBoolean(fieldDataCache);
    if (out.getVersion().before(Version.V_6_0_0_beta1)) {
      out.writeBoolean(false); // recycler
    }
    out.writeStringArrayNullable(fields);
    out.writeBoolean(requestCache);
  }
}
origin: org.elasticsearch/elasticsearch

@Override
public void writeTo(StreamOutput out) throws IOException {
  out.writeVInt(id);
  out.writeString(description);
  out.writeVInt(levels.size());
  for (ClusterBlockLevel level : levels) {
    out.writeEnum(level);
  }
  out.writeBoolean(retryable);
  out.writeBoolean(disableStatePersistence);
  RestStatus.writeTo(out, status);
  if (out.getVersion().onOrAfter(Version.V_5_5_0)) {
    out.writeBoolean(allowReleaseResources);
  }
}
org.elasticsearch.common.io.streamStreamOutputwriteBoolean

Javadoc

Writes a boolean.

Popular methods of StreamOutput

  • writeString
  • writeVInt
    Writes an int in a variable-length format. Writes between one and five bytes. Smaller values take fe
  • 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
  • writeOptionalWriteable
  • writeGenericValue,
  • writeOptionalWriteable,
  • writeByte,
  • writeFloat,
  • writeOptionalStreamable,
  • writeOptionalBytesReference,
  • write,
  • writeNamedWriteable,
  • writeStringArrayNullable

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (Timer)
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top 12 Jupyter Notebook extensions
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