本文整理匯總了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);
}