@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeString(dn); out.writeBoolean(isAdmin); out.writeBoolean(isAuthenticated); out.writeBoolean(isNodeCertificateRequest); }
@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); }
@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); }
@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); } }
@Override public void writeTo(StreamOutput out) throws IOException { out.writeString(index); out.writeVInt(shardId); out.writeString(node); out.writeBoolean(allowPrimary); }
@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); } }
@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); } }
@Override protected void doWriteTo(StreamOutput out) throws IOException { out.writeOptionalString(encoder); out.writeBoolean(useExplicitFieldOrder); out.writeList(fields); }
@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); } }
@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); }
@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); } }
@Override public void writeTo(StreamOutput out) throws IOException { super.writeTo(out); out.writeString(repository); out.writeStringArray(snapshots); out.writeBoolean(ignoreUnavailable); } }
@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); }
@Override protected void writeAdditionalFields(StreamOutput out) throws IOException { if (out.getVersion().onOrAfter(Version.V_6_5_0)) { out.writeBoolean(bootstrapNewHistoryUUID); } }
@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); } } }
@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); }
@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); } }
@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); } }
@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); } }
@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); } }