本文整理汇总了Java中org.elasticsearch.common.io.stream.StreamOutput.writeNullableString方法的典型用法代码示例。如果您正苦于以下问题:Java StreamOutput.writeNullableString方法的具体用法?Java StreamOutput.writeNullableString怎么用?Java StreamOutput.writeNullableString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.elasticsearch.common.io.stream.StreamOutput
的用法示例。
在下文中一共展示了StreamOutput.writeNullableString方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeTo
import org.elasticsearch.common.io.stream.StreamOutput; //导入方法依赖的package包/类
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeNullableString(tenantName);
writeSettingsToStream(transientSettings, out);
writeSettingsToStream(persistentSettings, out);
writeTimeout(out);
out.writeVInt(transientSettingsToRemove.size());
for (String transientSettingName : transientSettingsToRemove) {
out.writeString(transientSettingName);
}
out.writeVInt(persistentSettingsToRemove.size());
for (String persistentSettingName : persistentSettingsToRemove) {
out.writeString(persistentSettingName);
}
}
示例2: writeTo
import org.elasticsearch.common.io.stream.StreamOutput; //导入方法依赖的package包/类
@Override
public void writeTo(StreamOutput out) throws IOException {
out.writeNullableString(loginUsername);
out.writeLong(tenantId);
out.writeNullableString(password);
out.writeNullableString(sourceAddrs);
out.writeNullableString(proxyAddrs);
out.writeBoolean(authenticated);
out.writeBoolean(authorized);
}
示例3: writeTo
import org.elasticsearch.common.io.stream.StreamOutput; //导入方法依赖的package包/类
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeNullableString(nodeIp);
out.writeInt(nodePort);
out.writeNullableString(tenantName);
out.writeInt(operation.getValue());
}
示例4: writeTo
import org.elasticsearch.common.io.stream.StreamOutput; //导入方法依赖的package包/类
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeNullableString(tenantName);
out.writeInt(nodeNum);
out.writeNullableString(password);
}
示例5: writeTo
import org.elasticsearch.common.io.stream.StreamOutput; //导入方法依赖的package包/类
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeNullableString(this.tenantName);
out.writeInt(this.nodeNum);
out.writeNullableString(this.password);
out.writeNullableString(this.instanceList);
}
示例6: writeTo
import org.elasticsearch.common.io.stream.StreamOutput; //导入方法依赖的package包/类
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeNullableString(tenantName);
int indexNum = indices == null ? 0 : indices.length;
out.writeInt(indexNum);
for (int i = 0; i < indexNum; ++i) {
out.writeString(indices[i]);
}
}
示例7: writeTo
import org.elasticsearch.common.io.stream.StreamOutput; //导入方法依赖的package包/类
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeNullableString(tenantName);
}