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