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