|
@@ -2,10 +2,10 @@
|
|
<!-- NewPage -->
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<html lang="en">
|
|
<head>
|
|
<head>
|
|
-<!-- Generated by javadoc (11.0.18) on Fri Jun 30 17:43:58 CST 2023 -->
|
|
|
|
|
|
+<!-- Generated by javadoc (11.0.18) on Wed Aug 09 16:50:51 CST 2023 -->
|
|
<title>MultiConnectParam.Builder</title>
|
|
<title>MultiConnectParam.Builder</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
-<meta name="dc.created" content="2023-06-30">
|
|
|
|
|
|
+<meta name="dc.created" content="2023-08-09">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.min.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery-ui.overrides.css" title="Style">
|
|
@@ -28,7 +28,7 @@
|
|
catch(err) {
|
|
catch(err) {
|
|
}
|
|
}
|
|
//-->
|
|
//-->
|
|
-var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
|
|
|
|
|
|
+var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var rowColor = "rowColor";
|
|
@@ -90,7 +90,7 @@ loadScripts(document, 'script');</script>
|
|
<ul class="subNavList">
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Nested | </li>
|
|
-<li>Field | </li>
|
|
|
|
|
|
+<li><a href="#field.summary">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
</ul>
|
|
@@ -124,10 +124,15 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
<li>java.lang.Object</li>
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<ul class="inheritance">
|
|
|
|
+<li><a href="ConnectParam.Builder.html" title="class in io.milvus.param">io.milvus.param.ConnectParam.Builder</a></li>
|
|
|
|
+<li>
|
|
|
|
+<ul class="inheritance">
|
|
<li>io.milvus.param.MultiConnectParam.Builder</li>
|
|
<li>io.milvus.param.MultiConnectParam.Builder</li>
|
|
</ul>
|
|
</ul>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
<div class="description">
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<li class="blockList">
|
|
@@ -137,7 +142,7 @@ $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
</dl>
|
|
</dl>
|
|
<hr>
|
|
<hr>
|
|
<pre>public static class <span class="typeNameLabel">MultiConnectParam.Builder</span>
|
|
<pre>public static class <span class="typeNameLabel">MultiConnectParam.Builder</span>
|
|
-extends java.lang.Object</pre>
|
|
|
|
|
|
+extends <a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></pre>
|
|
<div class="block">Builder for <a href="MultiConnectParam.html" title="class in io.milvus.param"><code>MultiConnectParam</code></a></div>
|
|
<div class="block">Builder for <a href="MultiConnectParam.html" title="class in io.milvus.param"><code>MultiConnectParam</code></a></div>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
@@ -145,6 +150,23 @@ extends java.lang.Object</pre>
|
|
<div class="summary">
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<li class="blockList">
|
|
|
|
+<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
+<section>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList"><a id="field.summary">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<h3>Field Summary</h3>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList"><a id="fields.inherited.from.class.io.milvus.param.ConnectParam.Builder">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<h3>Fields inherited from class io.milvus.param.<a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></h3>
|
|
|
|
+<code><a href="ConnectParam.Builder.html#secure">secure</a></code></li>
|
|
|
|
+</ul>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+</section>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<section>
|
|
<section>
|
|
<ul class="blockList">
|
|
<ul class="blockList">
|
|
@@ -175,35 +197,70 @@ extends java.lang.Object</pre>
|
|
</tr>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
-<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#secure(boolean)">secure</a></span>​(boolean enable)</code></th>
|
|
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAuthorization(java.lang.String)">withAuthorization</a></span>​(@NonNull java.lang.String authorization)</code></th>
|
|
<td class="colLast">
|
|
<td class="colLast">
|
|
-<div class="block">Enables the secure for client channel.</div>
|
|
|
|
|
|
+<div class="block">Sets the secure for this connection</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
-<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAuthorization(java.lang.String,java.lang.String)">withAuthorization</a></span>​(@NonNull java.lang.String username,
|
|
|
|
- @NonNull java.lang.String password)</code></th>
|
|
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAuthorization(java.lang.String,java.lang.String)">withAuthorization</a></span>​(java.lang.String username,
|
|
|
|
+ java.lang.String password)</code></th>
|
|
<td class="colLast">
|
|
<td class="colLast">
|
|
<div class="block">Sets the username and password for this connection</div>
|
|
<div class="block">Sets the username and password for this connection</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withCaPemPath(java.lang.String)">withCaPemPath</a></span>​(@NonNull java.lang.String caPemPath)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Set the ca.pem path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i5" class="rowColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withClientKeyPath(java.lang.String)">withClientKeyPath</a></span>​(@NonNull java.lang.String clientKeyPath)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Set the client.key path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i6" class="altColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withClientPemPath(java.lang.String)">withClientPemPath</a></span>​(@NonNull java.lang.String clientPemPath)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Set the client.pem path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i7" class="rowColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withConnectTimeout(long,java.util.concurrent.TimeUnit)">withConnectTimeout</a></span>​(long connectTimeout,
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withConnectTimeout(long,java.util.concurrent.TimeUnit)">withConnectTimeout</a></span>​(long connectTimeout,
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
<td class="colLast">
|
|
<td class="colLast">
|
|
<div class="block">Sets the connection timeout value of client channel.</div>
|
|
<div class="block">Sets the connection timeout value of client channel.</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
-<tr id="i5" class="rowColor">
|
|
|
|
|
|
+<tr id="i8" class="altColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withDatabaseName(java.lang.String)">withDatabaseName</a></span>​(@NonNull java.lang.String databaseName)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Sets the database name.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i9" class="rowColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withHost(java.lang.String)">withHost</a></span>​(@NonNull java.lang.String host)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Sets the host name/address.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withHosts(java.util.List)">withHosts</a></span>​(@NonNull java.util.List<<a href="ServerAddress.html" title="class in io.milvus.param">ServerAddress</a>> hosts)</code></th>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withHosts(java.util.List)">withHosts</a></span>​(@NonNull java.util.List<<a href="ServerAddress.html" title="class in io.milvus.param">ServerAddress</a>> hosts)</code></th>
|
|
<td class="colLast">
|
|
<td class="colLast">
|
|
<div class="block">Sets the addresses.</div>
|
|
<div class="block">Sets the addresses.</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
-<tr id="i6" class="altColor">
|
|
|
|
|
|
+<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withIdleTimeout(long,java.util.concurrent.TimeUnit)">withIdleTimeout</a></span>​(long idleTimeout,
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withIdleTimeout(long,java.util.concurrent.TimeUnit)">withIdleTimeout</a></span>​(long idleTimeout,
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
@@ -211,7 +268,7 @@ extends java.lang.Object</pre>
|
|
<div class="block">Sets the idle timeout value of client channel.</div>
|
|
<div class="block">Sets the idle timeout value of client channel.</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
-<tr id="i7" class="rowColor">
|
|
|
|
|
|
+<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeepAliveTime(long,java.util.concurrent.TimeUnit)">withKeepAliveTime</a></span>​(long keepAliveTime,
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeepAliveTime(long,java.util.concurrent.TimeUnit)">withKeepAliveTime</a></span>​(long keepAliveTime,
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
@@ -219,7 +276,7 @@ extends java.lang.Object</pre>
|
|
<div class="block">Sets the keep-alive time value of client channel.</div>
|
|
<div class="block">Sets the keep-alive time value of client channel.</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
-<tr id="i8" class="altColor">
|
|
|
|
|
|
+<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeepAliveTimeout(long,java.util.concurrent.TimeUnit)">withKeepAliveTimeout</a></span>​(long keepAliveTimeout,
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeepAliveTimeout(long,java.util.concurrent.TimeUnit)">withKeepAliveTimeout</a></span>​(long keepAliveTimeout,
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
@@ -227,22 +284,72 @@ extends java.lang.Object</pre>
|
|
<div class="block">Sets the keep-alive timeout value of client channel.</div>
|
|
<div class="block">Sets the keep-alive timeout value of client channel.</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
-<tr id="i9" class="rowColor">
|
|
|
|
|
|
+<tr id="i14" class="altColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withPort(int)">withPort</a></span>​(int port)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Sets the connection port.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withQueryNodeSingleSearch(io.milvus.param.QueryNodeSingleSearch)">withQueryNodeSingleSearch</a></span>​(@NonNull <a href="QueryNodeSingleSearch.html" title="class in io.milvus.param">QueryNodeSingleSearch</a> queryNodeSingleSearch)</code></th>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withQueryNodeSingleSearch(io.milvus.param.QueryNodeSingleSearch)">withQueryNodeSingleSearch</a></span>​(@NonNull <a href="QueryNodeSingleSearch.html" title="class in io.milvus.param">QueryNodeSingleSearch</a> queryNodeSingleSearch)</code></th>
|
|
<td class="colLast">
|
|
<td class="colLast">
|
|
<div class="block">Sets single search for query node listener.</div>
|
|
<div class="block">Sets single search for query node listener.</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
-<tr id="i10" class="altColor">
|
|
|
|
|
|
+<tr id="i16" class="altColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withRpcDeadline(long,java.util.concurrent.TimeUnit)">withRpcDeadline</a></span>​(long deadline,
|
|
|
|
+ @NonNull java.util.concurrent.TimeUnit timeUnit)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Set a deadline for how long you are willing to wait for a reply from the server.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withSecure(boolean)">withSecure</a></span>​(boolean secure)</code></th>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withSecure(boolean)">withSecure</a></span>​(boolean secure)</code></th>
|
|
<td class="colLast">
|
|
<td class="colLast">
|
|
-<div class="block">Sets secure the authorization for this connection</div>
|
|
|
|
|
|
+<div class="block">Sets secure the authorization for this connection, set to True to enable TLS</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i18" class="altColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withServerName(java.lang.String)">withServerName</a></span>​(@NonNull java.lang.String serverName)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Set target name override for SSL host name checking, only takes effect when "secure" is True.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i19" class="rowColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withServerPemPath(java.lang.String)">withServerPemPath</a></span>​(@NonNull java.lang.String serverPemPath)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Set the server.pem path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i20" class="altColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withToken(java.lang.String)">withToken</a></span>​(java.lang.String token)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Sets the token</div>
|
|
|
|
+</td>
|
|
|
|
+</tr>
|
|
|
|
+<tr id="i21" class="rowColor">
|
|
|
|
+<td class="colFirst"><code><a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a></code></td>
|
|
|
|
+<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withUri(java.lang.String)">withUri</a></span>​(java.lang.String uri)</code></th>
|
|
|
|
+<td class="colLast">
|
|
|
|
+<div class="block">Sets the uri</div>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
</table>
|
|
</table>
|
|
<ul class="blockList">
|
|
<ul class="blockList">
|
|
|
|
+<li class="blockList"><a id="methods.inherited.from.class.io.milvus.param.ConnectParam.Builder">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<h3>Methods inherited from class io.milvus.param.<a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></h3>
|
|
|
|
+<code><a href="ConnectParam.Builder.html#secure(boolean)">secure</a>, <a href="ConnectParam.Builder.html#verify()">verify</a></code></li>
|
|
|
|
+</ul>
|
|
|
|
+<ul class="blockList">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
|
<!-- -->
|
|
<!-- -->
|
|
</a>
|
|
</a>
|
|
@@ -299,6 +406,98 @@ extends java.lang.Object</pre>
|
|
</dl>
|
|
</dl>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
|
|
+<a id="withHost(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withHost</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withHost​(@NonNull
|
|
|
|
+ @NonNull java.lang.String host)</pre>
|
|
|
|
+<div class="block">Sets the host name/address.</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withHost(java.lang.String)">withHost</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>host</code> - host name/address</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withPort(int)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withPort</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withPort​(int port)</pre>
|
|
|
|
+<div class="block">Sets the connection port. Port value must be greater than zero and less than 65536.</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withPort(int)">withPort</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>port</code> - port value</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withDatabaseName(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withDatabaseName</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withDatabaseName​(@NonNull
|
|
|
|
+ @NonNull java.lang.String databaseName)</pre>
|
|
|
|
+<div class="block">Sets the database name.</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withDatabaseName(java.lang.String)">withDatabaseName</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>databaseName</code> - databaseName</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withUri(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withUri</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withUri​(java.lang.String uri)</pre>
|
|
|
|
+<div class="block">Sets the uri</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withUri(java.lang.String)">withUri</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>uri</code> - the uri of Milvus instance</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withToken(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withToken</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withToken​(java.lang.String token)</pre>
|
|
|
|
+<div class="block">Sets the token</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withToken(java.lang.String)">withToken</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>token</code> - serving as the key for identification and authentication purposes.</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
<a id="withConnectTimeout(long,java.util.concurrent.TimeUnit)">
|
|
<a id="withConnectTimeout(long,java.util.concurrent.TimeUnit)">
|
|
<!-- -->
|
|
<!-- -->
|
|
</a>
|
|
</a>
|
|
@@ -310,6 +509,8 @@ extends java.lang.Object</pre>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
<div class="block">Sets the connection timeout value of client channel. The timeout value must be greater than zero.</div>
|
|
<div class="block">Sets the connection timeout value of client channel. The timeout value must be greater than zero.</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withConnectTimeout(long,java.util.concurrent.TimeUnit)">withConnectTimeout</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>connectTimeout</code> - timeout value</dd>
|
|
<dd><code>connectTimeout</code> - timeout value</dd>
|
|
<dd><code>timeUnit</code> - timeout unit</dd>
|
|
<dd><code>timeUnit</code> - timeout unit</dd>
|
|
@@ -329,6 +530,8 @@ extends java.lang.Object</pre>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
<div class="block">Sets the keep-alive time value of client channel. The keep-alive value must be greater than zero.</div>
|
|
<div class="block">Sets the keep-alive time value of client channel. The keep-alive value must be greater than zero.</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withKeepAliveTime(long,java.util.concurrent.TimeUnit)">withKeepAliveTime</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>keepAliveTime</code> - keep-alive value</dd>
|
|
<dd><code>keepAliveTime</code> - keep-alive value</dd>
|
|
<dd><code>timeUnit</code> - keep-alive unit</dd>
|
|
<dd><code>timeUnit</code> - keep-alive unit</dd>
|
|
@@ -348,6 +551,8 @@ extends java.lang.Object</pre>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
@NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
<div class="block">Sets the keep-alive timeout value of client channel. The timeout value must be greater than zero.</div>
|
|
<div class="block">Sets the keep-alive timeout value of client channel. The timeout value must be greater than zero.</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withKeepAliveTimeout(long,java.util.concurrent.TimeUnit)">withKeepAliveTimeout</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>keepAliveTimeout</code> - timeout value</dd>
|
|
<dd><code>keepAliveTimeout</code> - timeout value</dd>
|
|
<dd><code>timeUnit</code> - timeout unit</dd>
|
|
<dd><code>timeUnit</code> - timeout unit</dd>
|
|
@@ -365,6 +570,8 @@ extends java.lang.Object</pre>
|
|
<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> keepAliveWithoutCalls​(boolean enable)</pre>
|
|
<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> keepAliveWithoutCalls​(boolean enable)</pre>
|
|
<div class="block">Enables the keep-alive function for client channel.</div>
|
|
<div class="block">Enables the keep-alive function for client channel.</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#keepAliveWithoutCalls(boolean)">keepAliveWithoutCalls</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>enable</code> - true keep-alive</dd>
|
|
<dd><code>enable</code> - true keep-alive</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
@@ -372,17 +579,65 @@ extends java.lang.Object</pre>
|
|
</dl>
|
|
</dl>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
-<a id="secure(boolean)">
|
|
|
|
|
|
+<a id="withIdleTimeout(long,java.util.concurrent.TimeUnit)">
|
|
<!-- -->
|
|
<!-- -->
|
|
</a>
|
|
</a>
|
|
<ul class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<li class="blockList">
|
|
-<h4>secure</h4>
|
|
|
|
-<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> secure​(boolean enable)</pre>
|
|
|
|
-<div class="block">Enables the secure for client channel.</div>
|
|
|
|
|
|
+<h4>withIdleTimeout</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withIdleTimeout​(long idleTimeout,
|
|
|
|
+ @NonNull
|
|
|
|
+ @NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
|
|
+<div class="block">Sets the idle timeout value of client channel. The timeout value must be larger than zero.</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withIdleTimeout(long,java.util.concurrent.TimeUnit)">withIdleTimeout</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
-<dd><code>enable</code> - true keep-alive</dd>
|
|
|
|
|
|
+<dd><code>idleTimeout</code> - timeout value</dd>
|
|
|
|
+<dd><code>timeUnit</code> - timeout unit</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withRpcDeadline(long,java.util.concurrent.TimeUnit)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withRpcDeadline</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withRpcDeadline​(long deadline,
|
|
|
|
+ @NonNull
|
|
|
|
+ @NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
|
|
+<div class="block">Set a deadline for how long you are willing to wait for a reply from the server.
|
|
|
|
+ With a deadline setting, the client will wait when encounter fast RPC fail caused by network fluctuations.
|
|
|
|
+ The deadline value must be larger than or equal to zero. Default value is 0, deadline is disabled.</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withRpcDeadline(long,java.util.concurrent.TimeUnit)">withRpcDeadline</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>deadline</code> - deadline value</dd>
|
|
|
|
+<dd><code>timeUnit</code> - deadline unit</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withAuthorization(java.lang.String,java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withAuthorization</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withAuthorization​(java.lang.String username,
|
|
|
|
+ java.lang.String password)</pre>
|
|
|
|
+<div class="block">Sets the username and password for this connection</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withAuthorization(java.lang.String,java.lang.String)">withAuthorization</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>username</code> - current user</dd>
|
|
|
|
+<dd><code>password</code> - password</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd><code>Builder</code></dd>
|
|
<dd><code>Builder</code></dd>
|
|
</dl>
|
|
</dl>
|
|
@@ -395,8 +650,10 @@ extends java.lang.Object</pre>
|
|
<li class="blockList">
|
|
<li class="blockList">
|
|
<h4>withSecure</h4>
|
|
<h4>withSecure</h4>
|
|
<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withSecure​(boolean secure)</pre>
|
|
<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withSecure​(boolean secure)</pre>
|
|
-<div class="block">Sets secure the authorization for this connection</div>
|
|
|
|
|
|
+<div class="block">Sets secure the authorization for this connection, set to True to enable TLS</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withSecure(boolean)">withSecure</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dd><code>secure</code> - boolean</dd>
|
|
<dd><code>secure</code> - boolean</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
@@ -404,40 +661,116 @@ extends java.lang.Object</pre>
|
|
</dl>
|
|
</dl>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
-<a id="withIdleTimeout(long,java.util.concurrent.TimeUnit)">
|
|
|
|
|
|
+<a id="withAuthorization(java.lang.String)">
|
|
<!-- -->
|
|
<!-- -->
|
|
</a>
|
|
</a>
|
|
<ul class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<li class="blockList">
|
|
-<h4>withIdleTimeout</h4>
|
|
|
|
-<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withIdleTimeout​(long idleTimeout,
|
|
|
|
- @NonNull
|
|
|
|
- @NonNull java.util.concurrent.TimeUnit timeUnit)</pre>
|
|
|
|
-<div class="block">Sets the idle timeout value of client channel. The timeout value must be larger than zero.</div>
|
|
|
|
|
|
+<h4>withAuthorization</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withAuthorization​(@NonNull
|
|
|
|
+ @NonNull java.lang.String authorization)</pre>
|
|
|
|
+<div class="block">Sets the secure for this connection</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withAuthorization(java.lang.String)">withAuthorization</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
-<dd><code>idleTimeout</code> - timeout value</dd>
|
|
|
|
-<dd><code>timeUnit</code> - timeout unit</dd>
|
|
|
|
|
|
+<dd><code>authorization</code> - the authorization info that has included the encoded username and password info</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd><code>Builder</code></dd>
|
|
<dd><code>Builder</code></dd>
|
|
</dl>
|
|
</dl>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
-<a id="withAuthorization(java.lang.String,java.lang.String)">
|
|
|
|
|
|
+<a id="withClientKeyPath(java.lang.String)">
|
|
<!-- -->
|
|
<!-- -->
|
|
</a>
|
|
</a>
|
|
<ul class="blockList">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<li class="blockList">
|
|
-<h4>withAuthorization</h4>
|
|
|
|
-<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withAuthorization​(@NonNull
|
|
|
|
- @NonNull java.lang.String username,
|
|
|
|
- @NonNull
|
|
|
|
- @NonNull java.lang.String password)</pre>
|
|
|
|
-<div class="block">Sets the username and password for this connection</div>
|
|
|
|
|
|
+<h4>withClientKeyPath</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withClientKeyPath​(@NonNull
|
|
|
|
+ @NonNull java.lang.String clientKeyPath)</pre>
|
|
|
|
+<div class="block">Set the client.key path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withClientKeyPath(java.lang.String)">withClientKeyPath</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
|
-<dd><code>username</code> - current user</dd>
|
|
|
|
-<dd><code>password</code> - password</dd>
|
|
|
|
|
|
+<dd><code>clientKeyPath</code> - path of client.key</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withClientPemPath(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withClientPemPath</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withClientPemPath​(@NonNull
|
|
|
|
+ @NonNull java.lang.String clientPemPath)</pre>
|
|
|
|
+<div class="block">Set the client.pem path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withClientPemPath(java.lang.String)">withClientPemPath</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>clientPemPath</code> - path of client.pem</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withCaPemPath(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withCaPemPath</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withCaPemPath​(@NonNull
|
|
|
|
+ @NonNull java.lang.String caPemPath)</pre>
|
|
|
|
+<div class="block">Set the ca.pem path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withCaPemPath(java.lang.String)">withCaPemPath</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>caPemPath</code> - path of ca.pem</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withServerPemPath(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withServerPemPath</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withServerPemPath​(@NonNull
|
|
|
|
+ @NonNull java.lang.String serverPemPath)</pre>
|
|
|
|
+<div class="block">Set the server.pem path for tls two-way authentication, only takes effect when "secure" is True.</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withServerPemPath(java.lang.String)">withServerPemPath</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>serverPemPath</code> - path of server.pem</dd>
|
|
|
|
+<dt><span class="returnLabel">Returns:</span></dt>
|
|
|
|
+<dd><code>Builder</code></dd>
|
|
|
|
+</dl>
|
|
|
|
+</li>
|
|
|
|
+</ul>
|
|
|
|
+<a id="withServerName(java.lang.String)">
|
|
|
|
+<!-- -->
|
|
|
|
+</a>
|
|
|
|
+<ul class="blockList">
|
|
|
|
+<li class="blockList">
|
|
|
|
+<h4>withServerName</h4>
|
|
|
|
+<pre class="methodSignature">public <a href="MultiConnectParam.Builder.html" title="class in io.milvus.param">MultiConnectParam.Builder</a> withServerName​(@NonNull
|
|
|
|
+ @NonNull java.lang.String serverName)</pre>
|
|
|
|
+<div class="block">Set target name override for SSL host name checking, only takes effect when "secure" is True.
|
|
|
|
+ Note: this value is passed to grpc.ssl_target_name_override</div>
|
|
|
|
+<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#withServerName(java.lang.String)">withServerName</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
|
|
+<dt><span class="paramLabel">Parameters:</span></dt>
|
|
|
|
+<dd><code>serverName</code> - path of server.pem</dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd><code>Builder</code></dd>
|
|
<dd><code>Builder</code></dd>
|
|
</dl>
|
|
</dl>
|
|
@@ -453,6 +786,8 @@ extends java.lang.Object</pre>
|
|
throws <a href="../exception/ParamException.html" title="class in io.milvus.exception">ParamException</a></pre>
|
|
throws <a href="../exception/ParamException.html" title="class in io.milvus.exception">ParamException</a></pre>
|
|
<div class="block">Verifies parameters and creates a new <a href="MultiConnectParam.html" title="class in io.milvus.param"><code>MultiConnectParam</code></a> instance.</div>
|
|
<div class="block">Verifies parameters and creates a new <a href="MultiConnectParam.html" title="class in io.milvus.param"><code>MultiConnectParam</code></a> instance.</div>
|
|
<dl>
|
|
<dl>
|
|
|
|
+<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
|
|
+<dd><code><a href="ConnectParam.Builder.html#build()">build</a></code> in class <code><a href="ConnectParam.Builder.html" title="class in io.milvus.param">ConnectParam.Builder</a></code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd><a href="MultiConnectParam.html" title="class in io.milvus.param"><code>MultiConnectParam</code></a></dd>
|
|
<dd><a href="MultiConnectParam.html" title="class in io.milvus.param"><code>MultiConnectParam</code></a></dd>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
|
@@ -512,7 +847,7 @@ extends java.lang.Object</pre>
|
|
<ul class="subNavList">
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Nested | </li>
|
|
-<li>Field | </li>
|
|
|
|
|
|
+<li><a href="#field.summary">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
</ul>
|